CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::PFCandidatePhotonExtra Class Reference

#include <PFCandidatePhotonExtra.h>

List of all members.

Public Member Functions

void addConversionRef (const reco::ConversionRef &convref)
 add Conversions from PF
void addSingleLegConvMva (float &mvasingleleg)
 add Single Leg Conversion mva
void addSingleLegConvTrackRef (const reco::TrackRef &trackref)
 add Single Leg Conversion TrackRef
reco::ConversionRefVector conversionRef () const
 return Conversions from PF
 PFCandidatePhotonExtra ()
 constructor
 PFCandidatePhotonExtra (const reco::SuperClusterRef &)
 constructor
const std::vector< float > & singleLegConvMva () const
 return Single Leg Conversion mva
const std::vector
< reco::TrackRef > & 
singleLegConvTrackRef () const
 return vector of Single Leg Conversion TrackRef from
reco::SuperClusterRef superClusterRef () const
 return a reference to the corresponding supercluster
 ~PFCandidatePhotonExtra ()
 destructor

Private Attributes

reco::ConversionRefVector assoConversionsRef_
 vector of ConversionRef from PF
std::vector< float > assoSingleLegMva_
 vector of Mvas from Single Leg conversions
std::vector< reco::TrackRefassoSingleLegRefTrack_
 vector of TrackRef from Single Leg conversions
reco::SuperClusterRef scRef_
 Ref to supercluster.

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

constructor

Definition at line 7 of file PFCandidatePhotonExtra.cc.

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

constructor

Definition at line 9 of file PFCandidatePhotonExtra.cc.

References scRef_.

                                                                               {
  scRef_ = scRef;
}
reco::PFCandidatePhotonExtra::~PFCandidatePhotonExtra ( ) [inline]

destructor

Definition at line 23 of file PFCandidatePhotonExtra.h.

{;}

Member Function Documentation

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

add Conversions from PF

Definition at line 21 of file PFCandidatePhotonExtra.cc.

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

void PFCandidatePhotonExtra::addSingleLegConvMva ( float &  mvasingleleg)

add Single Leg Conversion mva

Definition at line 17 of file PFCandidatePhotonExtra.cc.

References assoSingleLegMva_.

Referenced by PFPhotonAlgo::RunPFPhoton().

                                                                   {
  assoSingleLegMva_.push_back(mvasingleleg);
}
void PFCandidatePhotonExtra::addSingleLegConvTrackRef ( const reco::TrackRef trackref)

add Single Leg Conversion TrackRef

Definition at line 13 of file PFCandidatePhotonExtra.cc.

References assoSingleLegRefTrack_.

                                                                                 {
  assoSingleLegRefTrack_.push_back(trackref);
}
reco::ConversionRefVector reco::PFCandidatePhotonExtra::conversionRef ( ) const [inline]

return Conversions from PF

Definition at line 46 of file PFCandidatePhotonExtra.h.

References assoConversionsRef_.

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

return Single Leg Conversion mva

Definition at line 40 of file PFCandidatePhotonExtra.h.

References assoSingleLegMva_.

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

reco::SuperClusterRef reco::PFCandidatePhotonExtra::superClusterRef ( ) const [inline]

return a reference to the corresponding supercluster

Definition at line 28 of file PFCandidatePhotonExtra.h.

References scRef_.

{return scRef_ ; }

Member Data Documentation

vector of ConversionRef from PF

Definition at line 61 of file PFCandidatePhotonExtra.h.

Referenced by addConversionRef(), and conversionRef().

vector of Mvas from Single Leg conversions

Definition at line 58 of file PFCandidatePhotonExtra.h.

Referenced by addSingleLegConvMva(), and singleLegConvMva().

vector of TrackRef from Single Leg conversions

Definition at line 55 of file PFCandidatePhotonExtra.h.

Referenced by addSingleLegConvTrackRef(), and singleLegConvTrackRef().

Ref to supercluster.

Definition at line 52 of file PFCandidatePhotonExtra.h.

Referenced by PFCandidatePhotonExtra(), and superClusterRef().