Enumerations | |
enum | E_Fnd_Layer { E_FIN_INNER_LAYER = 1, E_FIN_OUTER_LAYER = 2 } |
enum | E_Fnd_Side { E_FIN_SIDE_E = 0, E_FIN_SIDE_P = 1 } |
enum | E_Fnd_Sil_Side { E_FIN_SIL_SIDE_PH = 0, E_FIN_SIL_SIDE_ZA = 1, E_FIN_SIL_SIDE_ZB = 2 } |
enum | E_Fnd_Gts_Constants { K_N_GTS_SELECTORS = 2, K_N_GTS_TRIG_TYPES = 12, K_N_GTS_P_UNITS = 4, K_N_GTS_SCALER_CHANNELS = 16, K_N_GTS_SCALER_MODULES = 5, K_N_GTS_MALU = 3 } |
enum | E_Fnd_Gts_TrigTypes { K_TRIG_HYP = 0, K_TRIG_BHABHA = 1, K_TRIG_BTB_LOW = 2, K_TRIG_OR_LOW = 3, K_TRIG_BTB_HIGH = 4, K_TRIG_ORtofino_ORtofone = 5, K_TRIG_LASER = 6, K_TRIG_PULSER = 7, K_TRIG_TCALIB = 8, K_TRIG_ORtofone = 9, K_TRIG_MULTtofone = 10, K_TRIG_BTB_LOW_ORtofone = 11 } |
enum | E_Fnd_Sil_Hardware { K_N_Sil_Crams = 27, K_N_Sil_Sects = 2, K_N_Sil_Sides = 3, K_N_Sil_AdcCha = 1024, K_N_Sil_AdcChips = 8, K_N_Sil_Strips = 1920, K_N_Sil_Phi_Strips = 1021, K_N_Sil_Z_Strips = 1920, K_N_Sil_ChaOnChip = 128, K_N_Sil_Modules = 10, K_N_Sil_FixPede = 50, K_N_Sil_MulNoise = 10, K_N_Sil_Sigma_Cut = 3, K_N_Sil_Sigma_Pre = 5, K_N_Sil_Noise_Cut = 8 } |
enum | E_Fnd_DaqRaw_Udp_Ports { FIN_DAQ_RAW_UDP_PORT = 2007, FIN_GTS_DAQ_RAW_UDP_PORT = 2001, FIN_TOF_DAQ_RAW_UDP_PORT = 2002, FIN_SIL_DAQ_RAW_UDP_PORT = 2003, FIN_LMD_DAQ_RAW_UDP_PORT = 2004, FIN_STB_DAQ_RAW_UDP_PORT = 2005 } |
enum | E_Fnd_Raw_Header_Struct { E_FndRawHead_Length = 0, E_FndRawHead_Nev_Hw = 1, E_FndRawHead_Nev_Sw = 2, E_FndRawHead_RunTyp = 3, E_FndRawHead_RunNum = 4, E_FndRawHead_RStart = 5, E_FndRawHead_TElaps = 6, E_FndRawHead_GTSptr = 7, E_FndRawHead_TOFptr = 8, E_FndRawHead_ISIptr = 9, E_FndRawHead_OSIptr = 10, E_FndRawHead_LMDptr = 11, E_FndRawHead_STBptr = 12, E_FndRawHead_DAQmsg = 15 } |
enum | { k_EvHeaderLen = 16, K_VmeScalBufLen = 82, K_GtsBufLen = 36 } |
enum | EFndDaqDetectors { FIN_GTS = 0, FIN_TOF, FIN_ISM, FIN_OSM, FIN_LMD, FIN_STB } |
enum | EFndDetNameMode { FIN_D_MOD_SHORT = 0, FIN_D_MOD_HDT, FIN_D_MOD_COMPLETE } |
enum | EFndOnlineFlags { ONL_OFF = 0, ONL_GTS, ONL_TOF, ONL_ISM, ONL_OSM, ONL_LMD, ONL_STB, ONL_ALL } |
enum | EFndRunTypes { RT_FINU = 0, RT_COSM, RT_PULS, RT_PEDE, RT_CALI, RT_PLAT, RT_ONLM } |
enum | EFndMonDetectors { D_GTS = 0, D_TOF, D_SIL, D_LMD, D_STB } |
enum | EFndDevice { DEV_DISK = 0, DEV_TAPE, DEV_SOCKET } |
enum | EFndDBFetchSource { K_DB_SOURCE_HOST = 0, K_DB_SOURCE_FILE } |
enum | E_FROOT_MEM_DESCR { E_FROOT_MemRes = 0, E_FROOT_MemVirt = 1 } |
Functions | |
TString | GetFrootVersion () |
Float_t | GetFrootVersionID () |
TString | SilSide_Name (Int_t id) |
Int_t | GetDataTakingFromTime (UInt_t runtime) |
Double_t | TofinoZetaFromCharge (Int_t dtak, const Double_t &adcE, const Double_t &adcP) |
Double_t | TofoneZetaFromTime (Int_t dtak, const Double_t &tdcE, const Double_t &tdcP) |
Double_t | LmdZetaGeoAdjust (const Int_t &layer) |
Double_t | LmdZetaGeoAdjust (const E_Fnd_Layer &layer) |
TString | TriggerType (E_Fnd_Gts_TrigTypes type) |
TString | AcquiredDetName (Int_t det, Int_t mode=0) |
TString | DB_Host_Name (Int_t id) |
TString | RunType_Name (Int_t id) |
TString | MonDetName (Int_t i) |
TString | BuildRunName (const TString &run_type, const Int_t run_num, Bool_t use_subdir=kFALSE) |
Int_t | CreateGrpSubDir (const TString &run_type, const Int_t run_num, const TString &start_pth) |
TString | DecodeRunType (UInt_t r_type_raw) |
Int_t | CheckFileExistence (const TString &filename) |
Float_t | GetRamUsage (Bool_t verbose=kFALSE) |
Float_t | GetProcMemUsage (E_FROOT_MEM_DESCR mode=E_FROOT_MemVirt, Bool_t verbose=kFALSE) |
void | CompleteString (TString &str, Int_t size, const char *add_char, Bool_t after) |
TString | ConcatFileName (const char *dir, const char *name) |
ULong64_t | Convert64 (UInt_t high, UInt_t low) |
UShort_t | ExtractBit (const UInt_t &number, const UInt_t bit, const UInt_t limit) |
TString | ExpandPathName (const char *path) |
Int_t | Ip2Int (const char *ip) |
void | SayToUser (const TString &Message, Int_t ntimes=1) |
void | TerminateFroot (Int_t arg=0, const TString &Error=0) |
TString | GetFrootVersion () |
Float_t | GetFrootVersionID () |
Double_t | LmdZetaGeoAdjust (const Int_t &layer) |
Double_t | LmdZetaGeoAdjust (const E_Fnd_Layer &layer) |
TString | TriggerType (E_Fnd_Gts_TrigTypes type) |
TString | SilSide_Name (Int_t id) |
TString | DB_Host_Name (Int_t id) |
TString | RunType_Name (Int_t id) |
TString | MonDetName (Int_t i) |
TString | AcquiredDetName (Int_t det, Int_t mode) |
TString | DecodeRunType (UInt_t r_type_raw) |
TString | BuildRunName (const TString &run_type, const Int_t run_num, Bool_t use_subdir) |
Int_t | CreateGrpSubDir (const TString &run_type, const Int_t run_num, const TString &start_pth) |
Int_t | CheckFileExistence (const TString &filename) |
Float_t | GetRamUsage (Bool_t verbose) |
Float_t | GetProcMemUsage (E_FROOT_MEM_DESCR mode, Bool_t verbose) |
void | CompleteString (TString &str, Int_t size, const char *add_char, Bool_t after) |
TString | ConcatFileName (const char *dir, const char *name) |
ULong64_t | Convert64 (UInt_t high, UInt_t low) |
UShort_t | ExtractBit (const UInt_t &number, const UInt_t bit, const UInt_t limit) |
TString | ExpandPathName (const char *path) |
Int_t | Ip2Int (const char *ip) |
void | SayToUser (const TString &Message, Int_t ntimes) |
void | TerminateFroot (Int_t arg, const TString &Error) |
anonymous enum |
Definition at line 272 of file FROOT.h.
00272 { 00273 // K_SecondsPerDay = 86400, 00274 k_EvHeaderLen = 16, // length of the Global Event Header 00275 K_VmeScalBufLen = 82, // length of the VME scaler buffers in total */ 00276 K_GtsBufLen = 36, // length of the GTS buffer 00277 };
FIN_DAQ_RAW_UDP_PORT | |
FIN_GTS_DAQ_RAW_UDP_PORT | |
FIN_TOF_DAQ_RAW_UDP_PORT | |
FIN_SIL_DAQ_RAW_UDP_PORT | |
FIN_LMD_DAQ_RAW_UDP_PORT | |
FIN_STB_DAQ_RAW_UDP_PORT |
Definition at line 237 of file FROOT.h.
00237 { 00238 FIN_DAQ_RAW_UDP_PORT = 2007, 00239 FIN_GTS_DAQ_RAW_UDP_PORT = 2001, 00240 FIN_TOF_DAQ_RAW_UDP_PORT = 2002, 00241 FIN_SIL_DAQ_RAW_UDP_PORT = 2003, 00242 FIN_LMD_DAQ_RAW_UDP_PORT = 2004, 00243 FIN_STB_DAQ_RAW_UDP_PORT = 2005, 00244 };
K_N_GTS_SELECTORS | |
K_N_GTS_TRIG_TYPES | |
K_N_GTS_P_UNITS | |
K_N_GTS_SCALER_CHANNELS | |
K_N_GTS_SCALER_MODULES | |
K_N_GTS_MALU |
Definition at line 165 of file FROOT.h.
00165 { 00166 K_N_GTS_SELECTORS = 2, // N_Words in Trigger Selector (gated with TOFINO low/high thr.) 00167 K_N_GTS_TRIG_TYPES = 12, // Number of trigger types 00168 K_N_GTS_P_UNITS = 4, // Number of Words in Trigger Selector (3 for the 2003 data-taking) 00169 K_N_GTS_SCALER_CHANNELS = 16, // Number of Channels/Scaler-module 00170 K_N_GTS_SCALER_MODULES = 5, // Number of Scaler Modules 00171 K_N_GTS_MALU = 3, // Number of MALU modules 00172 };
K_TRIG_HYP | |
K_TRIG_BHABHA | |
K_TRIG_BTB_LOW | |
K_TRIG_OR_LOW | |
K_TRIG_BTB_HIGH | |
K_TRIG_ORtofino_ORtofone | |
K_TRIG_LASER | |
K_TRIG_PULSER | |
K_TRIG_TCALIB | |
K_TRIG_ORtofone | |
K_TRIG_MULTtofone | |
K_TRIG_BTB_LOW_ORtofone |
Definition at line 174 of file FROOT.h.
00174 { 00175 K_TRIG_HYP = 0, 00176 K_TRIG_BHABHA = 1, 00177 K_TRIG_BTB_LOW = 2, 00178 K_TRIG_OR_LOW = 3, 00179 K_TRIG_BTB_HIGH = 4, 00180 K_TRIG_ORtofino_ORtofone = 5, 00181 K_TRIG_LASER = 6, 00182 K_TRIG_PULSER = 7, 00183 K_TRIG_TCALIB = 8, 00184 K_TRIG_ORtofone = 9, 00185 K_TRIG_MULTtofone = 10, 00186 K_TRIG_BTB_LOW_ORtofone = 11, 00187 };
enum FROOT::E_Fnd_Layer |
Definition at line 82 of file FROOT.h.
00082 { 00083 E_FIN_INNER_LAYER = 1, 00084 E_FIN_OUTER_LAYER = 2 00085 }; // used for LMD/TOF/SIL (stb have their 6 layers [num:1-6])
Definition at line 253 of file FROOT.h.
00253 { // GLOBAL EVENT HEADER 00254 E_FndRawHead_Length = 0, 00255 E_FndRawHead_Nev_Hw = 1, // starts from 0 00256 E_FndRawHead_Nev_Sw = 2, // starts from 1 00257 E_FndRawHead_RunTyp = 3, 00258 E_FndRawHead_RunNum = 4, 00259 E_FndRawHead_RStart = 5, 00260 E_FndRawHead_TElaps = 6, 00261 E_FndRawHead_GTSptr = 7, 00262 E_FndRawHead_TOFptr = 8, 00263 E_FndRawHead_ISIptr = 9, 00264 E_FndRawHead_OSIptr = 10, 00265 E_FndRawHead_LMDptr = 11, 00266 E_FndRawHead_STBptr = 12, 00267 E_FndRawHead_DAQmsg = 15, // see EDaqStatus for details 00268 };
enum FROOT::E_Fnd_Side |
Definition at line 87 of file FROOT.h.
00087 { 00088 E_FIN_SIDE_E = 0, 00089 E_FIN_SIDE_P = 1 00090 };
Definition at line 196 of file FROOT.h.
00196 { 00197 K_N_Sil_Crams = 27, // SIL: Number of CRAMS (15 OSM + 12 ISM) 00198 K_N_Sil_Sects = 2, // SIL: Number of Sections for each CRAM 00199 K_N_Sil_Sides = 3, // SIL: Number of SIDES for each Module (see E_Fnd_Sil_Side) 00200 K_N_Sil_AdcCha = 1024, // SIL: Number of ADC channels for each section of ADC 00201 K_N_Sil_AdcChips = 8, // SIL: Number of Chips for each section of ADC 00202 K_N_Sil_Strips = 1920, // SIL: Max number of strips for both side 00203 K_N_Sil_Phi_Strips = 1021, // SIL: Number of strips for Phi side 00204 K_N_Sil_Z_Strips = 1920, // SIL: Number of strips for Z Side 00205 K_N_Sil_ChaOnChip = 128, // SIL: Number of ADC Cannels for each Chip 00206 K_N_Sil_Modules = 10, // Number of hybrid modules (OSIM) (also for ISIM [8]) 00207 K_N_Sil_FixPede = 50, // Fix Pedestal to be structed from signals 00208 K_N_Sil_MulNoise = 10, // Noise Multiplier Constant (Noise has to be divided by this value) 00209 K_N_Sil_Sigma_Cut = 3, // Low Threshold for Cluster Finding 00210 K_N_Sil_Sigma_Pre = 5, // High Threshold for Cluster Finding 00211 K_N_Sil_Noise_Cut = 8, // Noise Threshold ( * 10 ) for Cluster Finding 00212 };
Definition at line 91 of file FROOT.h.
00091 { 00092 E_FIN_SIL_SIDE_PH = 0, 00093 E_FIN_SIL_SIDE_ZA = 1, 00094 E_FIN_SIL_SIDE_ZB = 2 00095 };
Definition at line 339 of file FROOT.h.
00339 { 00340 E_FROOT_MemRes = 0, 00341 E_FROOT_MemVirt = 1 00342 /* E_FROOT_MemTot = 2 */ 00343 };
Definition at line 299 of file FROOT.h.
00299 { K_DB_SOURCE_HOST = 0, K_DB_SOURCE_FILE }; // K_DB_SOURCE_HOST requires a previous connection
Definition at line 280 of file FROOT.h.
00280 { FIN_D_MOD_SHORT = 0, FIN_D_MOD_HDT, FIN_D_MOD_COMPLETE }; // SHORT: 3 chars, HDT: hdt branch name, COMPLETE: complete name
enum FROOT::EFndDevice |
enum FROOT::EFndRunTypes |