source: branches/removing_cpp11_features/msim/MSimAbsorption.h@ 19696

Last change on this file since 19696 was 9425, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MSimAbsorption
2#define MARS_MSimAbsorption
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MParSpline;
10class MPhotonEvent;
11class MCorsikaEvtHeader;
12
13class MSimAbsorption : public MTask
14{
15private:
16 MPhotonEvent *fEvt; //! Event stroing the photons
17 MCorsikaEvtHeader *fHeader; //! Header storing event information
18
19 MParSpline *fSpline; //! Spline to interpolate wavelength or incident angle
20
21 TString fParName; // Container name of the spline containing the curve
22 Bool_t fUseTheta; // Switches between using wavelength or incident angle
23
24 // MParContainer
25 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
26
27 // MTask
28 Int_t PreProcess(MParList *pList);
29 Bool_t ReInit(MParList *pList);
30 Int_t Process();
31
32public:
33 MSimAbsorption(const char *name=NULL, const char *title=NULL);
34
35 // MSimAbsorption
36 void SetParName(const char *name) { fParName=name; }
37
38 void SetUseTheta(Bool_t b=kTRUE) { fUseTheta = b; }
39
40 ClassDef(MSimAbsorption, 0) // Task to calculate wavelength or incident angle dependent absorption
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.