1 #ifndef __RecoParticleFlow_PFRootEvent_METManager__
2 #define __RecoParticleFlow_PFRootEvent_METManager__
44 const double DeltaPhicut,
const double MET1cut)
const;
48 const std::vector<reco::CaloJet>& corr_caloJets);
50 const std::vector<reco::CaloJet>& corr_caloJets);
53 void SetSpecificIdCut(
const std::vector<unsigned int>*,
const std::vector<double>*);
66 const std::vector<reco::CaloJet>& corr_caloJets)
const;
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
void addGenBenchmark(std::string GenBenchmarkName)
setup a genericBenchmark
METManager(std::string outmetfilename)
void write()
Write the output root file of the genericBenchmark.
void propagateJECtoMET2(const std::vector< reco::CaloJet > &caloJets, const std::vector< reco::CaloJet > &corr_caloJets)
reco::MET recomputePFMET(const reco::PFCandidateCollection &) const
void coutTailEvents(const int entry, const double DeltaMETcut, const double DeltaPhicut, const double MET1cut) const
cout events in tail of Delta(MET1,MET2)
reco::MET computeGenMET(const reco::GenParticleCollection *) const
private functions
void FillHisto(std::string)
void setMET2(const reco::MET *)
reco::MET propagateJEC(const reco::MET &, const std::vector< reco::CaloJet > &caloJets, const std::vector< reco::CaloJet > &corr_caloJets) const
std::string outmetfilename_
void setMET1(const reco::MET *)
reco::MET MET1_
data members
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
std::vector< unsigned int > vIgnoreParticlesIDs_
std::map< std::string, GenericBenchmark > GenBenchmarkMap_
map of GenericBenchmarks, the key is his name
std::vector< double > trueMetSpecificEtaCut_
std::vector< unsigned int > trueMetSpecificIdCut_
void SetIgnoreParticlesIDs(const std::vector< unsigned int > *)
void propagateJECtoMET1(const std::vector< reco::CaloJet > &caloJets, const std::vector< reco::CaloJet > &corr_caloJets)
propagate the Jet Energy Corrections to the MET
void SetSpecificIdCut(const std::vector< unsigned int > *, const std::vector< double > *)