00001 #ifndef TVFTXPARAM_H 00002 #define TVFTXPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 00006 #include "TMbsCrateEvent.h" 00007 00008 class TVftxParam : public TGo4Parameter { 00009 public: 00010 //parameters 00011 UInt_t uDebug; // Control the debug output 00012 00013 UInt_t uVftxCalHistosEnabled[MAX_FPGA_TDC]; // No Online Change - Enable/disable Calibration histograms for individual VFTX 00014 00015 UInt_t uVftxCoincidenceMap; // No Online Change - Enable channel coincidence mapping histo 00016 00017 UInt_t uBitControl; // No Online Change - Starts the histogramms for the bit control 00018 00019 UInt_t uFineHistEnable; // No Online Change - FineTime Histograms for every TDC <= Needed for Correction! 00020 00021 UInt_t uFineEvolutionHistEnable; // No Online Change - FineTime Evolution Histograms for every TDC 00022 00023 UInt_t uCoarseTimeHisto; // No Online Change - Start coarse time histograms 00024 00025 UInt_t uEnableCalib; // No Online Change - Enable the computation of bin to ns calibration 00026 00027 Int_t iMinNbHitsCalib; // No Online Change - Minimal number of hits in the finetime histogram before we start applying corrections 00028 00029 TString sInitialCalibrationFilename; // No Online Change - If not empty or -, use the bin to ns calibration histograms from this file as initial calibration 00030 00031 UInt_t uVftxInitalCalIndex[MAX_FPGA_TDC]; // No Online Change - Tdc index of the initial calibration histograms for individual VFTX 00032 00033 UInt_t uEnableCalibOutput; // Save the bin to ns calibration (finetime in 1st implementation) to a root file with date/time as name 00034 00035 UInt_t uTimeHistEnable; // No Online Change - Trigger time - calibrated time Histograms for every TDC channel 00036 00037 UInt_t uTotHistoEnable; // No Online Change - Tot Histograms for every TDC channel pair 00038 00039 // Old root output ( COSY 2011 like) 00040 Int_t iRootOutput; // Enable/Disable root tree output file (No online change) 00041 TString sOutputFilename; // Filename for the root tree output file (No online change) 00042 Int_t iRootDisplay; // Enable/Disable root tree display in GO4 interface (No online change) 00043 00044 //functions 00045 TVftxParam(const char* name = 0); //Constructor 00046 00047 ~TVftxParam(); //Destructor 00048 00049 Int_t PrintOptions(); //prints out the parameters 00050 00051 ClassDef(TVftxParam,1) 00052 00053 private: 00054 Bool_t ReadOptions(); //reads out the data from the text file 00055 }; 00056 00057 #endif // TVFTXPARAM_H