// ----------------------------------------------------------------------------- // ----- TofDef header file ----- // ----- ----- // ----- created by C. Simon on 2014-03-18 ----- // ----- ----- // ----- based on TofVmeDef by P.-A. Loizeau ----- // ----- https://subversion.gsi.de/fairroot/cbmroot/development/ploizeau/ ----- // ----- main/unpack/tof/TofVmeDef.h ----- // ----- revision 20754, 2013-07-17 ----- // ----------------------------------------------------------------------------- #ifndef TOFDEF_H_ #define TOFDEF_H_ #include "TString.h" namespace tofMbs { enum BoardTypes { undef = 0, // unknown type, default value caenV1290 = 1, // CAEN v1290A and CAEN v1290N VME boards based on HPTDC chips vftx = 2, // FPGA TDC of the VFTX family (E. Bayer dev.) trb = 3, // FPGA TDC of the HADES TRB3 family (alias of trbtdc) get4 = 4, // GET4 chips triglog = 10, // VULOM TRIGLOG board scalormu = 11, // VULOM Scaler Or Multiplicity board scalormubig= 12, // VULOM Scaler Or Multiplicity board 32 channel version ? not used for now scaler2014 = 13, // VULOM Scaler Or/And board used in the GSI April 2014 TOF beamtime caenv965 = 20, // CAEN v965A and CAEN v965N VME QDC boards lecroy1182 = 21, // LECROY 1182 VME QDC/ADC board vulqfwread = 22, // VULOM QFW board (Charge to Frequency Converter Readout) trbseb = 30, // Subevent builder on central TRB-FPGA trbtdc = 31, // TDC on peripheral TRB-FPGA or FEE-TDC trbhub = 32 // Hub on peripheral TRB-FPGA }; enum MappingFields { BoardIndex = 0, // General board Index in the mapping array/MBS Active = 1, // Active flag, 1 = board present Address = 2, // VME base address of the board (used only in MBS) AddMod = 3, // VME Address modifier (used only in MBS) TokenA = 4, // Token inserted at the beginning of data for this board TokenB = 5, // Token inserted at the beginning of data for this board Type = 6 // Board Type }; const UInt_t kuNbFieldsMapping = 7; const TString ksTriglogHistName = "triglog"; const TString ksScomHistName = "scom"; const TString ksScalHistName = "scal"; const TString ksV965HistName = "v965"; const TString ks1182HistName = "1182"; const TString ksQfwHistName = "qfw"; /* const TString ksTriglogParName = "Triglog"; const TString ksScomParName = "Scom"; const TString ksV965ParName = "V965"; const TString ks1182ParName = "1182"; const TString ksQfwParName = "Qfw"; */ } #endif // TOFDEF_H_