Go to the documentation of this file. 1 #ifndef RecoMET_METPUSubtraction_mvaMEtUtilities_h
2 #define RecoMET_METPUSubtraction_mvaMEtUtilities_h
51 const std::vector<reco::PUSubMETCandInfo>&
leptons,
52 const std::vector<reco::PUSubMETCandInfo>&
pfCandidates);
66 std::vector<reco::PUSubMETCandInfo>
cleanJets(
const std::vector<reco::PUSubMETCandInfo>&,
67 const std::vector<reco::PUSubMETCandInfo>&,
72 std::vector<reco::PUSubMETCandInfo>
cleanPFCands(
const std::vector<reco::PUSubMETCandInfo>&,
73 const std::vector<reco::PUSubMETCandInfo>&,
82 const std::vector<reco::PUSubMETCandInfo>&
objects);
reco::Candidate::LorentzVector leadJetP4(const std::vector< reco::PUSubMETCandInfo > &)
CommonMETData leptonsSum_
std::vector< reco::PUSubMETCandInfo > cleanedJets_
reco::Candidate::LorentzVector subleadJetP4(const std::vector< reco::PUSubMETCandInfo > &)
double getLeptonsSumMEX() const
CommonMETData pfCandChHSSum_
Structure containing data common to all types of MET.
bool passesMVA(const reco::Candidate::LorentzVector &, double)
reco::Candidate::LorentzVector jetP4(const std::vector< reco::PUSubMETCandInfo > &, unsigned)
const std::vector< reco::PUSubMETCandInfo > & getCleanedJets() const
CommonMETData pfCandChPUSum_
unsigned numJetsAboveThreshold(const std::vector< reco::PUSubMETCandInfo > &, double)
CommonMETData computeRecoil(int metType)
MvaMEtUtilities(const edm::ParameterSet &cfg)
CommonMETData computeCandSum(int compKey, double dZmax, int dZflag, bool iCharged, bool mvaPassFlag, const std::vector< reco::PUSubMETCandInfo > &objects)
double getLeptonsChSumMEX() const
void computeAllSums(const std::vector< reco::PUSubMETCandInfo > &jets, const std::vector< reco::PUSubMETCandInfo > &leptons, const std::vector< reco::PUSubMETCandInfo > &pfCandidates)
CommonMETData neutralJetHSSum_
void finalize(CommonMETData &metData)
virtual ~MvaMEtUtilities()
std::vector< reco::PUSubMETCandInfo > cleanPFCands(const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, double, bool)
CommonMETData neutralJetPUSum_
double getLeptonsChSumMEY() const
CommonMETData leptonsChSum_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double getLeptonsSumMEY() const
std::vector< reco::PUSubMETCandInfo > cleanJets(const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, double, double)