| 36 |
PKT = 0; |
PKT = 0; |
| 37 |
atime = 0; |
atime = 0; |
| 38 |
// |
// |
| 39 |
|
usepl18x = false; |
| 40 |
|
// |
| 41 |
crig = false; |
crig = false; |
| 42 |
sel = true; |
sel = true; |
| 43 |
cont = false; |
cont = false; |
| 131 |
}; |
}; |
| 132 |
} |
} |
| 133 |
|
|
| 134 |
|
void CaloFranzini::SplitInto(Int_t NoWpreSampler, Int_t NoWcalo){ |
| 135 |
|
this->SetNoWpreSampler(0); |
| 136 |
|
this->SetNoWcalo(0); |
| 137 |
|
if ( NoWpreSampler < NoWcalo ){ |
| 138 |
|
this->SetNoWpreSampler(NoWpreSampler); |
| 139 |
|
this->SetNoWcalo(NoWcalo); |
| 140 |
|
} else { |
| 141 |
|
this->SetNoWcalo(NoWcalo); |
| 142 |
|
this->SetNoWpreSampler(NoWpreSampler); |
| 143 |
|
}; |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
|
| 147 |
void CaloFranzini::Process(){ |
void CaloFranzini::Process(){ |
| 148 |
this->Process(0); |
this->Process(0); |
| 149 |
} |
} |
| 203 |
// |
// |
| 204 |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
| 205 |
// |
// |
| 206 |
|
if ( !usepl18x && view==0 && plane==18 ) mip = 0.; |
| 207 |
|
// |
| 208 |
estrip[view][plane][strip] = mip; |
estrip[view][plane][strip] = mip; |
| 209 |
// |
// |
| 210 |
nplane = 1 - view + 2 * (plane - N); |
nplane = 1 - view + 2 * (plane - N); |
| 298 |
// |
// |
| 299 |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
| 300 |
// |
// |
| 301 |
|
if ( !usepl18x && view==0 && plane==18 ) mip = 0.; |
| 302 |
|
// |
| 303 |
// nplane = 1 - view + 2 * plane; |
// nplane = 1 - view + 2 * plane; |
| 304 |
// if ( nplane > 37 ) nplane--; |
// if ( nplane > 37 ) nplane--; |
| 305 |
nplane = 1 - view + 2 * (plane - N); |
nplane = 1 - view + 2 * (plane - N); |
| 877 |
// |
// |
| 878 |
} |
} |
| 879 |
|
|
| 880 |
void CaloFranzini::LoadFullMatrix(Int_t rigbin, TMatrixF *&fmatri){ |
void CaloFranzini::LoadFullMatrix(Int_t rigbin, TMatrixF *fmatri){ |
| 881 |
// |
// |
| 882 |
TString name = Form("origfmatrixn%i",rigbin); |
TString name = Form("origfmatrixn%i",rigbin); |
| 883 |
fmatri=(TMatrixF*)ffile->Get(name.Data()); |
fmatri=(TMatrixF*)ffile->Get(name.Data()); |