source: trunk/Mars/msim/MSimAtmosphere.h@ 19344

Last change on this file since 19344 was 18548, checked in by tbretz, 8 years ago
If the CEFFIC option is enables and the user has not requested execution explicitly, it is skipped.
File size: 1.1 KB
Line 
1#ifndef MARS_MSimAtmosphere
2#define MARS_MSimAtmosphere
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MAtmosphere;
10class MPhotonEvent;
11class MCorsikaRunHeader;
12
13class MSimAtmosphere : public MTask
14{
15private:
16 MCorsikaRunHeader *fRunHeader; //! Corsika run header
17 MPhotonEvent *fEvt; //! Event stroing the photons
18
19 MAtmosphere *fAtmosphere; //! Instance of class describing atmosphere
20
21 TString fFileAerosols; // Name of file with aersole absorption
22 TString fFileOzone; // Name of file with ozone absorption
23
24 Bool_t fForce; // Force execution in case efficiencies are already included (CEFFIC)
25
26 // MParContainer
27 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
28
29 // MTask
30 Int_t PreProcess(MParList *pList);
31 Bool_t ReInit(MParList *pList);
32 Int_t Process();
33
34public:
35 MSimAtmosphere(const char *name=NULL, const char *title=NULL);
36 ~MSimAtmosphere();
37
38 ClassDef(MSimAtmosphere, 0) // Simulate the wavelength and height-dependant atmpsheric absorption
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.