• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/gsi-aug12/get4v10/go4/VFTX/TVftxParam.h (r4864/r3846)

Go to the documentation of this file.
00001 #ifndef TVFTXPARAM_H
00002 #define TVFTXPARAM_H
00003 
00004 #include "TGo4Parameter.h"
00005 
00006 #include "MBSUNPACK/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       Int_t   iVftxReferenceChannel[MAX_FPGA_TDC]; // No Online Change - Channel used for the reference histogramfor each VFTX, -1 disable it
00016       Int_t   iVftxDiamondChannel[MAX_FPGA_TDC];   // No Online Change - Channel used for the reference histogramfor each VFTX, -1 disable it
00017       
00018       UInt_t   uVftxCoincidenceMap;               // No Online Change - Enable channel coincidence mapping histo
00019 
00020       UInt_t   uBitControl;                       // No Online Change - Starts the histogramms for the bit control
00021       
00022       UInt_t   uFineHistEnable;                   // No Online Change - FineTime Histograms for every TDC <= Needed for Correction!
00023       
00024       UInt_t   uFineEvolutionHistEnable;          // No Online Change - FineTime Evolution Histograms for every TDC
00025       
00026       UInt_t   uCoarseTimeHisto;                  // No Online Change - Start coarse time histograms
00027       
00028       UInt_t   uEnableCalib;                      // No Online Change - Enable the computation of bin to ns calibration
00029       
00030       Int_t    iMinNbHitsCalib;                   // No Online Change - Minimal number of hits in the finetime histogram before we start applying corrections
00031 
00032       TString  sInitialCalibrationFilename;       // No Online Change - If not empty or -, use the bin to ns calibration  histograms from this file as initial calibration
00033       
00034       UInt_t   uVftxInitalCalIndex[MAX_FPGA_TDC]; // No Online Change - Tdc index of the initial calibration histograms for individual VFTX
00035       
00036       UInt_t   uEnableCalibOutput;                // Save the bin to ns calibration (finetime in 1st implementation) to a root file with date/time as name
00037       
00038       UInt_t   uTimeHistEnable;                   // No Online Change - Trigger time - calibrated time Histograms for every TDC channel
00039       
00040       UInt_t   uTotHistoEnable;                   // No Online Change - Tot Histograms for every TDC channel pair
00041 
00042       UInt_t   uAutomaticOffsetEnable;            // Enable an automatic 1 clock TDC offset detection
00043       Int_t    iAutomaticTdcOffset[MAX_FPGA_TDC]; // Offset detected automatically, in clock period
00044             
00045    //functions
00046       TVftxParam(const char* name = 0); //Constructor
00047       
00048       ~TVftxParam(); //Destructor
00049       
00050       Int_t    PrintOptions(); //prints out the parameters
00051 
00052    ClassDef(TVftxParam,1)
00053 
00054         private:
00055       Bool_t ReadOptions(); //reads out the data from the text file
00056 };
00057 
00058 #endif // TVFTXPARAM_H

Generated on Tue Dec 10 2013 04:52:21 for ROCsoft by  doxygen 1.7.1