1 | #ifndef MARS_MMcRunHeader
|
---|
2 | #define MARS_MMcRunHeader
|
---|
3 | ///////////////////////////////////////////////////////////////////////
|
---|
4 | // //
|
---|
5 | // MRunHeader //
|
---|
6 | // //
|
---|
7 | ///////////////////////////////////////////////////////////////////////
|
---|
8 |
|
---|
9 | #ifndef MARS_MParContainer
|
---|
10 | #include "MParContainer.h"
|
---|
11 | #endif
|
---|
12 |
|
---|
13 |
|
---|
14 | class MMcRunHeader : public MParContainer
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | /* ---- Run Header Informations ---- */
|
---|
18 | UInt_t fNumTrigCond; // Number of trigger conditions in this file,
|
---|
19 | // zero means single condition mode
|
---|
20 |
|
---|
21 | //-- 0 means: MMcTrig
|
---|
22 | //-- 1 means: MMcTrig;1
|
---|
23 | //-- 2 means: MMcTrig;1 MMcTrig;2
|
---|
24 |
|
---|
25 | Byte_t fAllEvtsTriggered; // boolean that indicates is all images are
|
---|
26 | // saved or only the ones that trigger
|
---|
27 |
|
---|
28 | Byte_t fMcEvt; // McEvt stored or not
|
---|
29 | Byte_t fMcTrig; // McTrig stored or not
|
---|
30 | Byte_t fMcFadc; // McFadc stored or not
|
---|
31 |
|
---|
32 | Int_t fNumAnalisedPixels; // Number of analised pixels
|
---|
33 |
|
---|
34 | UInt_t fNumSimulatedShowers; // Number of showers that were simualted
|
---|
35 | UInt_t fNumStoredShowers; // Number of store showers in this run
|
---|
36 |
|
---|
37 | // Coordinates of the Starfield
|
---|
38 |
|
---|
39 | Int_t fStarFieldRaH;
|
---|
40 | Int_t fStarFieldRaM;
|
---|
41 | Int_t fStarFieldRaS;
|
---|
42 | Int_t fStarFieldDeD;
|
---|
43 | Int_t fStarFieldDeM;
|
---|
44 | Int_t fStarFieldDeS;
|
---|
45 |
|
---|
46 | Float_t fNumPheFromDNSB; // Number of phe/ns from diffuse NSB
|
---|
47 |
|
---|
48 | // Telescope axis position (zenith and azimutal angle)
|
---|
49 | Float_t fTelesTheta; // >180 (200) means for each shower,
|
---|
50 | // the Theta of shower
|
---|
51 | Float_t fTelesPhi; // > 360 (400) means for each shower,
|
---|
52 | // the Phi of shower
|
---|
53 |
|
---|
54 | // Angular distanve from the source position to the camera center
|
---|
55 | Float_t fSourceOffsetTheta;
|
---|
56 | Float_t fSourceOffsetPhi;
|
---|
57 |
|
---|
58 | // Angular range used in the Corsika showers generation (degrees)
|
---|
59 | Float_t fShowerThetaMax;
|
---|
60 | Float_t fShowerThetaMin;
|
---|
61 | Float_t fShowerPhiMax;
|
---|
62 | Float_t fShowerPhiMin;
|
---|
63 |
|
---|
64 | UShort_t fCorsikaVersion;
|
---|
65 | UShort_t fReflVersion;
|
---|
66 | UShort_t fCamVersion;
|
---|
67 |
|
---|
68 | public:
|
---|
69 | MMcRunHeader(const char *name=NULL, const char *title=NULL);
|
---|
70 | ~MMcRunHeader();
|
---|
71 |
|
---|
72 | void Fill(const UInt_t numtrigcond,
|
---|
73 | const Byte_t fallevts,
|
---|
74 | const Byte_t fmcevt,
|
---|
75 | const Byte_t fmctrig,
|
---|
76 | const Byte_t fmcfadc,
|
---|
77 | const Int_t fnumanalpixels,
|
---|
78 | const UInt_t fnumsim,
|
---|
79 | const UInt_t fnumsto,
|
---|
80 | const Int_t fsfRaH,
|
---|
81 | const Int_t fsfRaM,
|
---|
82 | const Int_t fsfRaS,
|
---|
83 | const Int_t fsfDeD,
|
---|
84 | const Int_t fsfDeM,
|
---|
85 | const Int_t fsfDeS,
|
---|
86 | const Float_t fnumdnsb,
|
---|
87 | const Float_t ftelestheta,
|
---|
88 | const Float_t ftelesphi,
|
---|
89 | const Float_t fsofftheta,
|
---|
90 | const Float_t fsoffphi,
|
---|
91 | const Float_t fshthetamax,
|
---|
92 | const Float_t fshthetamin,
|
---|
93 | const Float_t fshphimax,
|
---|
94 | const Float_t fshphimin,
|
---|
95 | const UInt_t fcorsika,
|
---|
96 | const UInt_t frefl,
|
---|
97 | const UInt_t fcam
|
---|
98 | );
|
---|
99 |
|
---|
100 | Float_t GetNumPheFromDNSB() const { return fNumPheFromDNSB; }
|
---|
101 |
|
---|
102 | ClassDef(MMcRunHeader, 1) // storage container for general info
|
---|
103 | };
|
---|
104 | #endif
|
---|
105 |
|
---|
106 |
|
---|