Line | |
---|
1 | #ifndef MARS_MSimRandomPhotons
|
---|
2 | #define MARS_MSimRandomPhotons
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MGeomCam;
|
---|
9 | class MParList;
|
---|
10 | class MPhotonEvent;
|
---|
11 | class MPhotonStatistics;
|
---|
12 | //class MCorsikaEvtHeader;
|
---|
13 | class MCorsikaRunHeader;
|
---|
14 |
|
---|
15 | class MSimRandomPhotons : public MTask
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | MGeomCam *fGeom; //! container with the geometry
|
---|
19 | MPhotonEvent *fEvt; //! Event storing the photons
|
---|
20 | MPhotonStatistics *fStat; //! Container storing evenet statistics
|
---|
21 | // MCorsikaEvtHeader *fEvtHeader; //! Header storing event information
|
---|
22 | MCorsikaRunHeader *fRunHeader; //! Header storing run information
|
---|
23 |
|
---|
24 |
|
---|
25 | // FIXME: Make this a single number per Pixel/APD
|
---|
26 | Double_t fFreqFixed; // [1/ns] A fixed frequency per pixel
|
---|
27 | Double_t fFreqNSB; // [1/ns/cm^2] A frequency depending on area
|
---|
28 |
|
---|
29 | Bool_t fSimulateWavelength;
|
---|
30 |
|
---|
31 | TString fNameGeomCam;
|
---|
32 |
|
---|
33 | // MTask
|
---|
34 | Int_t PreProcess(MParList *pList);
|
---|
35 | Int_t Process();
|
---|
36 |
|
---|
37 | // MParContainer
|
---|
38 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
|
---|
39 |
|
---|
40 | public:
|
---|
41 | MSimRandomPhotons(const char *name=NULL, const char *title=NULL);
|
---|
42 |
|
---|
43 | void SetFreq(Float_t fnsb, Float_t fdc) { fFreqNSB=fnsb; fFreqFixed=fdc; }
|
---|
44 |
|
---|
45 | void SetNameGeomCam(const char *name="MGeomCam") { fNameGeomCam = name; }
|
---|
46 |
|
---|
47 | ClassDef(MSimRandomPhotons, 0) // Simulate possonian photons (like NSB or dark current)
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.