55 |
|
RelIsoHcal(0), |
56 |
|
tIso1(0), |
57 |
|
tIso3(0), |
58 |
< |
tIso2(0) |
58 |
> |
tIso2(0), |
59 |
> |
ScEta(0.) |
60 |
|
{ |
61 |
|
// Constructor. |
62 |
|
} |
158 |
|
readers[i]->AddVariable( "RelPreshowerEnergy", &RelPreshowerEnergy ); |
159 |
|
} |
160 |
|
} |
161 |
+ |
|
162 |
+ |
if(VariableType==7){ |
163 |
+ |
readers[i]->AddVariable( "HoE", &HoE ); |
164 |
+ |
readers[i]->AddVariable( "covIEtaIEta", &covIEtaIEta ); |
165 |
+ |
readers[i]->AddVariable( "tIso1abs", &tIso1abs ); |
166 |
+ |
readers[i]->AddVariable( "tIso3abs", &tIso3abs ); |
167 |
+ |
readers[i]->AddVariable( "tIso2abs", &tIso2abs ); |
168 |
+ |
readers[i]->AddVariable( "R9", &R9 ); |
169 |
+ |
readers[i]->AddVariable( "absIsoEcal", &absIsoEcal ); |
170 |
+ |
readers[i]->AddVariable( "absIsoHcal", &absIsoHcal ); |
171 |
+ |
readers[i]->AddVariable( "NVertexes", &NVertexes ); |
172 |
+ |
readers[i]->AddVariable( "ScEta", &ScEta ); |
173 |
+ |
} |
174 |
|
|
175 |
|
} |
176 |
|
|
225 |
|
|
226 |
|
isbarrel = (fabs(ScEta_MVA)<1.4442); |
227 |
|
|
228 |
< |
//R9 = p->R9(); |
229 |
< |
R9 = p->E33()/p->SCluster()->RawEnergy(); |
228 |
> |
R9 = p->R9(); |
229 |
> |
//R9 = p->E33()/p->SCluster()->RawEnergy(); |
230 |
|
|
231 |
|
// check which category it is ... |
232 |
|
_tCat = 1; |
263 |
|
|
264 |
|
RawEnergy = p->SCluster()->RawEnergy(); |
265 |
|
|
266 |
+ |
ScEta = p->SCluster()->Eta(); |
267 |
+ |
|
268 |
|
//mva varialbes v1 and v2 |
269 |
|
tIso1 = (combIso1) *50./p->Et(); |
270 |
|
tIso3 = (trackIso1)*50./p->Et(); |