Changeset 1241
- Timestamp:
- 03/13/02 18:17:04 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.hxx
r1180 r1241 15 15 { 16 16 private: 17 /* ---- Run Header Informations ---- */ 18 UInt_t fNumTrigCond; // Number of trigger conditions in this file, 19 // zero means single condition mode 17 UInt_t fNumTrigCond; // Number of trigger conditions in this file, 18 // zero means single condition mode 19 20 //-- 0 means: MMcTrig 21 //-- 1 means: MMcTrig;1 22 //-- 2 means: MMcTrig;1 MMcTrig;2 23 24 Byte_t fAllEvtsTriggered; // boolean that indicates is all images are 25 // saved or only the ones that trigger 20 26 21 //-- 0 means: MMcTrig22 //-- 1 means: MMcTrig;123 //-- 2 means: MMcTrig;1 MMcTrig;227 Byte_t fMcEvt; // McEvt stored or not 28 Byte_t fMcTrig; // McTrig stored or not 29 Byte_t fMcFadc; // McFadc stored or not 24 30 25 Byte_t fAllEvtsTriggered; // boolean that indicates is all images are 26 // saved or only the ones that trigger 31 Int_t fNumAnalisedPixels; // Number of analised pixels 32 33 UInt_t fNumSimulatedShowers; // Number of showers that were simualted 34 UInt_t fNumStoredShowers; // Number of store showers in this run 35 36 // Coordinates of the Starfield 37 38 Int_t fStarFieldRaH; 39 Int_t fStarFieldRaM; 40 Int_t fStarFieldRaS; 41 Int_t fStarFieldDeD; 42 Int_t fStarFieldDeM; 43 Int_t fStarFieldDeS; 27 44 28 Byte_t fMcEvt; // McEvt stored or not 29 Byte_t fMcTrig; // McTrig stored or not 30 Byte_t fMcFadc; // McFadc stored or not 45 Float_t fNumPheFromDNSB; // Number of phe/ns from diffuse NSB 46 47 // Telescope axis position (zenith and azimutal angle) 48 Float_t fTelesTheta; // >180 (200) means for each shower, 49 // the Theta of shower 50 Float_t fTelesPhi; // > 360 (400) means for each shower, 51 // the Phi of shower 31 52 32 Int_t fNumAnalisedPixels; // Number of analised pixels 53 // Angular distance from the source position to the camera center 54 Float_t fSourceOffsetTheta; 55 Float_t fSourceOffsetPhi; 56 57 // Angular range used in the Corsika showers generation (degrees) 58 Float_t fShowerThetaMax; 59 Float_t fShowerThetaMin; 60 Float_t fShowerPhiMax; 61 Float_t fShowerPhiMin; 33 62 34 UInt_t fNumSimulatedShowers; // Number of showers that were simualted 35 UInt_t fNumStoredShowers; // Number of store showers in this run 63 UShort_t fCorsikaVersion; 64 UShort_t fReflVersion; 65 UShort_t fCamVersion; 36 66 37 // Coordinates of the Starfield 67 /* ---- Run Header Informations ---- */ 68 Float_t fMcRunNumber; // Run Number 69 UInt_t fProductionSite; // code to know where the run was generated 70 Float_t fDateRunMMCs; // Date of the MMCs production 71 Float_t fDateRunCamera; // Date, when the Camera program is run. 38 72 39 Int_t fStarFieldRaH; 40 Int_t fStarFieldRaM; 41 Int_t fStarFieldRaS; 42 Int_t fStarFieldDeD; 43 Int_t fStarFieldDeM; 44 Int_t fStarFieldDeS; 73 Byte_t fRawEvt; // RawEvt[Data,Hedaer] stored or not 45 74 46 Float_t fNumPheFromDNSB; // Number of phe/ns from diffuse NSB 75 Byte_t fElecNoise; // Electronic Noise simulated or not 76 Byte_t fStarFieldRotate; // Is the starfield rotation 77 // switched on (1) or off (0) 47 78 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 79 // Wavelength limits for the Cerenkov photons 80 Float_t fCWaveLower; 81 Float_t fCWaveUpper; 53 82 54 // Angular distanve from the source position to the camera center55 Float_t fSourceOffsetTheta;56 Float_t fSourceOffsetPhi;83 // Observation levels 84 UInt_t fNumObsLev; 85 Float_t fHeightLev[10]; 57 86 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; 87 // Spectral index 88 Float_t fSlopeSpec; 67 89 68 90 public: 69 70 91 MMcRunHeader(const char *name=NULL, const char *title=NULL); 92 ~MMcRunHeader(); 71 93 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 void GetStarFieldRa(Int_t *hour, Int_t *minute, Int_t *second) const; 102 void GetStarFieldDec(Int_t *degree, Int_t *minute, Int_t *second) const; 103 104 ClassDef(MMcRunHeader, 1) // storage container for general info 94 void Fill(const Float_t runnumber, 95 const UInt_t productionsite, 96 const Float_t daterunMMCs, 97 const Float_t daterunCamera, 98 const UInt_t numtrigcond, 99 const Byte_t allevts, 100 const Byte_t mcevt, 101 const Byte_t mctrig, 102 const Byte_t mcfadc, 103 const Byte_t rawevt, 104 const Byte_t elecnoise, 105 const Int_t numanalpixels, 106 const UInt_t numsim, 107 const UInt_t numsto, 108 const Byte_t starfieldrotate, 109 const Int_t sfRaH, 110 const Int_t sfRaM, 111 const Int_t sfRaS, 112 const Int_t sfDeD, 113 const Int_t sfDeM, 114 const Int_t sfDeS, 115 const Float_t numdnsb, 116 const Float_t telestheta, 117 const Float_t telesphi, 118 const Float_t sofftheta, 119 const Float_t soffphi, 120 const Float_t shthetamax, 121 const Float_t shthetamin, 122 const Float_t shphimax, 123 const Float_t shphimin, 124 const Float_t cwavelower, 125 const Float_t cwaveupper, 126 const Float_t slopespec, 127 const UInt_t num0bslev, 128 const Float_t heightlev[10], 129 const UInt_t corsika, 130 const UInt_t refl, 131 const UInt_t cam 132 ); 133 134 Float_t GetNumPheFromDNSB() const { return fNumPheFromDNSB; } 135 void GetStarFieldRa(Int_t *hour, Int_t *minute, Int_t *second) const; 136 void GetStarFieldDec(Int_t *degree, Int_t *minute, Int_t *second) const; 137 138 ClassDef(MMcRunHeader, 2) // storage container for general info 105 139 }; 106 140 #endif
Note:
See TracChangeset
for help on using the changeset viewer.