CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
reco::PFCandidatePhotonExtra Class Reference

#include <PFCandidatePhotonExtra.h>

Public Member Functions

void addConversionRef (const reco::ConversionRef &convref)
 add Conversions from PF More...
 
void addLCorrClusEnergy (float LCorrE)
 
void addSingleLegConvMva (float &mvasingleleg)
 add Single Leg Conversion mva More...
 
void addSingleLegConvTrackRef (const reco::TrackRef &trackref)
 add Single Leg Conversion TrackRef More...
 
reco::ConversionRefVector conversionRef () const
 return Conversions from PF More...
 
int ExcludedClust () const
 
const std::vector< float > & LCorrClusEnergy () const
 
float Mustache_Et () const
 
float MVAGlobalCorrE () const
 
float MVAGlobalCorrEError () const
 
 PFCandidatePhotonExtra ()
 constructor More...
 
 PFCandidatePhotonExtra (const reco::SuperClusterRef &)
 constructor More...
 
float PFPhotonRes () const
 
void setExcludedClust (int excluded)
 
void setMustache_Et (float Must_Et)
 
void setMVAGlobalCorrE (float GCorr)
 
void setMVAGlobalCorrEError (float GCorr)
 
void SetPFPhotonRes (float Res)
 
const std::vector< float > & singleLegConvMva () const
 return Single Leg Conversion mva More...
 
const std::vector
< reco::TrackRef > & 
singleLegConvTrackRef () const
 return vector of Single Leg Conversion TrackRef from More...
 
reco::SuperClusterRef superClusterRef () const
 return a reference to the corresponding supercluster More...
 
 ~PFCandidatePhotonExtra ()
 destructor More...
 

Private Attributes

reco::ConversionRefVector assoConversionsRef_
 vector of ConversionRef from PF More...
 
std::vector< float > assoSingleLegMva_
 vector of Mvas from Single Leg conversions More...
 
std::vector< reco::TrackRefassoSingleLegRefTrack_
 vector of TrackRef from Single Leg conversions More...
 
int Excluded_clust_
 
float GlobalCorr_
 
float GlobalCorrEError_
 
std::vector< float > LocalCorr_
 
float Mustache_Et_
 
float MVAResolution_
 
reco::SuperClusterRef scRef_
 Ref to supercluster. More...
 

Detailed Description

extra information on the photon particle candidate from particle flow

Definition at line 16 of file PFCandidatePhotonExtra.h.

Constructor & Destructor Documentation

PFCandidatePhotonExtra::PFCandidatePhotonExtra ( )
PFCandidatePhotonExtra::PFCandidatePhotonExtra ( const reco::SuperClusterRef scRef)

constructor

Definition at line 15 of file PFCandidatePhotonExtra.cc.

References Excluded_clust_, GlobalCorr_, GlobalCorrEError_, Mustache_Et_, and scRef_.

15  {
16  scRef_ = scRef;
17 
18  Mustache_Et_=0.;
19  Excluded_clust_ = 0;
20 
21  GlobalCorr_ = 0. ;
22  GlobalCorrEError_ = 0.;
23 }
reco::SuperClusterRef scRef_
Ref to supercluster.
reco::PFCandidatePhotonExtra::~PFCandidatePhotonExtra ( )
inline

destructor

Definition at line 23 of file PFCandidatePhotonExtra.h.

23 {;}

Member Function Documentation

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

add Conversions from PF

Definition at line 33 of file PFCandidatePhotonExtra.cc.

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

33  {
35 }
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:69
void PFCandidatePhotonExtra::addLCorrClusEnergy ( float  LCorrE)

Definition at line 37 of file PFCandidatePhotonExtra.cc.

References LocalCorr_.

Referenced by PFPhotonAlgo::RunPFPhoton().

37  {
38  LocalCorr_.push_back(LCorrE);
39 }
void PFCandidatePhotonExtra::addSingleLegConvMva ( float &  mvasingleleg)

add Single Leg Conversion mva

Definition at line 29 of file PFCandidatePhotonExtra.cc.

References assoSingleLegMva_.

29  {
30  assoSingleLegMva_.push_back(mvasingleleg);
31 }
std::vector< float > assoSingleLegMva_
vector of Mvas from Single Leg conversions
void PFCandidatePhotonExtra::addSingleLegConvTrackRef ( const reco::TrackRef trackref)

add Single Leg Conversion TrackRef

Definition at line 25 of file PFCandidatePhotonExtra.cc.

References assoSingleLegRefTrack_.

25  {
26  assoSingleLegRefTrack_.push_back(trackref);
27 }
std::vector< reco::TrackRef > assoSingleLegRefTrack_
vector of TrackRef from Single Leg conversions
reco::ConversionRefVector reco::PFCandidatePhotonExtra::conversionRef ( ) const
inline

return Conversions from PF

Definition at line 46 of file PFCandidatePhotonExtra.h.

References assoConversionsRef_.

46 {return assoConversionsRef_;}
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
int reco::PFCandidatePhotonExtra::ExcludedClust ( ) const
inline

Definition at line 52 of file PFCandidatePhotonExtra.h.

References Excluded_clust_.

