test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
X 
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_, 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:14
PFCandidateEGammaExtra::PFCandidateEGammaExtra ( const GsfTrackRef gsfTrack)

constructor

Definition at line 22 of file PFCandidateEGammaExtra.cc.

References gsfTrackRef_, hadEnergy_, kfTrackRef_, fff_deleter::log, 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:14
reco::PFCandidateEGammaExtra::~PFCandidateEGammaExtra ( )
inline

destructor

Definition at line 79 of file PFCandidateEGammaExtra.h.

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().

160  {
162 }
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
void push_back(value_type const &ref)
Add a Ref&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:64
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::fill_extra_info().

181  {
183  assoNonConvExtraTracks_.push_back(std::make_pair(blk,tkref.index()));
184  }
185  }
unsigned index() const
virtual bool trackType(TrackType trType) 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_.

164  {
166 }
void push_back(value_type const &ref)
Add a Ref&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:64
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().

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 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 archive::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 status_.

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_.

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 archive::flag, and mvaStatus_.

Referenced by 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 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 mvaVariables_.

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().

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 }
void setHadEnergy(float val)
set the had energy. The cluster energies should be entered before
T sqrt(T t)
Definition: SSEVec.h:48
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.
tuple size
Write out results.
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::calculate_ele_mva().

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::calculate_ele_mva().

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().

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

set the had energy. The cluster energies should be entered before

Definition at line 79 of file PFCandidateEGammaExtra.cc.

References clusterEnergies_, hadEnergy_, MVA_HOverHE, and setVariable().

Referenced by PFEGammaAlgo::calculate_ele_mva(), and setClusterEnergies().

void PFCandidateEGammaExtra::setKfTrackRef ( const reco::TrackRef ref)

set kf track reference

Definition at line 56 of file PFCandidateEGammaExtra.cc.

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

Referenced by PFEGammaAlgo::fillPFCandidates().

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 }
reco::TrackRef kfTrackRef_
Ref to the KF track.
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
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().

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_.

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.
tuple status
Definition: ntuplemaker.py:245
void reco::PFCandidateEGammaExtra::setSuperClusterPFECALRef ( reco::SuperClusterRef  sc)
inline

set reference to the corresponding supercluster

Definition at line 114 of file PFCandidateEGammaExtra.h.

References 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 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_, and mvaVariables_.

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

128  {
129 
130  mvaVariables_[type]=val;
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

return Conversions from PF

Definition at line 132 of file PFCandidateEGammaExtra.h.

References singleLegConversions_.

132 {return singleLegConversions_;}
reco::ConversionRefVector singleLegConversions_
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 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().