CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
reco::PFCandidateEGammaExtra Class Reference

#include <PFCandidateEGammaExtra.h>

Public Types

enum  ElectronVetoes {
  kFailsMVA, kKFTracksOnGSFCluster, kFailsTrackAndHCALIso, kKillAdditionalKFs,
  kItIsAPion, kCrazyEoverP, kTooLargeAngle, kN_EVETOS
}
 
enum  MvaVariable {
  MVA_FIRST =0, MVA_LnPtGsf =MVA_FIRST, MVA_EtaGsf, MVA_SigmaPtOverPt,
  MVA_Fbrem, MVA_Chi2Gsf, MVA_NhitsKf, MVA_Chi2Kf,
  MVA_EtotOverPin, MVA_EseedOverPout, MVA_EbremOverDeltaP, MVA_DeltaEtaTrackCluster,
  MVA_LogSigmaEtaEta, MVA_HOverHE, MVA_LateBrem, MVA_FirstBrem,
  MVA_MVA, MVA_LAST
}
 
enum  PhotonVetoes { kFailsTrackIso, kN_PHOVETOS }
 
enum  StatusFlag {
  X =0, Selected, ECALDrivenPreselected, MVASelected,
  Rejected
}
 

Public Member Functions

void addConversionRef (const reco::ConversionRef &convref)
 add Conversions from PF More...
 
void addExtraNonConvTrack (const reco::PFBlockRef &blk, const reco::PFBlockElementTrack &tkref)
 track counting for electrons and photons More...
 
void addSingleLegConversionRef (const reco::ConversionRef &convref)
 add Conversions from PF More...
 
void addSingleLegConvTrackRefMva (const std::pair< reco::TrackRef, float > &trackrefmva)
 add Single Leg Conversion TrackRef More...
 
reco::ConversionRefVector conversionRef () const
 return Conversions from PF More...
 
bool electronStatus (StatusFlag) const
 access to the status More...
 
int electronStatus () const
 access to the status More...
 
const ElementsInBlocksextraNonConvTracks () const
 
const ElementInBlockgsfElectronClusterRef () const
 return a reference to the electron cluster ref More...
 
reco::GsfTrackRef gsfTrackRef () const
 return a reference to the corresponding GSF track More...
 
float hadEnergy () const
 access to specific variables More...
 
reco::TrackRef kfTrackRef () const
 return a reference to the corresponding KF track More...
 
bool mvaStatus (MvaVariable flag) const
 access to mva variable status More...
 
float mvaVariable (MvaVariable var) const
 access to any variable More...
 
const std::vector< float > & mvaVariables () const
 access to the mva variables More...
 
 PFCandidateEGammaExtra ()
 constructor More...
 
 PFCandidateEGammaExtra (const GsfTrackRef &)
 constructor More...
 
void setClusterEnergies (const std::vector< float > &energies)
 set the cluster energies. the Pout should be saved first More...
 
void setDeltaEta (float val)
 set the delta eta More...
 
void setEarlyBrem (float val)
 set EarlyBrem More...
 
void setGsfElectronClusterRef (const reco::PFBlockRef &blk, const reco::PFBlockElementCluster &ref)
 set gsf electron cluster ref More...
 
void setGsfTrackPout (const math::XYZTLorentzVector &pout)
 set the pout (not trivial to get from the GSF track) More...
 
void setGsfTrackRef (const reco::GsfTrackRef &ref)
 set gsftrack reference More...
 
void setHadEnergy (float val)
 set the had energy. The cluster energies should be entered before More...
 
void setKfTrackRef (const reco::TrackRef &ref)
 set kf track reference More...
 
void setLateBrem (float val)
 set LateBrem More...
 
void setMVA (float val)
 set the result (mostly for debugging) More...
 
void setSigmaEtaEta (float val)
 set the sigmaetaeta More...
 
void setStatus (StatusFlag type, bool status=true)
 set status More...
 
void setSuperClusterPFECALRef (reco::SuperClusterRef sc)
 set reference to the corresponding supercluster More...
 
void setSuperClusterRef (reco::SuperClusterRef sc)
 set reference to the corresponding supercluster More...
 
float sigmaEtaEta () const
 
reco::ConversionRefVector singleLegConversionRef () const
 return Conversions from PF More...
 
