CMS 3D CMS Logo

PFCandidatePhotonExtra.h
Go to the documentation of this file.
1 #ifndef ParticleFlowCandidate_PFCandidatePhotonExtra_h
2 #define ParticleFlowCandidate_PFCandidatePhotonExtra_h
3 
7 
8 #include <iosfwd>
9 
10 namespace reco {
17  public:
24 
25  // variables for the single conversion identification
26 
29 
31  void addSingleLegConvTrackRef(const reco::TrackRef& trackref);
32 
34  const std::vector<reco::TrackRef>& singleLegConvTrackRef() const { return assoSingleLegRefTrack_; }
35 
37  void addSingleLegConvMva(float& mvasingleleg);
38 
40  const std::vector<float>& singleLegConvMva() const { return assoSingleLegMva_; }
41 
43  void addConversionRef(const reco::ConversionRef& convref);
44 
47 
48  //from Mustache Id:
49  void setMustache_Et(float Must_Et) { Mustache_Et_ = Must_Et; }
50  void setExcludedClust(int excluded) { Excluded_clust_ = excluded; }
51  float Mustache_Et() const { return Mustache_Et_; }
52  int ExcludedClust() const { return Excluded_clust_; }
53 
54  //MVA Energy Regression:
55  void setMVAGlobalCorrE(float GCorr) { GlobalCorr_ = GCorr; }
56  float MVAGlobalCorrE() const { return GlobalCorr_; }
57 
58  void setMVAGlobalCorrEError(float GCorr) { GlobalCorrEError_ = GCorr; }
59  float MVAGlobalCorrEError() const { return GlobalCorrEError_; }
60 
61  void addLCorrClusEnergy(float LCorrE);
62  const std::vector<float>& LCorrClusEnergy() const { return LocalCorr_; }
63 
64  void SetPFPhotonRes(float Res) { MVAResolution_ = Res; }
65  float PFPhotonRes() const { return MVAResolution_; }
66 
67  private:
70 
72  std::vector<reco::TrackRef> assoSingleLegRefTrack_;
73 
75  std::vector<float> assoSingleLegMva_;
76 
79 
80  //for Mustache_Id
81  float Mustache_Et_;
83 
84  //for MVA Regression Energy
85  std::vector<float> LocalCorr_;
86  float GlobalCorr_;
89  };
90 } // namespace reco
91 #endif
reco::PFCandidatePhotonExtra::assoSingleLegRefTrack_
std::vector< reco::TrackRef > assoSingleLegRefTrack_
vector of TrackRef from Single Leg conversions
Definition: PFCandidatePhotonExtra.h:72
reco::PFCandidatePhotonExtra::PFPhotonRes
float PFPhotonRes() const
Definition: PFCandidatePhotonExtra.h:65
reco::PFCandidatePhotonExtra::GlobalCorrEError_
float GlobalCorrEError_
Definition: PFCandidatePhotonExtra.h:87
reco::PFCandidatePhotonExtra::Mustache_Et
float Mustache_Et() const
Definition: PFCandidatePhotonExtra.h:51
reco::PFCandidatePhotonExtra::assoConversionsRef_
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
Definition: PFCandidatePhotonExtra.h:78
reco::PFCandidatePhotonExtra
Definition: PFCandidatePhotonExtra.h:16
reco::PFCandidatePhotonExtra::addLCorrClusEnergy
void addLCorrClusEnergy(float LCorrE)
Definition: PFCandidatePhotonExtra.cc:35
reco::PFCandidatePhotonExtra::MVAGlobalCorrE
float MVAGlobalCorrE() const
Definition: PFCandidatePhotonExtra.h:56
edm::RefVector< ConversionCollection >
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
ConversionFwd.h
reco::PFCandidatePhotonExtra::setMVAGlobalCorrEError
void setMVAGlobalCorrEError(float GCorr)
Definition: PFCandidatePhotonExtra.h:58
reco::PFCandidatePhotonExtra::setMustache_Et
void setMustache_Et(float Must_Et)
Definition: PFCandidatePhotonExtra.h:49
edm::Ref< SuperClusterCollection >
reco::PFCandidatePhotonExtra::GlobalCorr_
float GlobalCorr_
Definition: PFCandidatePhotonExtra.h:86
reco::PFCandidatePhotonExtra::LCorrClusEnergy
const std::vector< float > & LCorrClusEnergy() const
Definition: PFCandidatePhotonExtra.h:62
TrackFwd.h
reco::PFCandidatePhotonExtra::scRef_
reco::SuperClusterRef scRef_
Ref to supercluster.
Definition: PFCandidatePhotonExtra.h:69
reco::PFCandidatePhotonExtra::addConversionRef
void addConversionRef(const reco::ConversionRef &convref)
add Conversions from PF
Definition: PFCandidatePhotonExtra.cc:31
reco::PFCandidatePhotonExtra::conversionRef
reco::ConversionRefVector conversionRef() const
return Conversions from PF
Definition: PFCandidatePhotonExtra.h:46
reco::PFCandidatePhotonExtra::addSingleLegConvTrackRef
void addSingleLegConvTrackRef(const reco::TrackRef &trackref)
add Single Leg Conversion TrackRef
Definition: PFCandidatePhotonExtra.cc:25
reco::PFCandidatePhotonExtra::SetPFPhotonRes
void SetPFPhotonRes(float Res)
Definition: PFCandidatePhotonExtra.h:64
reco::PFCandidatePhotonExtra::MVAGlobalCorrEError
float MVAGlobalCorrEError() const
Definition: PFCandidatePhotonExtra.h:59
reco::PFCandidatePhotonExtra::addSingleLegConvMva
void addSingleLegConvMva(float &mvasingleleg)
add Single Leg Conversion mva
Definition: PFCandidatePhotonExtra.cc:29
reco::PFCandidatePhotonExtra::singleLegConvTrackRef
const std::vector< reco::TrackRef > & singleLegConvTrackRef() const
return vector of Single Leg Conversion TrackRef from
Definition: PFCandidatePhotonExtra.h:34
reco::PFCandidatePhotonExtra::setExcludedClust
void setExcludedClust(int excluded)
Definition: PFCandidatePhotonExtra.h:50
reco::PFCandidatePhotonExtra::setMVAGlobalCorrE
void setMVAGlobalCorrE(float GCorr)
Definition: PFCandidatePhotonExtra.h:55
reco::PFCandidatePhotonExtra::singleLegConvMva
const std::vector< float > & singleLegConvMva() const
return Single Leg Conversion mva
Definition: PFCandidatePhotonExtra.h:40
reco::PFCandidatePhotonExtra::assoSingleLegMva_
std::vector< float > assoSingleLegMva_
vector of Mvas from Single Leg conversions
Definition: PFCandidatePhotonExtra.h:75
reco::PFCandidatePhotonExtra::PFCandidatePhotonExtra
PFCandidatePhotonExtra()
constructor
Definition: PFCandidatePhotonExtra.cc:7
SuperClusterFwd.h
reco::PFCandidatePhotonExtra::~PFCandidatePhotonExtra
~PFCandidatePhotonExtra()
destructor
Definition: PFCandidatePhotonExtra.h:23
reco::PFCandidatePhotonExtra::MVAResolution_
float MVAResolution_
Definition: PFCandidatePhotonExtra.h:88
reco::PFCandidatePhotonExtra::LocalCorr_
std::vector< float > LocalCorr_
Definition: PFCandidatePhotonExtra.h:85
reco::PFCandidatePhotonExtra::Mustache_Et_
float Mustache_Et_
Definition: PFCandidatePhotonExtra.h:81
reco::PFCandidatePhotonExtra::ExcludedClust
int ExcludedClust() const
Definition: PFCandidatePhotonExtra.h:52
reco::PFCandidatePhotonExtra::superClusterRef
reco::SuperClusterRef superClusterRef() const
return a reference to the corresponding supercluster
Definition: PFCandidatePhotonExtra.h:28
reco::PFCandidatePhotonExtra::Excluded_clust_
int Excluded_clust_
Definition: PFCandidatePhotonExtra.h:82