00001 #ifndef TSCALERSPARAM_H 00002 #define TSCALERSPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 #include "MBSUNPACK/TMbsCrateEvent.h" 00006 00007 class TScalersParam : public TGo4Parameter { 00008 public: 00009 //parameters 00010 UInt_t uDebug; // Control the debug output 00011 UInt_t uReferenceClockScaler; // Scaler in Triglog board where the reference clock is counting 00012 UInt_t uReferenceClockChannel; // Channel in Triglog board where the reference clock is counting 00013 // => Maybe ask Jochen if possible to have this clock as a register in the ScalOrMu with fixed frequency! 00014 Double_t dReferenceClockFrequency; // Frequency of the reference clock 00015 // => Done starting nov 12 00016 Double_t dReferenceClockFrequencyTriglog; // Frequency of the reference clock 00017 Double_t dReferenceClockFrequencyScalOrMu; // Frequency of the reference clock 00018 00019 UInt_t uNbDetectorsScalormu; // Nb of detectors for which the summed rate is calculated 00020 UInt_t uDetectorScaler[SCALORMU_NB_SCAL]; // Indicates for each ScalOrMu channel which detector it correspond 00021 00022 //functions 00023 TScalersParam(const char* name = 0); //Constructor 00024 00025 ~TScalersParam(); //Destructor 00026 00027 Int_t PrintOptions(); //prints out the parameters 00028 00029 private: 00030 Bool_t ReadOptions(); //reads out the data from the text file 00031 00032 ClassDef(TScalersParam,1) 00033 }; 00034 00035 #endif // TSCALERSPARAM_H