const std::vector< std::pair< reco::TrackRef, float > > & singleLegConvTrackRefMva () const
 return vector of Single Leg Conversion TrackRef from More...
 
reco::SuperClusterRef superClusterPFECALRef () const
 return a reference to the corresponding box supercluster More...
 
reco::SuperClusterRef superClusterRef () const
 return a reference to the corresponding supercluster More...
 
 ~PFCandidateEGammaExtra ()
 destructor More...
 

Private Member Functions

void setVariable (MvaVariable type, float var)
 

Private Attributes

reco::ConversionRefVector assoConversionsRef_
 vector of ConversionRef from PF More...
 
ElementsInBlocks assoNonConvExtraTracks_
 
std::vector< std::pair< reco::TrackRef, float > > assoSingleLeg_
 vector of TrackRef from Single Leg conversions and associated mva value More...
 
std::vector< float > clusterEnergies_
 
float deltaEta_
 
float earlyBrem_
 
ElementInBlock eleGsfCluster_
 Ref to the electron gsf cluster;. More...
 
reco::GsfTrackRef gsfTrackRef_
 Ref to the GSF track. More...
 
float hadEnergy_
 
reco::TrackRef kfTrackRef_
 Ref to the KF track. More...
 
float lateBrem_
 
int mvaStatus_
 status of mva variables More...
 
std::vector< float > mvaVariables_
 mva variables - transient ! More...
 
math::XYZTLorentzVector pout_
 Variables entering the MVA that should be saved. More...
 
reco::SuperClusterRef scPFECALRef_
 Ref to PF-ECAL only supercluster. More...
 
reco::SuperClusterRef scRef_
 Ref to (refined) supercluster. More...
 
float sigmaEtaEta_
 
reco::ConversionRefVector singleLegConversions_
 
int status_
 Status of the electron. More...
 

Detailed Description

extra information on the photon/electron particle candidate from particle flow

Definition at line 25 of file PFCandidateEGammaExtra.h.

Member Enumeration Documentation

Enumerator
kFailsMVA 
kKFTracksOnGSFCluster 
kFailsTrackAndHCALIso 
kKillAdditionalKFs 
kItIsAPion 
kCrazyEoverP 
kTooLargeAngle 
kN_EVETOS 

Definition at line 57 of file PFCandidateEGammaExtra.h.

Enumerator
MVA_FIRST 
MVA_LnPtGsf 
MVA_EtaGsf 
MVA_SigmaPtOverPt 
MVA_Fbrem 
MVA_Chi2Gsf 
MVA_NhitsKf 
MVA_Chi2Kf 
MVA_EtotOverPin 
MVA_EseedOverPout 
MVA_EbremOverDeltaP 
MVA_DeltaEtaTrackCluster 
MVA_LogSigmaEtaEta 
MVA_HOverHE 
MVA_LateBrem 
MVA_FirstBrem 
MVA_MVA 
MVA_LAST 

Definition at line 36 of file PFCandidateEGammaExtra.h.

36  {
37  MVA_FIRST=0,
39  MVA_EtaGsf,
41  MVA_Fbrem,
44  MVA_Chi2Kf,
53  MVA_MVA,
54  MVA_LAST
55  };
Enumerator
kFailsTrackIso 
kN_PHOVETOS 

Definition at line 68 of file PFCandidateEGammaExtra.h.

Enumerator
Selected 
ECALDrivenPreselected 
MVASelected 
Rejected 

Definition at line 27 of file PFCandidateEGammaExtra.h.

Constructor & Destructor Documentation

PFCandidateEGammaExtra::PFCandidateEGammaExtra ( )

constructor

Definition at line 8 of file PFCandidateEGammaExtra.cc.

References gsfTrackRef_, hadEnergy_, kfTrackRef_, funct::m, MVA_FIRST, MVA_LAST, mvaStatus_, mvaVariables_, pout_, sigmaEtaEta_, and status_.

8  {
9  status_ = 0;
10  mvaStatus_ = 0;
11  pout_ = math::XYZTLorentzVector(0.,0.,0.,0.);
12  hadEnergy_ = -9999. ;
13  sigmaEtaEta_ = -9999.;
14 
16  mvaVariables_.push_back(-9999.);
17 
20 }
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
Definition: GsfTrackFwd.h:13
reco::TrackRef kfTrackRef_
Ref to the KF track.
int status_
Status of the electron.
int mvaStatus_
status of mva variables
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
std::vector< float > mvaVariables_
mva variables - transient !
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:21
PFCandidateEGammaExtra::PFCandidateEGammaExtra ( const GsfTrackRef gsfTrack)

