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::SuperClusterRef superClusterRef() const
return a reference to the corresponding supercluster
reco::ConversionRefVector conversionRef() const
return Conversions from PF
reco::SuperClusterRef scRef_
Ref to supercluster.
std::vector< reco::TrackRef > assoSingleLegRefTrack_
vector of TrackRef from Single Leg conversions
const std::vector< float > & LCorrClusEnergy() const
const std::vector< float > & singleLegConvMva() const
return Single Leg Conversion mva
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
void addSingleLegConvTrackRef(const reco::TrackRef &trackref)
add Single Leg Conversion TrackRef
void addSingleLegConvMva(float &mvasingleleg)
add Single Leg Conversion mva
std::vector< float > assoSingleLegMva_
vector of Mvas from Single Leg conversions
void addConversionRef(const reco::ConversionRef &convref)
add Conversions from PF
const std::vector< reco::TrackRef > & singleLegConvTrackRef() const
return vector of Single Leg Conversion TrackRef from
fixed size matrix