12 |
* CaloTrkVar constructor |
* CaloTrkVar constructor |
13 |
**/ |
**/ |
14 |
CaloTrkVar::CaloTrkVar() { |
CaloTrkVar::CaloTrkVar() { |
15 |
|
this->Clear(); |
16 |
|
}; |
17 |
|
|
18 |
|
/** |
19 |
|
* Clear variables |
20 |
|
**/ |
21 |
|
void CaloTrkVar::Clear() { |
22 |
trkseqno = 0; |
trkseqno = 0; |
23 |
noint = 0; |
noint = 0; |
24 |
ncore = 0; |
ncore = 0; |
85 |
CaloLevel2::CaloLevel2() { |
CaloLevel2::CaloLevel2() { |
86 |
// |
// |
87 |
CaloTrk = new TClonesArray("CaloTrkVar",1); |
CaloTrk = new TClonesArray("CaloTrkVar",1); |
|
// |
|
|
nstrip = 0; |
|
|
qtot = 0.; |
|
|
impx = 0.; |
|
|
impy = 0.; |
|
|
tanx = 0.; |
|
|
tany = 0.; |
|
|
qmax = 0.; |
|
|
nx22 = 0; |
|
|
qx22 = 0.; |
|
|
elen = 0.; |
|
|
selen = 0.; |
|
|
memset(perr, 0, 4*sizeof(Int_t)); |
|
|
memset(swerr, 0, 4*sizeof(Int_t)); |
|
|
memset(crc, 0, 4*sizeof(Int_t)); |
|
|
memset(qq, 0, 4*sizeof(Int_t)); |
|
|
memset(varcfit, 0, 2*sizeof(Float_t)); |
|
|
memset(npcfit, 0, 2*sizeof(Int_t)); |
|
|
memset(planemax, 0, 2*sizeof(Int_t)); |
|
|
memset(cibar, 0, 2*22*sizeof(Int_t)); |
|
|
memset(cbar, 0, 2*22*sizeof(Float_t)); |
|
|
good = 0; |
|
|
selftrigger = 0; |
|
88 |
estrip = TArrayF(0,NULL); |
estrip = TArrayF(0,NULL); |
89 |
|
// |
90 |
|
this->Clear(); |
91 |
|
// |
92 |
}; |
}; |
93 |
|
|
94 |
void CaloLevel2::Clear() { |
void CaloLevel2::Clear() { |