45const Int_t
kiNbFiles = 3 + 2 + 4 + 2 + 2 + 5 + 12 + 3 + 2;
46const TString
ksFilesDay[
kiNbFiles] = {
"240215",
"240215",
"240215",
"250215",
"250215",
"260215",
"260215",
47 "260215",
"260215",
"270215",
"270215",
"280215",
"280215",
"010315",
48 "010315",
"010315",
"010315",
"010315",
"020315",
"020315",
"020315",
49 "020315",
"020315",
"020315",
"020315",
"020315",
"020315",
"020315",
50 "020315",
"020315",
"030315",
"030315",
"030315",
"040315",
"040315"};
51const TString
ksFilesHour[
kiNbFiles] = {
"0957",
"1941",
"2224",
"1026",
"2024",
"0018",
"0949",
"1420",
"1831",
52 "0930",
"1715",
"1401",
"2133",
"0947",
"1509",
"1512",
"2022",
"2332",
53 "1102",
"1417",
"1940",
"2002",
"2025",
"2032",
"2045",
"2056",
"2144",
54 "2202",
"2228",
"2248",
"0141",
"1423",
"2214",
"0252",
"1717"};
66 "BUC_Ref",
"BUC_2013",
"B_2012_1",
"B_2012_2",
"B_2012_3",
"B_2012_4"};
67Int_t
iSlotRpcNeg[
kiNbRpc] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1};
68Int_t
iBdIdxRpcNeg[
kiNbRpc] = {0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4};
69Int_t
iChIdxRpcNeg[
kiNbRpc] = {0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5};
70Int_t
iSlotRpcPos[
kiNbRpc] = {2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3};
71Int_t
iBdIdxRpcPos[
kiNbRpc] = {2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6};
72Int_t
iChIdxRpcPos[
kiNbRpc] = {0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5};
76TString
sChNamePmt[
kiNbPmt] = {
"HFL",
"HFR",
"calo",
"HBL",
"HBR",
"BFL",
"BFR",
"BBL",
"BBR",
"PMT5",
"Dia_PMT"};
77Int_t
iSlotPmtNeg[
kiNbPmt] = {4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5};
78Int_t
iBdIdxPmtNeg[
kiNbPmt] = {13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14};
79Int_t
iChIdxPmtNeg[
kiNbPmt] = {0, 1, 2, 4, 5, 0, 1, 2, 3, 4, 5};
97 cout <<
"Please provide a detector index, a data, a start time and a stop "
100 cout <<
"Example: root -l \'XXXXXXXX.C( 3, \"2015-03-04 19:30:00\", "
101 "\"2015-03-04 20:00:00\", \"YYY.root\" )\' "
103 cout <<
"or within root: .x currentConv.C( 1 ) " << endl;
104 cout <<
"Possible detector values are: " << endl;
105 cout <<
" 0 for HD RPC-P3 " << endl;
106 cout <<
" 1 for HD RPC-P2 " << endl;
107 cout <<
" 2 for HD RPC-P5 " << endl;
108 cout <<
" 3 for USTC " << endl;
109 cout <<
" 4 for TSU Strip " << endl;
110 cout <<
" 5 for TSU PAD " << endl;
111 cout <<
" 6 for BUC ref " << endl;
112 cout <<
" 7 for BUC 2013 " << endl;
113 cout <<
" 8 for BUC 2012 #1 " << endl;
114 cout <<
" 9 for BUC 2012 #2 " << endl;
115 cout <<
"10 for BUC 2012 #3 " << endl;
116 cout <<
"11 for BUC 2012 #4 " << endl;
117 cout <<
"-----------------" << endl;
118 cout <<
"20 for PMT Top Front Left" << endl;
119 cout <<
"21 for PMT Top Front Right" << endl;
120 cout <<
"22 for Pb Calorimeter" << endl;
121 cout <<
"23 for PMT Top Back Left" << endl;
122 cout <<
"24 for PMT Top Back Right" << endl;
123 cout <<
"25 for PMT Bot Front Left" << endl;
124 cout <<
"26 for PMT Bot Front Right" << endl;
125 cout <<
"27 for PMT Bot Back Left" << endl;
126 cout <<
"28 for PMT Top Back Right" << endl;
127 cout <<
"29 for PMT5" << endl;
128 cout <<
"30 for PMT Diamond" << endl;
129 cout <<
"-----------------" << endl;
130 cout <<
"40 for TRD 2010" << endl;
131 cout <<
"41 for TRD 2012 Neg or TRD 2012 #1 Pos" << endl;
132 cout <<
"42 for TRD 2012 Neg or TRD 2012 #2 Pos" << endl;
133 cout <<
"43 for TRD 2012 Neg or TRD 2012 #3 Pos" << endl;
134 cout <<
"44 for TRD 2012 Neg or TRD 2012 #4 Pos" << endl;
135 cout <<
"-----------------" << endl;
136 cout <<
"The date format is: YYYYMMDD" << endl;
137 cout <<
"The time format is: HHMM" << endl;
Int_t iBdIdxTrdPos[kiNbTrd]
Int_t iBdIdxPmtNeg[kiNbPmt]
const Int_t kiSpillDistSec
Int_t iSlotRpcPos[kiNbRpc]
Int_t kiSlotIndex[kiNbBoardsUsed]
Int_t iChIdxPmtNeg[kiNbPmt]
TString sChNameRpc[kiNbRpc]
Int_t iBdIdxRpcPos[kiNbRpc]
std::streampos kiSlotSzOff[kiNbBoardsUsed]
TString sChNamePmt[kiNbPmt]
const TString ksFilesHour[kiNbFiles]
Int_t iSlotRpcNeg[kiNbRpc]
Int_t iChIdxTrdNeg[kiNbTrd]
const Int_t kiNbBoardsUsed
const Double_t kdNoSpillDiamThr
Int_t iSlotTrdPos[kiNbTrd]
Int_t iSlotPmtNeg[kiNbPmt]
Int_t iChIdxTrdPos[kiNbTrd]
Int_t iChIdxRpcNeg[kiNbRpc]
Int_t iBdIdxTrdNeg[kiNbTrd]
Int_t iChIdxRpcPos[kiNbRpc]
Int_t iSlotTrdNeg[kiNbTrd]
Int_t iBdIdxRpcNeg[kiNbRpc]
const TString ksFilesDay[kiNbFiles]
TString sChNameTrd[kiNbTrd]
const Double_t kdSpillDiamThr