const std::vector<float>& reco::PFCandidatePhotonExtra::LCorrClusEnergy ( ) const
inline

Definition at line 62 of file PFCandidatePhotonExtra.h.

References LocalCorr_.

62 {return LocalCorr_;}
float reco::PFCandidatePhotonExtra::Mustache_Et ( ) const
inline

Definition at line 51 of file PFCandidatePhotonExtra.h.

References Mustache_Et_.

float reco::PFCandidatePhotonExtra::MVAGlobalCorrE ( ) const
inline

Definition at line 56 of file PFCandidatePhotonExtra.h.

References GlobalCorr_.

float reco::PFCandidatePhotonExtra::MVAGlobalCorrEError ( ) const
inline

Definition at line 59 of file PFCandidatePhotonExtra.h.

References GlobalCorrEError_.

float reco::PFCandidatePhotonExtra::PFPhotonRes ( ) const
inline

Definition at line 65 of file PFCandidatePhotonExtra.h.

References MVAResolution_.

void reco::PFCandidatePhotonExtra::setExcludedClust ( int  excluded)
inline

Definition at line 50 of file PFCandidatePhotonExtra.h.

References Excluded_clust_.

void reco::PFCandidatePhotonExtra::setMustache_Et ( float  Must_Et)
inline

Definition at line 49 of file PFCandidatePhotonExtra.h.

References Mustache_Et_.

void reco::PFCandidatePhotonExtra::setMVAGlobalCorrE ( float  GCorr)
inline

Definition at line 55 of file PFCandidatePhotonExtra.h.

References GlobalCorr_.

void reco::PFCandidatePhotonExtra::setMVAGlobalCorrEError ( float  GCorr)
inline

Definition at line 58 of file PFCandidatePhotonExtra.h.

References GlobalCorrEError_.

void reco::PFCandidatePhotonExtra::SetPFPhotonRes ( float  Res)
inline

Definition at line 64 of file PFCandidatePhotonExtra.h.

References MVAResolution_.

const std::vector<float>& reco::PFCandidatePhotonExtra::singleLegConvMva ( ) const
inline

return Single Leg Conversion mva

Definition at line 40 of file PFCandidatePhotonExtra.h.

References assoSingleLegMva_.

40 {return assoSingleLegMva_;}
std::vector< float > assoSingleLegMva_
vector of Mvas from Single Leg conversions
const std::vector<reco::TrackRef>& reco::PFCandidatePhotonExtra::singleLegConvTrackRef ( ) const
inline

return vector of Single Leg Conversion TrackRef from

Definition at line 34 of file PFCandidatePhotonExtra.h.

References assoSingleLegRefTrack_.

34 {return assoSingleLegRefTrack_;}
std::vector< reco::TrackRef > assoSingleLegRefTrack_
vector of TrackRef from Single Leg conversions
reco::SuperClusterRef reco::PFCandidatePhotonExtra::superClusterRef ( ) const
inline

return a reference to the corresponding supercluster

Definition at line 28 of file PFCandidatePhotonExtra.h.

References scRef_.

28 {return scRef_ ; }
reco::SuperClusterRef scRef_
Ref to supercluster.

Member Data Documentation

reco::ConversionRefVector reco::PFCandidatePhotonExtra::assoConversionsRef_
private

vector of ConversionRef from PF

Definition at line 78 of file PFCandidatePhotonExtra.h.

Referenced by addConversionRef(), and conversionRef().

std::vector<float> reco::PFCandidatePhotonExtra::assoSingleLegMva_
private

vector of Mvas from Single Leg conversions

Definition at line 75 of file PFCandidatePhotonExtra.h.

Referenced by addSingleLegConvMva(), and singleLegConvMva().

std::vector<reco::TrackRef> reco::PFCandidatePhotonExtra::assoSingleLegRefTrack_
private

vector of TrackRef from Single Leg conversions

Definition at line 72 of file PFCandidatePhotonExtra.h.

Referenced by addSingleLegConvTrackRef(), and singleLegConvTrackRef().

int reco::PFCandidatePhotonExtra::Excluded_clust_
private
float reco::PFCandidatePhotonExtra::GlobalCorr_
private
float reco::PFCandidatePhotonExtra::GlobalCorrEError_
private
std::vector<float> reco::PFCandidatePhotonExtra::LocalCorr_
private

Definition at line 85 of file PFCandidatePhotonExtra.h.

Referenced by addLCorrClusEnergy(), and LCorrClusEnergy().

float reco::PFCandidatePhotonExtra::Mustache_Et_
private

Definition at line 81 of file PFCandidatePhotonExtra.h.

Referenced by Mustache_Et(), PFCandidatePhotonExtra(), and setMustache_Et().

float reco::PFCandidatePhotonExtra::MVAResolution_
private

Definition at line 88 of file PFCandidatePhotonExtra.h.

Referenced by PFPhotonRes(), and SetPFPhotonRes().

reco::SuperClusterRef reco::PFCandidatePhotonExtra::scRef_
private

Ref to supercluster.

Definition at line 69 of file PFCandidatePhotonExtra.h.

Referenced by PFCandidatePhotonExtra(), and superClusterRef().