constructor

Definition at line 22 of file PFCandidateEGammaExtra.cc.

References gsfTrackRef_, hadEnergy_, kfTrackRef_, cmsBatch::log, funct::m, MVA_Chi2Gsf, MVA_EtaGsf, MVA_Fbrem, MVA_FIRST, MVA_LAST, MVA_LnPtGsf, MVA_SigmaPtOverPt, mvaStatus_, mvaVariables_, pout_, setVariable(), sigmaEtaEta_, and status_.

22  {
23  status_ = 0;
24  mvaStatus_ = 0;
25  pout_ = math::XYZTLorentzVector(0.,0.,0.,0.);
26  hadEnergy_ = -9999. ;
27  sigmaEtaEta_ = -9999.;
28 
30  mvaVariables_.push_back(-9999.);
31 
32  gsfTrackRef_ = gsfTrack;
34 
37  setVariable(MVA_Chi2Gsf,gsfTrackRef_->normalizedChi2());
38  float ptmodeerror=gsfTrackRef_->ptModeError() ;
39  if(ptmodeerror>0.)
40  setVariable(MVA_SigmaPtOverPt,ptmodeerror/gsfTrackRef_->ptMode());
41  else
43 
44  setVariable(MVA_Fbrem,(gsfTrackRef_->ptMode() - pout_.pt())/gsfTrackRef_->ptMode());
45 }
reco::TrackRef kfTrackRef_
Ref to the KF track.
int status_
Status of the electron.
int mvaStatus_
status of mva variables
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
std::vector< float > mvaVariables_
mva variables - transient !
void setVariable(MvaVariable type, float var)
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:21
reco::PFCandidateEGammaExtra::~PFCandidateEGammaExtra ( )
inline

destructor

Definition at line 79 of file PFCandidateEGammaExtra.h.

References setGsfTrackRef(), and setKfTrackRef().

79 {;}

Member Function Documentation

void PFCandidateEGammaExtra::addConversionRef ( const reco::ConversionRef convref)

add Conversions from PF

Definition at line 160 of file PFCandidateEGammaExtra.cc.

References assoConversionsRef_, and edm::RefVector< C, T, F >::push_back().

Referenced by PFEGammaAlgo::fillPFCandidates(), and singleLegConvTrackRefMva().

160  {
162 }
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
void reco::PFCandidateEGammaExtra::addExtraNonConvTrack ( const reco::PFBlockRef blk,
const reco::PFBlockElementTrack tkref 
)
inline

track counting for electrons and photons

Definition at line 180 of file PFCandidateEGammaExtra.h.

References assoNonConvExtraTracks_, reco::PFBlockElement::index(), reco::PFBlockElement::T_FROM_GAMMACONV, and reco::PFBlockElementTrack::trackType().

Referenced by PFEGammaAlgo::fillExtraInfo().

181  {
183  assoNonConvExtraTracks_.push_back(std::make_pair(blk,tkref.index()));
184  }
185  }
bool trackType(TrackType trType) const override
unsigned index() const
void PFCandidateEGammaExtra::addSingleLegConversionRef ( const reco::ConversionRef convref)

add Conversions from PF

Definition at line 164 of file PFCandidateEGammaExtra.cc.

References edm::RefVector< C, T, F >::push_back(), and singleLegConversions_.

Referenced by conversionRef().

164  {
166 }
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
reco::ConversionRefVector singleLegConversions_
void PFCandidateEGammaExtra::addSingleLegConvTrackRefMva ( const std::pair< reco::TrackRef, float > &  trackrefmva)

add Single Leg Conversion TrackRef

Definition at line 156 of file PFCandidateEGammaExtra.cc.

References assoSingleLeg_.

Referenced by PFEGammaAlgo::fillPFCandidates(), and setSuperClusterPFECALRef().

156  {
157  assoSingleLeg_.push_back(trackrefmva);
158 }
std::vector< std::pair< reco::TrackRef, float > > assoSingleLeg_
vector of TrackRef from Single Leg conversions and associated mva value
reco::ConversionRefVector reco::PFCandidateEGammaExtra::conversionRef ( ) const
inline

