| 72 |
#include <color.h> |
#include <color.h> |
| 73 |
// |
// |
| 74 |
extern Bool_t existfile(TString); |
extern Bool_t existfile(TString); |
| 75 |
|
extern Bool_t NODB; |
| 76 |
// |
// |
| 77 |
|
|
| 78 |
using namespace std; |
using namespace std; |
| 96 |
var.showcal = false; |
var.showcal = false; |
| 97 |
var.showrun = false; |
var.showrun = false; |
| 98 |
var.showac = false; |
var.showac = false; |
| 99 |
|
L2 = 0; |
| 100 |
} |
} |
| 101 |
|
|
| 102 |
void FEVdetector::Reset(){ |
void FEVdetector::Reset(){ |
| 118 |
var.INFOS = 0; |
var.INFOS = 0; |
| 119 |
var.VINFOS = 0; |
var.VINFOS = 0; |
| 120 |
var.PALETTE = 0; |
var.PALETTE = 0; |
| 121 |
|
var.PATTRIG = 1; |
| 122 |
if ( *ctrlword & (1<<0) ) { |
if ( *ctrlword & (1<<0) ) { |
| 123 |
var.PALETTE = 1; |
var.PALETTE = 1; |
| 124 |
}; |
}; |
| 146 |
if ( *ctrlword & (1<<8) ) { |
if ( *ctrlword & (1<<8) ) { |
| 147 |
var.TOF = 1; |
var.TOF = 1; |
| 148 |
}; |
}; |
| 149 |
|
if ( *ctrlword & (1<<9) ) { |
| 150 |
|
var.PATTRIG = 1; |
| 151 |
|
}; |
| 152 |
} |
} |
| 153 |
|
|
| 154 |
void FEVdetector::SetDDEC(TString de){ |
void FEVdetector::SetDDEC(TString de){ |
| 427 |
TBranchElement *tb = (TBranchElement*)branch_array->At(l); |
TBranchElement *tb = (TBranchElement*)branch_array->At(l); |
| 428 |
Int_t type = tb->GetType(); |
Int_t type = tb->GetType(); |
| 429 |
Int_t atype = tb->GetStreamerType() - 20; |
Int_t atype = tb->GetStreamerType() - 20; |
| 430 |
Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()]; |
// Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()]; |
| 431 |
|
Int_t len = tb->GetInfo()->GetLength(tb->GetID()); |
| 432 |
Int_t length = min(len,dlen); |
Int_t length = min(len,dlen); |
| 433 |
// |
// |
| 434 |
// printf("Branches : type is %i type is %i tb getname %s slen %i slength %i\n",atype,type,tb->GetName(),len,length); |
// printf("Branches : type is %i type is %i tb getname %s slen %i slength %i\n",atype,type,tb->GetName(),len,length); |
| 661 |
TBranchElement *stb = (TBranchElement*)tb->FindBranch(name); |
TBranchElement *stb = (TBranchElement*)tb->FindBranch(name); |
| 662 |
Int_t stype = stb->GetType(); |
Int_t stype = stb->GetType(); |
| 663 |
Int_t satype = stb->GetStreamerType() - 20; |
Int_t satype = stb->GetStreamerType() - 20; |
| 664 |
Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()]; |
// Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()]; |
| 665 |
|
Int_t slen = stb->GetInfo()->GetLength(stb->GetID()); |
| 666 |
Int_t slength = min(slen,dlen); |
Int_t slength = min(slen,dlen); |
| 667 |
// printf("SubBranches : atype is %i type is %i tb getname %s slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength); |
// printf("SubBranches : atype is %i type is %i tb getname %s slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength); |
| 668 |
switch (stype){ |
switch (stype){ |
| 1109 |
// |
// |
| 1110 |
// printf(" %s \n",ddec.Data()); |
// printf(" %s \n",ddec.Data()); |
| 1111 |
if ( !L2 ){ |
if ( !L2 ){ |
| 1112 |
|
// printf(" l2 constructor\n"); |
| 1113 |
L2 = new PamLevel2("",file.Data(),ddec.Data()); |
L2 = new PamLevel2("",file.Data(),ddec.Data()); |
| 1114 |
|
if ( NODB ) L2->NoDBconnections(); |
| 1115 |
otr = L2->GetPamTree(); |
otr = L2->GetPamTree(); |
|
// printf(" l2 constructor\n"); |
|
| 1116 |
// printf(" abst %u obt %u qtot %f \n",L2->GetOrbitalInfo()->absTime,L2->GetOrbitalInfo()->OBT,L2->GetCaloLevel2()->qtot); |
// printf(" abst %u obt %u qtot %f \n",L2->GetOrbitalInfo()->absTime,L2->GetOrbitalInfo()->OBT,L2->GetCaloLevel2()->qtot); |
| 1117 |
} else { |
} else { |
| 1118 |
// |
// |
| 1267 |
// |
// |
| 1268 |
} |
} |
| 1269 |
|
|
| 1270 |
|
bool bit(int decimal, char pos) |
| 1271 |
|
{ |
| 1272 |
|
return( (decimal>>pos)%2 ); |
| 1273 |
|
} |
| 1274 |
|
// |
| 1275 |
|
// THE PATTERN TRIGGER |
| 1276 |
|
// |
| 1277 |
|
void FEVdetector::ShowTRG(){ |
| 1278 |
|
// |
| 1279 |
|
if ( level.file != 2 ) return; |
| 1280 |
|
// |
| 1281 |
|
if ( !var.TRG ) return; |
| 1282 |
|
// |
| 1283 |
|
int S11[8]; |
| 1284 |
|
S11[0] = 0; |
| 1285 |
|
S11[1] = 0; |
| 1286 |
|
S11[2] = 0; |
| 1287 |
|
S11[3] = 0; |
| 1288 |
|
S11[4] = 0; |
| 1289 |
|
S11[5] = 0; |
| 1290 |
|
S11[6] = 0; |
| 1291 |
|
S11[7] = 0; |
| 1292 |
|
|
| 1293 |
|
int S12[6]; |
| 1294 |
|
S12[0] = 0; |
| 1295 |
|
S12[1] = 0; |
| 1296 |
|
S12[2] = 0; |
| 1297 |
|
S12[3] = 0; |
| 1298 |
|
S12[4] = 0; |
| 1299 |
|
S12[5] = 0; |
| 1300 |
|
|
| 1301 |
|
int S21[2]; |
| 1302 |
|
S21[0] = 0; |
| 1303 |
|
S21[1] = 0; |
| 1304 |
|
|
| 1305 |
|
int S22[2]; |
| 1306 |
|
S22[0] = 0; |
| 1307 |
|
S22[1] = 0; |
| 1308 |
|
|
| 1309 |
|
int S31[3]; |
| 1310 |
|
S31[0] = 0; |
| 1311 |
|
S31[1] = 0; |
| 1312 |
|
S31[2] = 0; |
| 1313 |
|
|
| 1314 |
|
int S32[3]; |
| 1315 |
|
S32[0] = 0; |
| 1316 |
|
S32[1] = 0; |
| 1317 |
|
S32[2] = 0; |
| 1318 |
|
|
| 1319 |
|
//S3 |
| 1320 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],0) ) S31[0]++; |
| 1321 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],1) ) S31[1]++; |
| 1322 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],2) ) S31[2]++; |
| 1323 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],3) ) S31[0]++; |
| 1324 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],4) ) S31[1]++; |
| 1325 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],5) ) S31[2]++; |
| 1326 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],6) ) S32[0]++; |
| 1327 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],7) ) S32[1]++; |
| 1328 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],8) ) S32[2]++; |
| 1329 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],9) ) S32[0]++; |
| 1330 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],10) ) S32[1]++; |
| 1331 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[2],11) ) S32[2]++; |
| 1332 |
|
//S2 |
| 1333 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],0) ) S21[0]++; |
| 1334 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],1) ) S21[1]++; |
| 1335 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],2) ) S21[0]++; |
| 1336 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],3) ) S21[1]++; |
| 1337 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],4) ) S22[0]++; |
| 1338 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],5) ) S22[1]++; |
| 1339 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],6) ) S22[0]++; |
| 1340 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[3],7) ) S22[1]++; |
| 1341 |
|
//S12 |
| 1342 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],0) ) S12[0]++; |
| 1343 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],1) ) S12[1]++; |
| 1344 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],2) ) S12[2]++; |
| 1345 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],3) ) S12[3]++; |
| 1346 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],4) ) S12[4]++; |
| 1347 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],5) ) S12[5]++; |
| 1348 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],6) ) S12[0]++; |
| 1349 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],7) ) S12[1]++; |
| 1350 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],8) ) S12[2]++; |
| 1351 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],9) ) S12[3]++; |
| 1352 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],10) ) S12[4]++; |
| 1353 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[4],11) ) S12[5]++; |
| 1354 |
|
//S11 |
| 1355 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],0) ) S11[0]++; |
| 1356 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],1) ) S11[1]++; |
| 1357 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],2) ) S11[2]++; |
| 1358 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],3) ) S11[3]++; |
| 1359 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],4) ) S11[4]++; |
| 1360 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],5) ) S11[5]++; |
| 1361 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],6) ) S11[6]++; |
| 1362 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],7) ) S11[7]++; |
| 1363 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],8) ) S11[0]++; |
| 1364 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],9) ) S11[1]++; |
| 1365 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],10) ) S11[2]++; |
| 1366 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],11) ) S11[3]++; |
| 1367 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],12) ) S11[4]++; |
| 1368 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],13) ) S11[5]++; |
| 1369 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],14) ) S11[6]++; |
| 1370 |
|
if ( bit(L2->GetTrigLevel2()->patterntrig[5],15) ) S11[7]++; |
| 1371 |
|
|
| 1372 |
|
|
| 1373 |
|
// |
| 1374 |
|
Int_t rj = 0; |
| 1375 |
|
Float_t xs2x = var.xxvc; |
| 1376 |
|
Float_t ys2x = var.yxvc + 0.36*var.sfy; |
| 1377 |
|
Float_t xs2y = var.xyvc; |
| 1378 |
|
Float_t ys2y = var.yyvc + 0.36*var.sfy; |
| 1379 |
|
Float_t ws2 = 0.005; |
| 1380 |
|
Float_t ws13 = 0.007; |
| 1381 |
|
Int_t noadc; |
| 1382 |
|
if ( var.bw ){ |
| 1383 |
|
noadc=12; |
| 1384 |
|
} else { |
| 1385 |
|
noadc=kRed; |
| 1386 |
|
}; |
| 1387 |
|
// |
| 1388 |
|
// S11 X-view |
| 1389 |
|
// |
| 1390 |
|
Float_t s11p = 0.051; |
| 1391 |
|
TPolyLine *ftrg11x[8]; |
| 1392 |
|
for ( Int_t j=0; j<8; j++){ |
| 1393 |
|
Float_t nxc1[5]={ (s11p*j), (s11p*j), s11p*(j+1), s11p*(j+1), (s11p*j)}; |
| 1394 |
|
Float_t nyc1[5]={ 0., ws13, ws13, 0., 0.}; |
| 1395 |
|
Float_t nxc[5]; |
| 1396 |
|
Float_t nyc[5]; |
| 1397 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1398 |
|
nxc[i]= xs2x + (-0.204+nxc1[i])*var.sfx; |
| 1399 |
|
nyc[i] = ys2x + (0.295+nyc1[i])*var.sfy; |
| 1400 |
|
}; |
| 1401 |
|
ftrg11x[j] = new TPolyLine(5,nxc,nyc); |
| 1402 |
|
ftrg11x[j]->SetLineColor(noadc); |
| 1403 |
|
ftrg11x[j]->SetLineWidth(S11[j]); |
| 1404 |
|
if ( S11[j] ) ftrg11x[j]->Draw(); |
| 1405 |
|
}; |
| 1406 |
|
// |
| 1407 |
|
// S12 Y-view |
| 1408 |
|
// |
| 1409 |
|
Float_t s12p = 0.055; |
| 1410 |
|
TPolyLine *ftrg12y[6]; |
| 1411 |
|
rj = 6; |
| 1412 |
|
for ( Int_t j=0; j<6; j++){ |
| 1413 |
|
rj--; |
| 1414 |
|
Float_t nxc1[5]={ (s12p*j), (s12p*j), s12p*(j+1), s12p*(j+1), (s12p*j)}; |
| 1415 |
|
Float_t nyc1[5]={ -ws13, 0., 0., -ws13, -ws13}; |
| 1416 |
|
Float_t nxc[5]; |
| 1417 |
|
Float_t nyc[5]; |
| 1418 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1419 |
|
nxc[i]= xs2y + (-0.165+nxc1[i])*var.sfx; |
| 1420 |
|
nyc[i] = ys2y + (0.295+nyc1[i])*var.sfy; |
| 1421 |
|
}; |
| 1422 |
|
ftrg12y[j] = new TPolyLine(5,nxc,nyc); |
| 1423 |
|
ftrg12y[j]->SetLineColor(noadc); |
| 1424 |
|
ftrg12y[j]->SetLineWidth(S12[rj]); |
| 1425 |
|
if ( S12[rj] ) ftrg12y[j]->Draw(); |
| 1426 |
|
}; |
| 1427 |
|
|
| 1428 |
|
|
| 1429 |
|
// |
| 1430 |
|
// S21 Y-view |
| 1431 |
|
// |
| 1432 |
|
Float_t s21p = 0.075; |
| 1433 |
|
TPolyLine *ftrg21y[2]; |
| 1434 |
|
rj=2; |
| 1435 |
|
for ( Int_t j=0; j<2; j++){ |
| 1436 |
|
rj--; |
| 1437 |
|
Float_t nxc1[5]={ s21p*(j-1), s21p*(j-1), s21p*j,s21p*j, s21p*(j-1)}; |
| 1438 |
|
Float_t nyc1[5]={ 0., ws2, ws2, 0., 0.}; |
| 1439 |
|
Float_t nxc[5]; |
| 1440 |
|
Float_t nyc[5]; |
| 1441 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1442 |
|
nxc[i]= xs2y + nxc1[i]*var.sfx; |
| 1443 |
|
nyc[i] = ys2y + nyc1[i]*var.sfy; |
| 1444 |
|
// printf(" TRG i %i x %f y %f \n",i,nxc[i],nyc[i]); |
| 1445 |
|
}; |
| 1446 |
|
ftrg21y[j] = new TPolyLine(5,nxc,nyc); |
| 1447 |
|
ftrg21y[j]->SetLineColor(noadc); |
| 1448 |
|
ftrg21y[j]->SetLineWidth(S21[j]); |
| 1449 |
|
if ( S21[j]) ftrg21y[j]->Draw(); |
| 1450 |
|
}; |
| 1451 |
|
|
| 1452 |
|
// |
| 1453 |
|
// S22 X-view |
| 1454 |
|
// |
| 1455 |
|
Float_t s22p = 0.090; |
| 1456 |
|
TPolyLine *ftrg22x[2]; |
| 1457 |
|
for ( Int_t j=0; j<2; j++){ |
| 1458 |
|
Float_t nxc1[5]={ s22p*(j-1), s22p*(j-1), s22p*j, s22p*j, s22p*(j-1)}; |
| 1459 |
|
Float_t nyc1[5]={ -ws2, 0., 0., -ws2, -ws2}; |
| 1460 |
|
Float_t nxc[5]; |
| 1461 |
|
Float_t nyc[5]; |
| 1462 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1463 |
|
nxc[i]= xs2x + nxc1[i]*var.sfx; |
| 1464 |
|
nyc[i] = ys2x + nyc1[i]*var.sfy; |
| 1465 |
|
}; |
| 1466 |
|
ftrg22x[j] = new TPolyLine(5,nxc,nyc); |
| 1467 |
|
ftrg22x[j]->SetLineColor(noadc); |
| 1468 |
|
ftrg22x[j]->SetLineWidth(S22[j]); |
| 1469 |
|
if ( S22[j] ) ftrg22x[j]->Draw(); |
| 1470 |
|
}; |
| 1471 |
|
// |
| 1472 |
|
// S31 X-view |
| 1473 |
|
// |
| 1474 |
|
Float_t s31p = 0.060; |
| 1475 |
|
TPolyLine *ftrg31x[3]; |
| 1476 |
|
for ( Int_t j=0; j<3; j++){ |
| 1477 |
|
Float_t nxc1[5]={ (s31p*j), (s31p*j), s31p*(j+1), s31p*(j+1), (s31p*j)}; |
| 1478 |
|
Float_t nyc1[5]={ 0., ws13, ws13, 0., 0.}; |
| 1479 |
|
Float_t nxc[5]; |
| 1480 |
|
Float_t nyc[5]; |
| 1481 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1482 |
|
nxc[i]= xs2x + (-0.090+nxc1[i])*var.sfx; |
| 1483 |
|
nyc[i] = ys2x + (-0.488+nyc1[i])*var.sfy; |
| 1484 |
|
}; |
| 1485 |
|
ftrg31x[j] = new TPolyLine(5,nxc,nyc); |
| 1486 |
|
ftrg31x[j]->SetLineColor(noadc); |
| 1487 |
|
ftrg31x[j]->SetLineWidth(S31[j]); |
| 1488 |
|
if ( S31[j] ) ftrg31x[j]->Draw(); |
| 1489 |
|
}; |
| 1490 |
|
|
| 1491 |
|
// |
| 1492 |
|
// S32 Y-view |
| 1493 |
|
// |
| 1494 |
|
Float_t s32p = 0.050; |
| 1495 |
|
TPolyLine *ftrg32y[3]; |
| 1496 |
|
rj = 3; |
| 1497 |
|
for ( Int_t j=0; j<3; j++){ |
| 1498 |
|
rj--; |
| 1499 |
|
Float_t nxc1[5]={ (s32p*j), (s32p*j), s32p*(j+1),s32p*(j+1), (s32p*j)}; |
| 1500 |
|
Float_t nyc1[5]={ -ws13, 0., 0., -ws13, -ws13}; |
| 1501 |
|
Float_t nxc[5]; |
| 1502 |
|
Float_t nyc[5]; |
| 1503 |
|
for (Int_t i = 0; i<5 ; i++) { |
| 1504 |
|
nxc[i]= xs2y + (-0.075+nxc1[i])*var.sfx; |
| 1505 |
|
nyc[i] = ys2y + (-0.488+nyc1[i])*var.sfy; |
| 1506 |
|
}; |
| 1507 |
|
ftrg32y[j] = new TPolyLine(5,nxc,nyc); |
| 1508 |
|
ftrg32y[j]->SetLineColor(noadc); |
| 1509 |
|
ftrg32y[j]->SetLineWidth(S32[rj]); |
| 1510 |
|
if ( S32[rj] ) ftrg32y[j]->Draw(); |
| 1511 |
|
} |
| 1512 |
|
} |
| 1513 |
|
|
| 1514 |
void FEVdetector::DisplayEvent(){ |
void FEVdetector::DisplayEvent(){ |
| 1515 |
TLatex *text=new TLatex(); |
TLatex *text=new TLatex(); |
| 1516 |
stringstream testo; |
stringstream testo; |
| 1526 |
thefigure->cd(); |
thefigure->cd(); |
| 1527 |
ShowTOF(); |
ShowTOF(); |
| 1528 |
// |
// |
| 1529 |
|
// show pattern trigger if the case |
| 1530 |
|
// |
| 1531 |
|
thefigure->cd(); |
| 1532 |
|
if ( var.PATTRIG ){ |
| 1533 |
|
ShowTRG(); |
| 1534 |
|
thefigure->Modified(); |
| 1535 |
|
thefigure->Update(); |
| 1536 |
|
} |
| 1537 |
|
// |
| 1538 |
// show anticounters |
// show anticounters |
| 1539 |
// |
// |
| 1540 |
thefigure->cd(); |
thefigure->cd(); |
| 1631 |
testo3 << "S4: ";// << setprecision(2); |
testo3 << "S4: ";// << setprecision(2); |
| 1632 |
testo3 << var.s4sig << " [MIP] TOF: #beta = "; |
testo3 << var.s4sig << " [MIP] TOF: #beta = "; |
| 1633 |
testo3 << setprecision(3) << var.beta[4]; |
testo3 << setprecision(3) << var.beta[4]; |
| 1634 |
|
if ( level.file == 2 ){ |
| 1635 |
|
testo3 << " SVL cutoff: "; |
| 1636 |
|
testo3 << setprecision(3) << L2->GetOrbitalInfo()->GetCutoffSVL();//quiquiqui |
| 1637 |
|
} |
| 1638 |
text->DrawLatex(0.33,txthi,testo3.str().c_str()); |
text->DrawLatex(0.33,txthi,testo3.str().c_str()); |
| 1639 |
txthi -= 0.03; |
txthi -= 0.03; |
| 1640 |
testo3.str(""); |
testo3.str(""); |
| 3068 |
memset(tdc,0,4*12*sizeof(Float_t)); |
memset(tdc,0,4*12*sizeof(Float_t)); |
| 3069 |
// |
// |
| 3070 |
// |
// |
| 3071 |
|
Int_t myseq = 0; |
| 3072 |
// if ( repuntil == 0 || var.tofraw ){ |
// if ( repuntil == 0 || var.tofraw ){ |
| 3073 |
if ( repuntil == 1 || var.tofraw ){ |
if ( repuntil == 1 || var.tofraw ){ |
| 3074 |
numtr = 0; |
numtr = 0; |
| 3076 |
repeat = false; |
repeat = false; |
| 3077 |
} else { |
} else { |
| 3078 |
// |
// |
| 3079 |
|
// printf(" deH_ \n"); |
| 3080 |
// |
// |
| 3081 |
if ( numtr >= (repuntiltr-1) ) repeat = false; |
if ( numtr == 0 ){ |
| 3082 |
// |
// printf(" ques \n"); |
| 3083 |
//printf(" numtr is %i \n",numtr); |
ptt = L2->GetToFLevel2()->GetToFTrkVar(0); |
| 3084 |
// ptt = L2->GetToFLevel2()->GetToFTrkVar(numtr); |
myseq = 0; |
| 3085 |
ptrack = L2->GetTrack(numtr); |
// printf(" que \n"); |
| 3086 |
ptt = ptrack->GetToFTrack(); |
|
| 3087 |
|
} else { |
| 3088 |
|
if ( numtr >= (repuntiltr-1) ) repeat = false; |
| 3089 |
|
// |
| 3090 |
|
printf(" numtr is %i \n",numtr); |
| 3091 |
|
// ptt = L2->GetToFLevel2()->GetToFTrkVar(numtr); |
| 3092 |
|
ptrack = L2->GetTrack(numtr-1); |
| 3093 |
|
ptt = ptrack->GetToFTrack(); |
| 3094 |
|
myseq = ptt->trkseqno + 1; |
| 3095 |
|
}; |
| 3096 |
}; |
}; |
| 3097 |
// |
// |
| 3098 |
xp11[0] = 0.; |
xp11[0] = 0.; |
| 3106 |
// |
// |
| 3107 |
ii = 2; |
ii = 2; |
| 3108 |
// |
// |
| 3109 |
Int_t myseq = ptt->trkseqno + 1; |
// Int_t myseq = ptt->trkseqno + 1; |
| 3110 |
// |
// |
| 3111 |
|
// printf(" qui \n"); |
| 3112 |
L2->GetToFLevel2()->GetMatrix(myseq,adc,tdc); |
L2->GetToFLevel2()->GetMatrix(myseq,adc,tdc); |
| 3113 |
// |
// |
| 3114 |
// printf(" qua \n"); |
// printf(" qua \n"); |
| 3115 |
// |
// |
| 3116 |
// for ( Int_t i = 0; i<8; i++ ) { |
// for ( Int_t i = 0; i<8; i++ ) { |
| 3117 |
// if ( adc[ch11a[i]][hb11a[i]] < 1000. ){ |
// if ( adc[ch11a[i]][hb11a[i]] < 1000. ){ |
| 3283 |
if ( higp > 0.164 ) higp = 0.164; |
if ( higp > 0.164 ) higp = 0.164; |
| 3284 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp11[rj] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp11[rj] != 0.))){ |
| 3285 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3286 |
Float_t nyc1[5]={ 0.0015, 0.0015, ws13-0.0015, ws13-0.0015, 0.0015}; |
Float_t nyc1[5]={ 0.0015, 0.0015, (float)(ws13-0.0015), (float)(ws13-0.0015), 0.0015}; |
| 3287 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3288 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3289 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3369 |
if ( higp > 0.203 ) higp = 0.203; |
if ( higp > 0.203 ) higp = 0.203; |
| 3370 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp12[j] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp12[j] != 0.))){ |
| 3371 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3372 |
Float_t nyc1[5]={ -0.0015, -0.0015, -ws13+0.0015, -ws13+0.0015, -0.0015}; |
Float_t nyc1[5]={ -0.0015, -0.0015, (float)(-ws13+0.0015), (float)(-ws13+0.0015), -0.0015}; |
| 3373 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3374 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3375 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3404 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3405 |
nxc[i]= xs2y + nxc1[i]*var.sfx; |
nxc[i]= xs2y + nxc1[i]*var.sfx; |
| 3406 |
nyc[i] = ys2y + nyc1[i]*var.sfy; |
nyc[i] = ys2y + nyc1[i]*var.sfy; |
| 3407 |
|
// printf(" TOF i %i x %f y %f \n",i,nxc[i],nyc[i]); |
| 3408 |
}; |
}; |
| 3409 |
ftof21y[j] = new TPolyLine(5,nxc,nyc); |
ftof21y[j] = new TPolyLine(5,nxc,nyc); |
| 3410 |
ftof21y[j]->SetLineColor(1); |
ftof21y[j]->SetLineColor(1); |
| 3458 |
if ( higp > 0.089 ) higp = 0.089; |
if ( higp > 0.089 ) higp = 0.089; |
| 3459 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp21[j] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp21[j] != 0.))){ |
| 3460 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3461 |
Float_t nyc1[5]={ 0.0015, 0.0015, ws2-0.0015, ws2-0.0015, 0.}; |
Float_t nyc1[5]={ 0.0015, 0.0015, (float)(ws2-0.0015), (float)(ws2-0.0015), 0.}; |
| 3462 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3463 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3464 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3549 |
if ( higp > 0.074 ) higp = 0.074; |
if ( higp > 0.074 ) higp = 0.074; |
| 3550 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp22[rj] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp22[rj] != 0.))){ |
| 3551 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3552 |
Float_t nyc1[5]={ -0.0015, -0.0015, -ws2+0.0015, -ws2+0.0015, -0.0015}; |
Float_t nyc1[5]={ -0.0015, -0.0015, (float)(-ws2+0.0015), (float)(-ws2+0.0015), -0.0015}; |
| 3553 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3554 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3555 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3640 |
if ( higp > 0.074 ) higp = 0.074; |
if ( higp > 0.074 ) higp = 0.074; |
| 3641 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp31[rj] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp31[rj] != 0.))){ |
| 3642 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3643 |
Float_t nyc1[5]={ 0.0015, 0.0015, ws13-0.0015, ws13-0.0015, 0.0015}; |
Float_t nyc1[5]={ 0.0015, 0.0015, (float)(ws13-0.0015), (float)(ws13-0.0015), 0.0015}; |
| 3644 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3645 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3646 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 3728 |
if ( higp > 0.089 ) higp = 0.089; |
if ( higp > 0.089 ) higp = 0.089; |
| 3729 |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp32[j] != 0.))){ |
if ( lowp < higp && ( level.file == -1 || (level.file == 2 && xp32[j] != 0.))){ |
| 3730 |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
Float_t nxc1[5]={ lowp, higp, higp, lowp, lowp}; |
| 3731 |
Float_t nyc1[5]={ -0.0015, -0.0015, -ws13+0.0015, -ws13+0.0015, -0.0015}; |
Float_t nyc1[5]={ -0.0015, -0.0015, (float)(-ws13+0.0015), (float)(-ws13+0.0015), -0.0015}; |
| 3732 |
Float_t nxc[5]; |
Float_t nxc[5]; |
| 3733 |
Float_t nyc[5]; |
Float_t nyc[5]; |
| 3734 |
for (Int_t i = 0; i<5 ; i++) { |
for (Int_t i = 0; i<5 ; i++) { |
| 4104 |
// |
// |
| 4105 |
if ( true ){ |
if ( true ){ |
| 4106 |
// PMTs |
// PMTs |
| 4107 |
Float_t xc1[5]={ 0., 0.014*var.sfx, 0.014*var.sfx-var.sfx*var.sfx*pmt1*cos(apmt1), -var.sfx*var.sfx*pmt1*cos(apmt1), 0.}; |
Float_t xc1[5]={ 0., (float)(0.014*var.sfx), (float)(0.014*var.sfx-var.sfx*var.sfx*pmt1*cos(apmt1)), (float)(-var.sfx*var.sfx*pmt1*cos(apmt1)), 0.}; |
| 4108 |
Float_t yc1[5]={ 0., 0.011*var.sfy, 0.011*var.sfy+var.sfy*var.sfy*pmt1*sin(apmt1), var.sfy*var.sfy*pmt1*sin(apmt1), 0.}; |
Float_t yc1[5]={ 0., (float)(0.011*var.sfy), (float)(0.011*var.sfy+var.sfy*var.sfy*pmt1*sin(apmt1)), (float)(var.sfy*var.sfy*pmt1*sin(apmt1)), 0.}; |
| 4109 |
Float_t xc2[5]={ 0., 0.011*var.sfx, 0.011*var.sfx-pmt2*var.sfx*var.sfx*cos(apmt2), -pmt2*var.sfx*var.sfx*cos(apmt2), 0.}; |
Float_t xc2[5]={ 0., (float)(0.011*var.sfx), (float)(0.011*var.sfx-pmt2*var.sfx*var.sfx*cos(apmt2)), (float)(-pmt2*var.sfx*var.sfx*cos(apmt2)), 0.}; |
| 4110 |
Float_t yc2[5]={ 0., 0.015*var.sfy, 0.015*var.sfy+var.sfy*pmt2*var.sfy*sin(apmt2), var.sfy*pmt2*var.sfy*sin(apmt2), 0.}; |
Float_t yc2[5]={ 0., (float)(0.015*var.sfy), (float)(0.015*var.sfy+var.sfy*pmt2*var.sfy*sin(apmt2)), (float)(var.sfy*pmt2*var.sfy*sin(apmt2)), 0.}; |
| 4111 |
// SCINTs |
// SCINTs |
| 4112 |
Float_t xcc1[10]={-0.149, -0.090165, -0.090165, -0.149, -0.242, -0.257, -0.212, -0.257, -0.242, -0.149}; |
Float_t xcc1[10]={-0.149, -0.090165, -0.090165, -0.149, -0.242, -0.257, -0.212, -0.257, -0.242, -0.149}; |
| 4113 |
Float_t ycc1[10]={ 0.169, 0.108165, -0.108165, -0.169, -0.169, -0.158, 0., 0.158, 0.169, 0.169}; |
Float_t ycc1[10]={ 0.169, 0.108165, -0.108165, -0.169, -0.169, -0.158, 0., 0.158, 0.169, 0.169}; |
| 5542 |
linea->SetLineWidth(2); |
linea->SetLineWidth(2); |
| 5543 |
linea->SetLineColor(sigcol2); |
linea->SetLineColor(sigcol2); |
| 5544 |
linea->Draw(); |
linea->Draw(); |
| 5545 |
Float_t tx[5] = {x-0.3, x+0.3, x+0.3, x-0.3, x-0.3}; |
Float_t tx[5] = {(float)(x-0.3), (float)(x+0.3), (float)(x+0.3), (float)(x-0.3), (float)(x-0.3)}; |
| 5546 |
Float_t tz[5] = {0., 0., 0.5, 0.5, 0.}; |
Float_t tz[5] = {0., 0., 0.5, 0.5, 0.}; |
| 5547 |
TPolyLine *tlinea = new TPolyLine(5,tx,tz); |
TPolyLine *tlinea = new TPolyLine(5,tx,tz); |
| 5548 |
tlinea->SetLineWidth(1); |
tlinea->SetLineWidth(1); |
| 5572 |
linea->SetLineWidth(2); |
linea->SetLineWidth(2); |
| 5573 |
linea->SetLineColor(sigcol2); |
linea->SetLineColor(sigcol2); |
| 5574 |
linea->Draw(); |
linea->Draw(); |
| 5575 |
Float_t tx[5] = {x-0.3, x+0.3, x+0.3, x-0.3, x-0.3}; |
Float_t tx[5] = {(float)(x-0.3), (float)(x+0.3), (float)(x+0.3), (float)(x-0.3), (float)(x-0.3)}; |
| 5576 |
Float_t tz[5] = {0., 0., 0.5, 0.5, 0.}; |
Float_t tz[5] = {0., 0., 0.5, 0.5, 0.}; |
| 5577 |
TPolyLine *tlinea = new TPolyLine(5,tx,tz); |
TPolyLine *tlinea = new TPolyLine(5,tx,tz); |
| 5578 |
tlinea->SetLineColor(dcol); |
tlinea->SetLineColor(dcol); |
| 6040 |
// printf("qua \n"); |
// printf("qua \n"); |
| 6041 |
Int_t npoint = 100; |
Int_t npoint = 100; |
| 6042 |
Float_t zin[100]; |
Float_t zin[100]; |
| 6043 |
Double_t xout[100]; |
// Double_t xout[100]; |
| 6044 |
Double_t yout[100]; |
// Double_t yout[100]; |
| 6045 |
Int_t ifail = 0; |
Int_t ifail = 0; |
| 6046 |
Int_t trcol = 10; |
Int_t trcol = 10; |
| 6047 |
// |
// |
| 6059 |
Float_t tzy1[15]; |
Float_t tzy1[15]; |
| 6060 |
// |
// |
| 6061 |
for ( Int_t e = 0; e < 100 ; e++) { |
for ( Int_t e = 0; e < 100 ; e++) { |
| 6062 |
xout[e] = 0.; |
// xout[e] = 0.; |
| 6063 |
yout[e] = 0.; |
// yout[e] = 0.; |
| 6064 |
// |
// |
| 6065 |
tx[e] = 0.; |
tx[e] = 0.; |
| 6066 |
ty[e] = 0.; |
ty[e] = 0.; |
| 6235 |
// |
// |
| 6236 |
stringstream xevent; |
stringstream xevent; |
| 6237 |
stringstream yevent; |
stringstream yevent; |
| 6238 |
Float_t sdexy[2][22][96]; |
// Float_t sdexy[2][22][96]; |
| 6239 |
Float_t sdexyc[2][22][96]; |
// Float_t sdexyc[2][22][96]; |
| 6240 |
// |
// |
| 6241 |
for (Int_t m = 0; m < 22; m++){ |
for (Int_t m = 0; m < 22; m++){ |
| 6242 |
for (Int_t l = 0; l < 2; l++){ |
for (Int_t l = 0; l < 2; l++){ |
| 6251 |
// |
// |
| 6252 |
// determine what kind of event we are going to analyze |
// determine what kind of event we are going to analyze |
| 6253 |
// |
// |
| 6254 |
bool isCOMP = 0; |
// bool isCOMP = 0; |
| 6255 |
bool isFULL = 0; |
// bool isFULL = 0; |
| 6256 |
bool isRAW = 0; |
bool isRAW = 0; |
| 6257 |
if ( de->stwerr[se] & (1 << 16) ) isCOMP = 1; |
// if ( de->stwerr[se] & (1 << 16) ) isCOMP = 1; |
| 6258 |
if ( de->stwerr[se] & (1 << 17) ) isFULL = 1; |
// if ( de->stwerr[se] & (1 << 17) ) isFULL = 1; |
| 6259 |
if ( de->stwerr[se] & (1 << 3) ) isRAW = 1; |
if ( de->stwerr[se] & (1 << 3) ) isRAW = 1; |
| 6260 |
// |
// |
| 6261 |
// save the prevoius energy deposit and calibration in sbase, sdexy, sdexyc |
// save the prevoius energy deposit and calibration in sbase, sdexy, sdexyc |
| 6265 |
for (Int_t nn = 0; nn < 96; nn++){ |
for (Int_t nn = 0; nn < 96; nn++){ |
| 6266 |
if ( nn%16 == 0 ) pre++; |
if ( nn%16 == 0 ) pre++; |
| 6267 |
evento.base[l][m][pre] = calib.calbase[l][m][pre]; |
evento.base[l][m][pre] = calib.calbase[l][m][pre]; |
| 6268 |
sdexy[l][m][nn] = evento.dexy[l][m][nn]; |
// sdexy[l][m][nn] = evento.dexy[l][m][nn]; |
| 6269 |
evento.dexy[l][m][nn] = de->dexy[l][m][nn] ; |
evento.dexy[l][m][nn] = de->dexy[l][m][nn] ; |
| 6270 |
sdexyc[l][m][nn] = evento.dexy[l][m][nn]; |
// sdexyc[l][m][nn] = evento.dexy[l][m][nn]; |
| 6271 |
evento.dexyc[l][m][nn] = de->dexy[l][m][nn] ; |
evento.dexyc[l][m][nn] = de->dexy[l][m][nn] ; |
| 6272 |
}; |
}; |
| 6273 |
}; |
}; |
| 6363 |
// Define variables |
// Define variables |
| 6364 |
// |
// |
| 6365 |
UInt_t etime = var.etime; |
UInt_t etime = var.etime; |
| 6366 |
Float_t estrip[2][22][96], ener, basel,sdexy[2][22][96],sdexyc[2][22][96]; |
Float_t estrip[2][22][96], ener, basel;//,sdexy[2][22][96],sdexyc[2][22][96]; |
| 6367 |
Int_t badstrip = 0; |
Int_t badstrip = 0; |
| 6368 |
qtot = 0.; |
qtot = 0.; |
| 6369 |
nstrip = 0; |
nstrip = 0; |
| 6459 |
// |
// |
| 6460 |
// determine what kind of event we are going to analyze |
// determine what kind of event we are going to analyze |
| 6461 |
// |
// |
| 6462 |
bool isCOMP = 0; |
// bool isCOMP = 0; |
| 6463 |
bool isFULL = 0; |
// bool isFULL = 0; |
| 6464 |
bool isRAW = 0; |
bool isRAW = 0; |
| 6465 |
if ( de->stwerr[se] & (1 << 16) ) isCOMP = 1; |
// if ( de->stwerr[se] & (1 << 16) ) isCOMP = 1; |
| 6466 |
if ( de->stwerr[se] & (1 << 17) ) isFULL = 1; |
// if ( de->stwerr[se] & (1 << 17) ) isFULL = 1; |
| 6467 |
if ( de->stwerr[se] & (1 << 3) ) isRAW = 1; |
if ( de->stwerr[se] & (1 << 3) ) isRAW = 1; |
| 6468 |
// |
// |
| 6469 |
// save the prevoius energy deposit and calibration in sbase, sdexy, sdexyc |
// save the prevoius energy deposit and calibration in sbase, sdexy, sdexyc |
| 6473 |
for (Int_t nn = 0; nn < 96; nn++){ |
for (Int_t nn = 0; nn < 96; nn++){ |
| 6474 |
if ( nn%16 == 0 ) pre++; |
if ( nn%16 == 0 ) pre++; |
| 6475 |
evento.base[l][m][pre] = calib.calbase[l][m][pre]; |
evento.base[l][m][pre] = calib.calbase[l][m][pre]; |
| 6476 |
sdexy[l][m][nn] = evento.dexy[l][m][nn]; |
// sdexy[l][m][nn] = evento.dexy[l][m][nn]; |
| 6477 |
evento.dexy[l][m][nn] = de->dexy[l][m][nn] ; |
evento.dexy[l][m][nn] = de->dexy[l][m][nn] ; |
| 6478 |
sdexyc[l][m][nn] = evento.dexy[l][m][nn]; |
// sdexyc[l][m][nn] = evento.dexy[l][m][nn]; |
| 6479 |
evento.dexyc[l][m][nn] = de->dexy[l][m][nn] ; |
evento.dexyc[l][m][nn] = de->dexy[l][m][nn] ; |
| 6480 |
}; |
}; |
| 6481 |
}; |
}; |
| 6484 |
// |
// |
| 6485 |
Int_t done = 0; |
Int_t done = 0; |
| 6486 |
Int_t rdone = 0; |
Int_t rdone = 0; |
| 6487 |
Int_t fdone = 0; |
// Int_t fdone = 0; |
| 6488 |
pre = -1; |
pre = -1; |
| 6489 |
for (Int_t n =0 ; n < 96; n++){ |
for (Int_t n =0 ; n < 96; n++){ |
| 6490 |
if ( n%16 == 0 ) { |
if ( n%16 == 0 ) { |
| 6491 |
pre++; |
pre++; |
| 6492 |
done = 0; |
done = 0; |
| 6493 |
rdone = 0; |
rdone = 0; |
| 6494 |
fdone = 0; |
// fdone = 0; |
| 6495 |
}; |
}; |
| 6496 |
// |
// |
| 6497 |
// baseline check and calculation |
// baseline check and calculation |
| 6658 |
// |
// |
| 6659 |
stringstream xvev; |
stringstream xvev; |
| 6660 |
stringstream yvev; |
stringstream yvev; |
| 6661 |
for (Int_t ii = 0; ii < L2->GetCaloLevel2()->nstrip; ii++){ |
// for (Int_t ii = 0; ii < L2->GetCaloLevel2()->nstrip; ii++){ |
| 6662 |
|
for (Int_t ii = 0; ii < L2->GetCaloLevel1()->istrip; ii++){ |
| 6663 |
Int_t colo; |
Int_t colo; |
| 6664 |
Int_t l; |
Int_t l; |
| 6665 |
Int_t m; |
Int_t m; |
| 6713 |
} |
} |
| 6714 |
|
|
| 6715 |
void FEVdetector::Calo1stcalib(){ |
void FEVdetector::Calo1stcalib(){ |
| 6716 |
Float_t estrip[2][22][96]; |
// Float_t estrip[2][22][96]; |
| 6717 |
// |
// |
| 6718 |
// this is the value of the mip for each strip. To be changed when we will have the real values |
// this is the value of the mip for each strip. To be changed when we will have the real values |
| 6719 |
// |
// |
| 6731 |
for (Int_t k = 0; k < 22; k++ ){ |
for (Int_t k = 0; k < 22; k++ ){ |
| 6732 |
for (Int_t l = 0; l < 96; l++ ){ |
for (Int_t l = 0; l < 96; l++ ){ |
| 6733 |
calib.calped[m][k][l] = 0. ; |
calib.calped[m][k][l] = 0. ; |
| 6734 |
estrip[m][k][l] = 0.; |
// estrip[m][k][l] = 0.; |
| 6735 |
}; |
}; |
| 6736 |
}; |
}; |
| 6737 |
} |
} |