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

beamtime/tof-tdctest/go4/ROOTCONV/TRootConverterParam.h (r4864/r4267)

Go to the documentation of this file.
00001 #ifndef TROOTCONVERTERPARAM_H
00002 #define TROOTCONVERTERPARAM_H
00003 
00004 #include "TGo4Parameter.h"
00005 
00006 #include "MBSUNPACK/TMbsCrateEvent.h"
00007 #include "GET4V10/TGet4v1Event.h"
00008 
00009    // New
00010 #include "GenericDefines.h"
00011 
00012 class TRootConverterParam : public TGo4Parameter {
00013    public:
00014       // default constructor - important for parameter streaming
00015       TRootConverterParam();
00016 
00017       TRootConverterParam(const char* name);
00018 
00019       virtual ~TRootConverterParam();
00020 
00021       virtual Bool_t UpdateFrom(TGo4Parameter *);
00022 
00023       Int_t   PrintOptions();
00024 
00025       // Options readout from setup file or assigned from #define
00026       UInt_t         uRootDisplay;         // No Online Change - Enable/Disable root tree display in GO4 interface
00027       UInt_t         uCleanOuputEnable;    // No Online Change - Enable/Disable the generation of a cleaned data root file
00028       UInt_t         uEventsUntilReset;    // When tree displayed but not saved, number of events in Tree before periodic reset
00029       TString        sOutputFilename;      // No Online Change - Filename for the output of the Cleanning/Unpack step
00030          // TRIGLOG
00031       UInt_t         uTriglogInputInTree;  // No Online Change - Enable/Disable the triglog input scalers data in the TTree root output
00032       UInt_t         uTriglogFullEvent;    // No Online Change - Save full Triglog event instead of only selected info
00033          // CAEN TDC general mode
00034       UInt_t         uCaenInTree;          // No Online Change - Enable/Disable the CAEN TDC data in the TTree root output
00035       UInt_t         uCaenMode;                        // No Online Change - Caen Output mode
00036       UInt_t         uCaenMulti;                       // No Online Change - Enable/disable multi hits support for caen in general mode
00037       UInt_t         uGeneralCaenTdcEnabled[MAX_1290]; // No Online Change - Active Output Caen Board in General mode
00038          // CAEN TDC Cosy like mode
00039       Int_t          iPmtTdc;              // No Online Change - Index of the Caen TDC containing the PMT data
00040       Int_t          iPmtQdc;              // No Online Change - Index of the Lecroy Qdc containing the PMT data
00041       Int_t          iRpcTdcLeading;       // No Online Change - Index of the Caen TDC containing the RPC leading  edge data
00042       Int_t          iRpcTdcTrailing;      // No Online Change - Index of the Caen TDC containing the RPC trailing edge data
00043          // VFTX
00044       UInt_t         uVftxInTree;                // No Online Change - Enable/Disable the Vftx (Fpga TDC) data in the TTree root output
00045       UInt_t         uVftxFullBoardData;         // No Online Change - Enable/Disable the full board object in tree instead of single variables
00046       UInt_t         uVftxFullDataMode;          // No Online Change - Enable/Disable the full (raw+calib) data in tree
00047       UInt_t         uVftxEnabled[MAX_FPGA_TDC]; // No Online Change - Enable/Disable specific Vftx boards in output
00048          // GET4 v1.0
00049       UInt_t         uGet4InTree;          // No Online Change - Enable/Disable the Get4 data in the TTree root output
00050       UInt_t         uMultiEventsAllowed;  // No Online Change - if 0 only first event per MBS event is saved, even if multiple ones
00051       UInt_t         uGet4Enabled[MAX_GET4]; // No Online Change - Enable/Disable specific Vftx boards in output
00052       Int_t          iReferenceTdc;        // No Online Change - Index of the Caen TDC containing the t0 hybrid reference time
00053       Int_t          iReferenceChannel1;   // No Online Change - Index of the 1st channel containing the t0 hybrid reference time
00054       Int_t          iReferenceChannel2;   // No Online Change - Index of the 2nd channel containing the t0 hybrid reference time
00055          // RPC
00056       UInt_t         uRpcInTree;          // No Online Change - Enable/Disable the RPC data in the TTree root output
00057       UInt_t         uRpcEnabled[NB_RPC]; // No Online Change - Enable/Disable specific RPCs in output
00058 
00059          // Plastics
00060       UInt_t         uPlasticsInTree;      // No Online Change - Enable/Disable the Plastics data in the TTree root output
00061       UInt_t         uPlasticsEnabled[NB_PLASTICS]; // No Online Change - Enable/Disable specific PLASTICs in output
00062          // Pad RPC
00063       UInt_t         uPadRpcInTree;        // No Online Change - Enable/Disable the Pad Rpc data in the TTree root output
00064          // SCALORMU
00065       UInt_t         uScalOrMuInTree;      // No Online Change - Enable/Disable the Scaler Or Multiplicity scaler data in TTree root output
00066       UInt_t         uScalOrMu2InTree;     // TODO No Online Change - Enable/Disable the second ScalOrMu data in TTree root output
00067          // Matching
00068       UInt_t         uMatchingInTree;      // No Online Change - Enable/Disable the Matching data in the TTree root output
00069          // Hodoscope
00070       UInt_t         uHodoInputInTree;     // No Online Change - Enable/Disable the fiber hodoscope data in the TTree root output
00071       UInt_t         uHodoDebugHisto;      // No Online Change - Enable/Disable the fiber hodoscope debug histograms
00072          // Slow control
00073       UInt_t         uSlowControlInTree;   // No Online Change - Enable/Disable inclusion of slow control data for HDRPC in Tree
00074       UInt_t         uNbSlowControlChan;   // No Online Change - Number of HV channels Slow Control to be saved in the tree
00075       UInt_t         uSlowControlChans[MAX_HV_CHAN_SC];// No Online Change - List of HV channels saved in data
00076       TString        sScInputNamePosI[MAX_HV_CHAN_SC]; // No Online Change - Input  name of HV channels saved in tree, I in PosHV
00077       TString        sScOutputNamePosI[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, I in PosHV
00078       TString        sScInputNamePosU[MAX_HV_CHAN_SC]; // No Online Change - Input  name of HV channels saved in tree, U in PosHV
00079       TString        sScOutputNamePosU[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, U in PosHV
00080       TString        sScInputNameNegI[MAX_HV_CHAN_SC]; // No Online Change - Input  name of HV channels saved in tree, I in PosHV
00081       TString        sScOutputNameNegI[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, I in PosHV
00082       TString        sScInputNameNegU[MAX_HV_CHAN_SC]; // No Online Change - Input  name of HV channels saved in tree, U in PosHV
00083       TString        sScOutputNameNegU[MAX_HV_CHAN_SC];// No Online Change - Output name of HV channels saved in tree, U in PosHV
00084 
00085    private:
00086       Bool_t ReadOptions();
00087 
00088    ClassDef(TRootConverterParam,1)
00089 };
00090 
00091 #endif

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