return Conversions from PF

Definition at line 126 of file PFCandidateEGammaExtra.h.

References addSingleLegConversionRef(), and assoConversionsRef_.

126 {return assoConversionsRef_;}
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
bool PFCandidateEGammaExtra::electronStatus ( StatusFlag  flag) const

access to the status

Definition at line 144 of file PFCandidateEGammaExtra.cc.

References RemoveAddSevLevel::flag, and status_.

144  {
145  return status_ & (1<<flag) ;
146 }
int status_
Status of the electron.
int reco::PFCandidateEGammaExtra::electronStatus ( ) const
inline

access to the status

Definition at line 164 of file PFCandidateEGammaExtra.h.

References RemoveAddSevLevel::flag, mvaStatus(), and status_.

Referenced by singleLegConversionRef().

164 {return status_;}
int status_
Status of the electron.
const ElementsInBlocks& reco::PFCandidateEGammaExtra::extraNonConvTracks ( ) const
inline

Definition at line 186 of file PFCandidateEGammaExtra.h.

References assoNonConvExtraTracks_, and setVariable().

186  {
188  }
const ElementInBlock& reco::PFCandidateEGammaExtra::gsfElectronClusterRef ( ) const
inline

return a reference to the electron cluster ref

Definition at line 100 of file PFCandidateEGammaExtra.h.

References eleGsfCluster_.

100  {
101  return eleGsfCluster_;
102  }
ElementInBlock eleGsfCluster_
Ref to the electron gsf cluster;.
reco::GsfTrackRef reco::PFCandidateEGammaExtra::gsfTrackRef ( ) const
inline

return a reference to the corresponding GSF track

Definition at line 94 of file PFCandidateEGammaExtra.h.

References gsfTrackRef_.

94 { return gsfTrackRef_; }
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
float reco::PFCandidateEGammaExtra::hadEnergy ( ) const
inline

access to specific variables

Definition at line 176 of file PFCandidateEGammaExtra.h.

References hadEnergy_.

reco::TrackRef reco::PFCandidateEGammaExtra::kfTrackRef ( ) const
inline

return a reference to the corresponding KF track

Definition at line 97 of file PFCandidateEGammaExtra.h.

References kfTrackRef_.

97 { return kfTrackRef_; }
reco::TrackRef kfTrackRef_
Ref to the KF track.
bool PFCandidateEGammaExtra::mvaStatus ( MvaVariable  flag) const

access to mva variable status

Definition at line 148 of file PFCandidateEGammaExtra.cc.

References RemoveAddSevLevel::flag, and mvaStatus_.

Referenced by electronStatus(), mvaVariable(), and reco::operator<<().

148  {
149  return mvaStatus_ & (1<< (flag)) ;
150 }
int mvaStatus_
status of mva variables
float PFCandidateEGammaExtra::mvaVariable ( MvaVariable  var) const

access to any variable

Definition at line 152 of file PFCandidateEGammaExtra.cc.

References mvaStatus(), and mvaVariables_.

Referenced by mvaVariables(), and reco::operator<<().

152  {
153  return (mvaStatus(var) ? mvaVariables_[var] : -9999. );
154 }
std::vector< float > mvaVariables_
mva variables - transient !
bool mvaStatus(MvaVariable flag) const
access to mva variable status
const std::vector<float>& reco::PFCandidateEGammaExtra::mvaVariables ( ) const
inline

access to the mva variables

Definition at line 170 of file PFCandidateEGammaExtra.h.

References mvaVariable(), mvaVariables_, and JetChargeProducer_cfi::var.

170 {return mvaVariables_;}
std::vector< float > mvaVariables_
mva variables - transient !
void PFCandidateEGammaExtra::setClusterEnergies ( const std::vector< float > &  energies)

set the cluster energies. the Pout should be saved first

Definition at line 96 of file PFCandidateEGammaExtra.cc.

References clusterEnergies_, gsfTrackRef_, hadEnergy_, MVA_EbremOverDeltaP, MVA_EseedOverPout, MVA_EtotOverPin, pout_, setHadEnergy(), setVariable(), findQualityFiles::size, and mathSSE::sqrt().

Referenced by singleLegConversionRef().

