00001 #ifndef TROOTCONVERTERPARAM_H 00002 #define TROOTCONVERTERPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 00006 #define MAX_HV_CHAN_SC 12 00007 00008 class TRootConverterParam : public TGo4Parameter { 00009 public: 00010 // default constructor - important for parameter streaming 00011 TRootConverterParam(); 00012 00013 TRootConverterParam(const char* name); 00014 00015 virtual ~TRootConverterParam(); 00016 00017 virtual Bool_t UpdateFrom(TGo4Parameter *); 00018 00019 Int_t PrintOptions(); 00020 00021 // Options readout from setup file or assigned from #define 00022 UInt_t uRootDisplay; // No Online Change - Enable/Disable root tree display in GO4 interface 00023 UInt_t uCleanOuputEnable; // No Online Change - Enable/Disable the generation of a cleaned data root file 00024 TString sOutputFilename; // No Online Change - Filename for the output of the Cleanning/Unpack step 00025 UInt_t uAddGet4DataInTree; // No Online Change - Enable/Disable the Get4 data in the TTree root output 00026 Int_t iPmtTdc; // No Online Change - Index of the Caen TDC containing the PMT data 00027 Int_t iPmtQdc; // No Online Change - Index of the Lecroy Qdc containing the PMT data 00028 Int_t iRpcTdcLeading; // No Online Change - Index of the Caen TDC containing the RPC leading edge data 00029 Int_t iRpcTdcTrailing; // No Online Change - Index of the Caen TDC containing the RPC trailing edge data 00030 Int_t iReferenceTdc; // No Online Change - Index of the Caen TDC containing the t0 hybrid reference time 00031 Int_t iReferenceChannel1; // No Online Change - Index of the 1st channel containing the t0 hybrid reference time 00032 Int_t iReferenceChannel2; // No Online Change - Index of the 2nd channel containing the t0 hybrid reference time 00033 UInt_t uTriglogInputInTree; // No Online Change - Enable/Disable the triglog input scalers data in the TTree root output 00034 UInt_t uHodoInputInTree; // No Online Change - Enable/Disable the fiber hodoscope data in the TTree root output 00035 UInt_t uHodoDebugHisto; // No Online Change - Enable/Disable the fiber hodoscope ddebug histograms 00036 UInt_t uSlowControlInTree; // No Online Change - Enable/Disable inclusion of slow control data for HDRPC in Tree 00037 UInt_t uNbSlowControlChan; // No Online Change - Number of HV channels Slow Control to be saved in the tree 00038 UInt_t uSlowControlChans[MAX_HV_CHAN_SC];// No Online Change - List of HV channels saved in data 00039 TString sScInputNamePosI[MAX_HV_CHAN_SC]; // No Online Change - Input name of HV channels saved in tree, I in PosHV 00040 TString sScOutputNamePosI[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, I in PosHV 00041 TString sScInputNamePosU[MAX_HV_CHAN_SC]; // No Online Change - Input name of HV channels saved in tree, U in PosHV 00042 TString sScOutputNamePosU[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, U in PosHV 00043 TString sScInputNameNegI[MAX_HV_CHAN_SC]; // No Online Change - Input name of HV channels saved in tree, I in PosHV 00044 TString sScOutputNameNegI[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, I in PosHV 00045 TString sScInputNameNegU[MAX_HV_CHAN_SC]; // No Online Change - Input name of HV channels saved in tree, U in PosHV 00046 TString sScOutputNameNegU[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, U in PosHV 00047 00048 private: 00049 Bool_t ReadOptions(); 00050 00051 ClassDef(TRootConverterParam,1) 00052 }; 00053 00054 #endif