70 |
|
,idCutBasedTight_(-9999.) |
71 |
|
,idLikelihood_(-9999.) |
72 |
|
,idNeuralNet_(-9999.) |
73 |
– |
,genElectron_() |
74 |
– |
,electronMCIndex_(-1) |
75 |
– |
,momentumMCElectron_() |
76 |
– |
,vertexMCElectron_() |
77 |
– |
,pdgIdMCElectron_(0) |
73 |
|
{;} |
74 |
|
|
75 |
|
TRootElectron(const TRootElectron& electron) : |
127 |
|
,idCutBasedTight_(electron.idCutBasedTight_) |
128 |
|
,idLikelihood_(electron.idLikelihood_) |
129 |
|
,idNeuralNet_(electron.idNeuralNet_) |
135 |
– |
,genElectron_(electron.genElectron_) |
136 |
– |
,electronMCIndex_(electron.electronMCIndex_) |
137 |
– |
,momentumMCElectron_(electron.momentumMCElectron_) |
138 |
– |
,vertexMCElectron_(electron.vertexMCElectron_) |
139 |
– |
,pdgIdMCElectron_(electron.pdgIdMCElectron_) |
130 |
|
{;} |
131 |
|
|
132 |
|
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e) : |
184 |
|
,idCutBasedTight_(-9999.) |
185 |
|
,idLikelihood_(-9999.) |
186 |
|
,idNeuralNet_(-9999.) |
197 |
– |
,genElectron_() |
198 |
– |
,electronMCIndex_(-1) |
199 |
– |
,momentumMCElectron_() |
200 |
– |
,vertexMCElectron_() |
201 |
– |
,pdgIdMCElectron_(0) |
187 |
|
{;} |
188 |
|
|
189 |
|
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z) : |
241 |
|
,idCutBasedTight_(-9999.) |
242 |
|
,idLikelihood_(-9999.) |
243 |
|
,idNeuralNet_(-9999.) |
259 |
– |
,genElectron_() |
260 |
– |
,electronMCIndex_(-1) |
261 |
– |
,momentumMCElectron_() |
262 |
– |
,vertexMCElectron_() |
263 |
– |
,pdgIdMCElectron_(0) |
244 |
|
{;} |
245 |
|
|
246 |
|
TRootElectron(Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vtx_x, Double_t vtx_y, Double_t vtx_z, Int_t type, Float_t charge) : |
298 |
|
,idCutBasedTight_(-9999.) |
299 |
|
,idLikelihood_(-9999.) |
300 |
|
,idNeuralNet_(-9999.) |
321 |
– |
,genElectron_() |
322 |
– |
,electronMCIndex_(-1) |
323 |
– |
,momentumMCElectron_() |
324 |
– |
,vertexMCElectron_() |
325 |
– |
,pdgIdMCElectron_(0) |
301 |
|
{;} |
302 |
|
|
303 |
|
TRootElectron(const TLorentzVector &momentum) : |
355 |
|
,idCutBasedTight_(-9999.) |
356 |
|
,idLikelihood_(-9999.) |
357 |
|
,idNeuralNet_(-9999.) |
383 |
– |
,genElectron_() |
384 |
– |
,electronMCIndex_(-1) |
385 |
– |
,momentumMCElectron_() |
386 |
– |
,vertexMCElectron_() |
387 |
– |
,pdgIdMCElectron_(0) |
358 |
|
{;} |
359 |
|
|
360 |
|
TRootElectron(const TLorentzVector &momentum, const TVector3 &vertex, Int_t type, Float_t charge) : |
412 |
|
,idCutBasedTight_(-9999.) |
413 |
|
,idLikelihood_(-9999.) |
414 |
|
,idNeuralNet_(-9999.) |
445 |
– |
,genElectron_() |
446 |
– |
,electronMCIndex_(-1) |
447 |
– |
,momentumMCElectron_() |
448 |
– |
,vertexMCElectron_() |
449 |
– |
,pdgIdMCElectron_(0) |
415 |
|
{;} |
416 |
|
|
417 |
|
~TRootElectron() {;} |
470 |
|
Float_t idCutBasedTight() const { return idCutBasedTight_ ;} |
471 |
|
Float_t idLikelihood() const { return idLikelihood_ ;} |
472 |
|
Float_t idNeuralNet() const { return idNeuralNet_ ;} |
473 |
< |
TObject* genElectron() const { return genElectron_.GetObject() ;} |
474 |
< |
Int_t electronMCIndex() const { return electronMCIndex_; } |
510 |
< |
TLorentzVector momentumMCElectron() const { return momentumMCElectron_; } |
511 |
< |
TVector3 vertexMCElectron() const { return vertexMCElectron_; } |
512 |
< |
Int_t pdgIdMCElectron() const { return pdgIdMCElectron_; } |
473 |
> |
|
474 |
> |
virtual TString typeName() const { return "TRootElectron"; } |
475 |
|
|
476 |
|
|
477 |
|
void setClassification(Int_t classification) { classification_ = classification; } |
528 |
|
void setIDCutBasedTight(Float_t idCutBasedTight) { idCutBasedTight_ = idCutBasedTight; } |
529 |
|
void setIDLikelihood(Float_t idLikelihood) { idLikelihood_ = idLikelihood; } |
530 |
|
void setIDNeuralNet(Float_t idNeuralNet) { idNeuralNet_ = idNeuralNet; } |
569 |
– |
void setGenElectron(TObject* genElectron) { genElectron_ = genElectron; } |
570 |
– |
void setElectronMCIndex(Int_t electronMCIndex) { electronMCIndex_ = electronMCIndex; } |
571 |
– |
void setMomentumMCElectron(TLorentzVector momentumMCElectron) { momentumMCElectron_ = momentumMCElectron; } |
572 |
– |
void setMomentumMCElectron(Float_t px, Float_t py, Float_t pz , Float_t energy) { momentumMCElectron_ = TLorentzVector(px,py,pz,energy); } |
573 |
– |
void setVertexMCElectron(TVector3 vertexMCElectron) { vertexMCElectron_ = vertexMCElectron; } |
574 |
– |
void setVertexMCElectron(Float_t vx, Float_t vy, Float_t vz) { vertexMCElectron_ = TVector3(vx,vy,vz); } |
575 |
– |
void setPdgIdMCElectron(Int_t pdgIdMCElectron) { pdgIdMCElectron_ = pdgIdMCElectron; } |
531 |
|
|
532 |
|
friend std::ostream& operator<< (std::ostream& stream, const TRootElectron& electron) { |
533 |
|
stream << "TRootElectron - Charge=" << electron.charge() << " (Et,eta,phi)=("<< electron.Et() <<","<< electron.Eta() <<","<< electron.Phi() << ")" |
663 |
|
Float_t idNeuralNet_; |
664 |
|
|
665 |
|
// Matched genParticle |
711 |
– |
TRef genElectron_; |
712 |
– |
Int_t electronMCIndex_; |
666 |
|
TLorentzVector momentumMCElectron_; |
667 |
|
TVector3 vertexMCElectron_; |
668 |
|
Int_t pdgIdMCElectron_; |