96  {
97  clusterEnergies_=energies;
98 
99  if(pout_.t()!=0.)
101 
102  const float m_el2=0.00051*0.00051;
103  float Ein_gsf =sqrt(gsfTrackRef_->pMode()*
104  gsfTrackRef_->pMode()+m_el2);
105 
106  float etot=0;
107  unsigned size=clusterEnergies_.size();
108  // std::cout << " N clusters " << size << std::endl;
109  float ebrem=0.;
110  for(unsigned ic=0;ic<size;++ic) {
111  etot+=clusterEnergies_[ic];
112  if(ic>0)
113  ebrem+=clusterEnergies_[ic];
114  }
115  setVariable(MVA_EtotOverPin,etot/Ein_gsf);
116  setVariable(MVA_EbremOverDeltaP,ebrem/(Ein_gsf-pout_.t()));
117 
118  // recompute - as in PFElectronAglo, the had energy is filled before the cluster energies
119  if(hadEnergy_!=-9999.)
121 
122 }
size
Write out results.
void setHadEnergy(float val)
set the had energy. The cluster energies should be entered before
T sqrt(T t)
Definition: SSEVec.h:18
void setVariable(MvaVariable type, float var)
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
void PFCandidateEGammaExtra::setDeltaEta ( float  val)
void PFCandidateEGammaExtra::setEarlyBrem ( float  val)
void reco::PFCandidateEGammaExtra::setGsfElectronClusterRef ( const reco::PFBlockRef blk,
const reco::PFBlockElementCluster ref 
)
inline

set gsf electron cluster ref

Definition at line 88 of file PFCandidateEGammaExtra.h.

References eleGsfCluster_, and reco::PFBlockElement::index().

Referenced by PFEGammaAlgo::calculateEleMVA().

89  {
90  eleGsfCluster_ = ElementInBlock(blk,ref.index());
91  }
ElementInBlock eleGsfCluster_
Ref to the electron gsf cluster;.
unsigned index() const
std::pair< reco::PFBlockRef, unsigned > ElementInBlock
void PFCandidateEGammaExtra::setGsfTrackPout ( const math::XYZTLorentzVector pout)

set the pout (not trivial to get from the GSF track)

Definition at line 51 of file PFCandidateEGammaExtra.cc.

References pout_.

Referenced by PFEGammaAlgo::calculateEleMVA(), and singleLegConversionRef().

51  {
52  pout_ = pout;
53 
54 }
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
void PFCandidateEGammaExtra::setGsfTrackRef ( const reco::GsfTrackRef ref)

set gsftrack reference

Definition at line 47 of file PFCandidateEGammaExtra.cc.

References gsfTrackRef_.

Referenced by PFEGammaAlgo::fillPFCandidates(), and ~PFCandidateEGammaExtra().

47  {
48  gsfTrackRef_= ref;
49 }
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
void PFCandidateEGammaExtra::setHadEnergy ( float  val)
void PFCandidateEGammaExtra::setKfTrackRef ( const reco::TrackRef ref)

set kf track reference

Definition at line 56 of file PFCandidateEGammaExtra.cc.

References objects.autophobj::float, edm::Ref< C, T, F >::isNonnull(), kfTrackRef_, MVA_Chi2Kf, MVA_NhitsKf, and setVariable().

Referenced by PFEGammaAlgo::fillPFCandidates(), and ~PFCandidateEGammaExtra().

56  {
57  kfTrackRef_ = ref;
58  float nhit_kf=0;
59  float chi2_kf=-0.01;
60  // if the reference is null, it does not mean that the variables have not been set
61  if(kfTrackRef_.isNonnull()) {
62  nhit_kf=(float)kfTrackRef_->hitPattern().trackerLayersWithMeasurement();
63  chi2_kf=kfTrackRef_->normalizedChi2();
64  }
65  setVariable(MVA_NhitsKf,nhit_kf);
66  setVariable(MVA_Chi2Kf,chi2_kf);
67 }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:251
reco::TrackRef kfTrackRef_
Ref to the KF track.
void setVariable(MvaVariable type, float var)
void PFCandidateEGammaExtra::setLateBrem ( float  val)
void PFCandidateEGammaExtra::setMVA ( float  val)

set the result (mostly for debugging)

Definition at line 124 of file PFCandidateEGammaExtra.cc.

References MVA_MVA, and setVariable().

Referenced by PFEGammaAlgo::fillPFCandidates(), and singleLegConversionRef().

