CMS 3D CMS Logo

NoPileUpMEtUtilities.h
Go to the documentation of this file.
1 #ifndef RecoMET_METPUSubtraction_noPileUpMEtUtilities_h
2 #define RecoMET_METPUSubtraction_noPileUpMEtUtilities_h
3 
5 
10 
11 #include <vector>
12 
14 {
15 
16  public:
17 
20 
23 
24 
25  // general auxiliary functions
27 
28  //-------------------------------------------------------------------------------
29  // auxiliary functions for jets
31  const std::vector<reco::Candidate::LorentzVector>&,
32  double, bool);
33 
34  // auxiliary functions for PFCandidates
36  const std::vector<reco::Candidate::LorentzVector>&,
37  double, bool);
38 
39 
40  // common internal functions for jets and pfCandidates
43 
44  CommonMETData computeRecoil(int metType, double& sumAbsPx, double& sumAbsPy);
45  //-------------------------------------------------------------------------------
46 
47  private:
48 
49  // common internal functions for jets and pfCandidates, to compute the different object sums
51  bool neutralFracOnly, double& sumAbsPx, double& sumAbsPy);
52 
54  double minPt, double maxPt, int type,
55  bool isCharged, int isWithinJet);
56 
57 
58  private:
59 
60 
61  double minPtDef_;
62  double maxPtDef_;
63 
69 
75 
81 
82 };
83 
84 #endif
type
Definition: HCALResponse.h:21
CommonMETData computeRecoil(int metType, double &sumAbsPx, double &sumAbsPy)
reco::PUSubMETCandInfoCollection cleanJets(const reco::PUSubMETCandInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool)
void computeAllSums(const reco::PUSubMETCandInfoCollection &jets, const reco::PUSubMETCandInfoCollection &pfCandidates)
vector< PseudoJet > jets
std::vector< reco::PUSubMETCandInfo > PUSubMETCandInfoCollection
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
CommonMETData computeCandidateSum(const reco::PUSubMETCandInfoCollection &cands, bool neutralFracOnly, double &sumAbsPx, double &sumAbsPy)
reco::PUSubMETCandInfoCollection cleanPFCandidates(const reco::PUSubMETCandInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool)
reco::PUSubMETCandInfoCollection selectCandidates(const reco::PUSubMETCandInfoCollection &cands, double minPt, double maxPt, int type, bool isCharged, int isWithinJet)
void finalizeMEtData(CommonMETData &)