158 |
this->InitDo(dbc,hs,sgnl,l0tree,isdeb,isverb); |
this->InitDo(dbc,hs,sgnl,l0tree,isdeb,isverb); |
159 |
dbc->Close(); |
dbc->Close(); |
160 |
delete dbc; |
delete dbc; |
161 |
|
dbc = 0; |
162 |
} |
} |
163 |
|
|
164 |
|
|
278 |
Int_t sig = this->ChkParamDo(dbc,runheader,mechal); |
Int_t sig = this->ChkParamDo(dbc,runheader,mechal); |
279 |
dbc->Close(); |
dbc->Close(); |
280 |
delete dbc; |
delete dbc; |
281 |
|
dbc = 0; |
282 |
return(sig); |
return(sig); |
283 |
} |
} |
284 |
|
|
604 |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable); |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable); |
605 |
dbc->Close(); |
dbc->Close(); |
606 |
delete dbc; |
delete dbc; |
607 |
|
dbc = 0; |
608 |
// |
// |
609 |
return(sig); |
return(sig); |
610 |
// |
// |
624 |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true); |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true); |
625 |
dbc->Close(); |
dbc->Close(); |
626 |
delete dbc; |
delete dbc; |
627 |
|
dbc = 0; |
628 |
// |
// |
629 |
return(sig); |
return(sig); |
630 |
// |
// |
1214 |
val = 0; |
val = 0; |
1215 |
del = 1000; |
del = 1000; |
1216 |
if ( clevel2->trigty < 2. ){ |
if ( clevel2->trigty < 2. ){ |
1217 |
Bool_t ck = false; |
// Bool_t ck = false; |
1218 |
for (Int_t sec = 0; sec < 4; sec++){ |
for (Int_t sec = 0; sec < 4; sec++){ |
1219 |
val = (Int_t)de->calselftrig[sec][6]; |
val = (Int_t)de->calselftrig[sec][6]; |
1220 |
del = delay(val); |
del = delay(val); |
1221 |
if ( del < 1000 ){ |
if ( del < 1000 ){ |
1222 |
clevel2->wartrig = 0.; |
clevel2->wartrig = 0.; |
1223 |
clevel2->trigty = 3.; |
clevel2->trigty = 3.; |
1224 |
ck = true; |
// ck = true; |
1225 |
break; |
break; |
1226 |
}; |
}; |
1227 |
}; |
}; |
1242 |
Int_t se = 5; |
Int_t se = 5; |
1243 |
Int_t done = 0; |
Int_t done = 0; |
1244 |
Int_t pre = -1; |
Int_t pre = -1; |
1245 |
Bool_t isCOMP = false; |
// Bool_t isCOMP = false; |
1246 |
Bool_t isFULL = false; |
// Bool_t isFULL = false; |
1247 |
Bool_t isRAW = false; |
Bool_t isRAW = false; |
1248 |
Float_t ener; |
Float_t ener; |
1249 |
Int_t doneb = 0; |
Int_t doneb = 0; |
1292 |
// |
// |
1293 |
// determine what kind of event we are going to analyze |
// determine what kind of event we are going to analyze |
1294 |
// |
// |
1295 |
isCOMP = false; |
// isCOMP = false; |
1296 |
isFULL = false; |
// isFULL = false; |
1297 |
isRAW = false; |
isRAW = false; |
1298 |
if ( de->stwerr[se] & (1 << 16) ) isCOMP = true; |
// if ( de->stwerr[se] & (1 << 16) ) isCOMP = true; |
1299 |
if ( de->stwerr[se] & (1 << 17) ) isFULL = true; |
// if ( de->stwerr[se] & (1 << 17) ) isFULL = true; |
1300 |
if ( de->stwerr[se] & (1 << 3) ) isRAW = true; |
if ( de->stwerr[se] & (1 << 3) ) isRAW = true; |
1301 |
if ( !chdone[se] ){ |
if ( !chdone[se] ){ |
1302 |
// |
// |
1992 |
}; |
}; |
1993 |
// |
// |
1994 |
} |
} |
1995 |
|
void CaloLevel0::FillCommonVar(CaloLevel1 *c1){ |
1996 |
|
if ( c1 ){ |
1997 |
|
c1->istrip = istrip; |
1998 |
|
c1->estrip = TArrayI(istrip,svstrip); |
1999 |
|
}; |
2000 |
|
// |
2001 |
|
} |
2002 |
|
|
2003 |
void CaloLevel0::ClearStructs(){ |
void CaloLevel0::ClearStructs(){ |
2004 |
ClearTrkVar(); |
ClearTrkVar(); |