void PFCandidateEGammaExtra::setSigmaEtaEta ( float  val)
void PFCandidateEGammaExtra::setStatus ( StatusFlag  type,
bool  status = true 
)

set status

Definition at line 135 of file PFCandidateEGammaExtra.cc.

References status_.

Referenced by singleLegConversionRef().

135  {
136  if(status) {
137  status_ |= (1 << type);
138  }
139  else {
140  status_ &= ~(1 <<type);
141  }
142 }
type
Definition: HCALResponse.h:21
int status_
Status of the electron.
void reco::PFCandidateEGammaExtra::setSuperClusterPFECALRef ( reco::SuperClusterRef  sc)
inline

set reference to the corresponding supercluster

Definition at line 114 of file PFCandidateEGammaExtra.h.

References addSingleLegConvTrackRefMva(), SimDataFormats::CaloAnalysis::sc, and scPFECALRef_.

Referenced by PFEGammaAlgo::fillPFCandidates().

114 { scPFECALRef_ = sc; }
reco::SuperClusterRef scPFECALRef_
Ref to PF-ECAL only supercluster.
void reco::PFCandidateEGammaExtra::setSuperClusterRef ( reco::SuperClusterRef  sc)
inline

set reference to the corresponding supercluster

Definition at line 111 of file PFCandidateEGammaExtra.h.

References SimDataFormats::CaloAnalysis::sc, and scRef_.

Referenced by PFEGammaAlgo::fillPFCandidates(), and PFEGammaProducer::produce().

111 { scRef_ = sc; }
reco::SuperClusterRef scRef_
Ref to (refined) supercluster.
void PFCandidateEGammaExtra::setVariable ( MvaVariable  type,
float  var 
)
private

Definition at line 128 of file PFCandidateEGammaExtra.cc.

References mvaStatus_, mvaVariables_, and heppy_batch::val.

Referenced by extraNonConvTracks(), PFCandidateEGammaExtra(), setClusterEnergies(), setDeltaEta(), setEarlyBrem(), setHadEnergy(), setKfTrackRef(), setLateBrem(), setMVA(), and setSigmaEtaEta().

128  {
129 
131  mvaStatus_ |= (1 << (type)) ;
132 }
type
Definition: HCALResponse.h:21
int mvaStatus_
status of mva variables
std::vector< float > mvaVariables_
mva variables - transient !
float reco::PFCandidateEGammaExtra::sigmaEtaEta ( ) const
inline

Definition at line 177 of file PFCandidateEGammaExtra.h.

References sigmaEtaEta_.

reco::ConversionRefVector reco::PFCandidateEGammaExtra::singleLegConversionRef ( ) const
inline
const std::vector<std::pair<reco::TrackRef, float > >& reco::PFCandidateEGammaExtra::singleLegConvTrackRefMva ( ) const
inline

return vector of Single Leg Conversion TrackRef from

Definition at line 120 of file PFCandidateEGammaExtra.h.

References addConversionRef(), and assoSingleLeg_.

120 {return assoSingleLeg_;}
std::vector< std::pair< reco::TrackRef, float > > assoSingleLeg_
vector of TrackRef from Single Leg conversions and associated mva value
reco::SuperClusterRef reco::PFCandidateEGammaExtra::superClusterPFECALRef ( ) const
inline

return a reference to the corresponding box supercluster

Definition at line 108 of file PFCandidateEGammaExtra.h.

References scPFECALRef_.

108 {return scPFECALRef_ ; }
reco::SuperClusterRef scPFECALRef_
Ref to PF-ECAL only supercluster.
reco::SuperClusterRef reco::PFCandidateEGammaExtra::superClusterRef ( ) const
inline

return a reference to the corresponding supercluster

Definition at line 105 of file PFCandidateEGammaExtra.h.

References scRef_.

105 {return scRef_ ; }
reco::SuperClusterRef scRef_
Ref to (refined) supercluster.

Member Data Documentation

reco::ConversionRefVector reco::PFCandidateEGammaExtra::assoConversionsRef_
private

vector of ConversionRef from PF

Definition at line 214 of file PFCandidateEGammaExtra.h.

Referenced by addConversionRef(), and conversionRef().

ElementsInBlocks reco::PFCandidateEGammaExtra::assoNonConvExtraTracks_
private

Definition at line 211 of file PFCandidateEGammaExtra.h.

