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);
virtual ~MvaMEtUtilities()
CommonMETData leptonsChSum_
void finalize(CommonMETData &metData)
unsigned numJetsAboveThreshold(const std::vector< reco::PUSubMETCandInfo > &, double)
std::vector< reco::PUSubMETCandInfo > cleanedJets_
CommonMETData neutralJetHSSum_
bool passesMVA(const reco::Candidate::LorentzVector &, double)
CommonMETData leptonsSum_
double getLeptonsChSumMEX() const
CommonMETData neutralJetPUSum_
CommonMETData pfCandChPUSum_
reco::Candidate::LorentzVector subleadJetP4(const std::vector< reco::PUSubMETCandInfo > &)
double getLeptonsSumMEY() const
Structure containing data common to all types of MET.
void computeAllSums(const std::vector< reco::PUSubMETCandInfo > &jets, const std::vector< reco::PUSubMETCandInfo > &leptons, const std::vector< reco::PUSubMETCandInfo > &pfCandidates)
MvaMEtUtilities(const edm::ParameterSet &cfg)
const std::vector< reco::PUSubMETCandInfo > & getCleanedJets() const
reco::Candidate::LorentzVector leadJetP4(const std::vector< reco::PUSubMETCandInfo > &)
std::vector< reco::PUSubMETCandInfo > cleanPFCands(const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, double, bool)
double getLeptonsSumMEX() const
CommonMETData computeRecoil(int metType)
CommonMETData computeCandSum(int compKey, double dZmax, int dZflag, bool iCharged, bool mvaPassFlag, const std::vector< reco::PUSubMETCandInfo > &objects)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double getLeptonsChSumMEY() const
std::vector< reco::PUSubMETCandInfo > cleanJets(const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, double, double)
reco::Candidate::LorentzVector jetP4(const std::vector< reco::PUSubMETCandInfo > &, unsigned)
CommonMETData pfCandChHSSum_