Changeset 1789 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 02/24/03 12:26:32 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHMcRate.cc
r1783 r1789 61 61 fTriggerRate= -1.0; // Trigger rate in Hz 62 62 fTriggerRateError= -1.0; // Estimated error for the trigger rate in Hz 63 64 fMultiplicity = -1; 65 fMeanThreshold = -1.; 66 63 67 } 64 68 … … 233 237 { 234 238 *fLog << all << "Incident rate " << fShowerRate << " Hz " << endl; 239 *fLog << "Multiplicity: " << fMultiplicity << ", Discr. threshold: " << fMeanThreshold << endl; 235 240 *fLog << "Trigger Rate " << fTriggerRate << " +- " << fTriggerRateError << " Hz" << endl; 236 241 } -
trunk/MagicSoft/Mars/mhist/MHMcRate.h
r1783 r1789 38 38 Float_t fTriggerRateError; // Estimated error for the trigger rate in Hz 39 39 40 Float_t fMeanThreshold; // Mean discriminator threshold (mV) of trigger 41 // pixels. 42 43 Short_t fMultiplicity; // L1 trigger multiplicity. 44 45 40 46 void Init(const char *name, const char *title); 41 47 … … 65 71 void SetEnergyMin(Float_t Energy) {fEnergyMin=Energy;} 66 72 73 void SetMultiplicity(Short_t nMul) {fMultiplicity = nMul;} 74 void SetMeanThreshold(Float_t thresh) {fMeanThreshold = thresh;} 75 67 76 void UpdateBoundaries(Float_t energy, Float_t theta, Float_t phi, Float_t impact); 77 78 Float_t GetTriggerRate() {return fTriggerRate;} 79 Float_t GetTriggerRateError() {return fTriggerRateError;} 80 81 Short_t GetMultiplicity() {return fMultiplicity;} 82 Float_t GetMeanThreshold() {return fMeanThreshold;} 68 83 69 84 void CalcRate(Float_t trig, Float_t anal, Float_t simu); … … 78 93 79 94 #endif 95 96 97
Note:
See TracChangeset
for help on using the changeset viewer.