Referenced by addExtraNonConvTrack(), and extraNonConvTracks().

std::vector<std::pair<reco::TrackRef, float> > reco::PFCandidateEGammaExtra::assoSingleLeg_
private

vector of TrackRef from Single Leg conversions and associated mva value

Definition at line 208 of file PFCandidateEGammaExtra.h.

Referenced by addSingleLegConvTrackRefMva(), and singleLegConvTrackRefMva().

std::vector<float> reco::PFCandidateEGammaExtra::clusterEnergies_
private

energy of individual clusters (corrected). The first cluster is the seed

Definition at line 221 of file PFCandidateEGammaExtra.h.

Referenced by setClusterEnergies(), and setHadEnergy().

float reco::PFCandidateEGammaExtra::deltaEta_
private

Definition at line 238 of file PFCandidateEGammaExtra.h.

Referenced by setDeltaEta().

float reco::PFCandidateEGammaExtra::earlyBrem_
private

Definition at line 234 of file PFCandidateEGammaExtra.h.

Referenced by setEarlyBrem().

ElementInBlock reco::PFCandidateEGammaExtra::eleGsfCluster_
private

Ref to the electron gsf cluster;.

Definition at line 199 of file PFCandidateEGammaExtra.h.

Referenced by gsfElectronClusterRef(), and setGsfElectronClusterRef().

reco::GsfTrackRef reco::PFCandidateEGammaExtra::gsfTrackRef_
private

Ref to the GSF track.

Definition at line 195 of file PFCandidateEGammaExtra.h.

Referenced by gsfTrackRef(), PFCandidateEGammaExtra(), setClusterEnergies(), and setGsfTrackRef().

float reco::PFCandidateEGammaExtra::hadEnergy_
private
reco::TrackRef reco::PFCandidateEGammaExtra::kfTrackRef_
private

Ref to the KF track.

Definition at line 197 of file PFCandidateEGammaExtra.h.

Referenced by kfTrackRef(), PFCandidateEGammaExtra(), and setKfTrackRef().

float reco::PFCandidateEGammaExtra::lateBrem_
private

Definition at line 235 of file PFCandidateEGammaExtra.h.

Referenced by setLateBrem().

int reco::PFCandidateEGammaExtra::mvaStatus_
private

status of mva variables

Definition at line 227 of file PFCandidateEGammaExtra.h.

Referenced by mvaStatus(), PFCandidateEGammaExtra(), and setVariable().

std::vector<float> reco::PFCandidateEGammaExtra::mvaVariables_
private

mva variables - transient !

Definition at line 224 of file PFCandidateEGammaExtra.h.

Referenced by mvaVariable(), mvaVariables(), PFCandidateEGammaExtra(), and setVariable().

math::XYZTLorentzVector reco::PFCandidateEGammaExtra::pout_
private

Variables entering the MVA that should be saved.

Definition at line 233 of file PFCandidateEGammaExtra.h.

Referenced by PFCandidateEGammaExtra(), setClusterEnergies(), and setGsfTrackPout().

reco::SuperClusterRef reco::PFCandidateEGammaExtra::scPFECALRef_
private

Ref to PF-ECAL only supercluster.

Definition at line 205 of file PFCandidateEGammaExtra.h.

Referenced by setSuperClusterPFECALRef(), and superClusterPFECALRef().

reco::SuperClusterRef reco::PFCandidateEGammaExtra::scRef_
private

Ref to (refined) supercluster.

Definition at line 202 of file PFCandidateEGammaExtra.h.

Referenced by setSuperClusterRef(), and superClusterRef().

float reco::PFCandidateEGammaExtra::sigmaEtaEta_
private

Definition at line 236 of file PFCandidateEGammaExtra.h.

Referenced by PFCandidateEGammaExtra(), setSigmaEtaEta(), and sigmaEtaEta().

reco::ConversionRefVector reco::PFCandidateEGammaExtra::singleLegConversions_
private

Definition at line 217 of file PFCandidateEGammaExtra.h.

Referenced by addSingleLegConversionRef(), and singleLegConversionRef().

int reco::PFCandidateEGammaExtra::status_
private

Status of the electron.

Definition at line 230 of file PFCandidateEGammaExtra.h.

Referenced by electronStatus(), PFCandidateEGammaExtra(), and setStatus().