73 std::map<std::string, std::function<double(const reco::PFCandidate)>>
m_funcMap;
74 std::map<std::string, std::function<double(const reco::PFCandidateCollection, reco::PFCandidate::ParticleType pfType)>>
79 std::map<std::string, std::function<double(const reco::PFCandidate, const reco::PFJet)>>
m_pfInJetFuncMap;
80 std::map<std::string, std::function<double(const reco::PFJet)>>
m_jetFuncMap;
107 return pfCand.
pt() /
jet.pt();
112 for (
auto pfCand : pfCands) {
123 for (
auto pfCand : pfCands) {
192 for (
unsigned iEle = 0; iEle <
elements.size(); iEle++) {
213 for (
unsigned iEle = 0; iEle <
elements.size(); iEle++) {
235 for (
unsigned iEle = 0; iEle <
elements.size(); iEle++) {
258 for (
unsigned iEle = 0; iEle <
elements.size(); iEle++) {
321 std::vector<std::vector<std::vector<double>>>
m_binList;
float mva_e_mu() const
mva for electron-muon discrimination
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Inizialize parameters for histo binning.
std::vector< std::vector< std::vector< double > > > m_jetBinList
ParticleType
particle types
static double getDNNESigIsolated(const reco::PFCandidate pfCand)
std::vector< std::vector< std::vector< double > > > m_binList
int getBinNumber(double binVal, std::vector< double > bins)
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
double pt() const final
transverse momentum
float mva_nothing_gamma() const
mva for gamma detection
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Initialize run-based parameters.
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
static double getRawHOEnergy(const reco::PFCandidate pfCand)
static double getDNNEBkgPhotonIsolated(const reco::PFCandidate pfCand)
static double getHcalEnergy_depth5(const reco::PFCandidate pfCand)
binInfo getBinInfo(std::string)
double rawHcalEnergy() const
return raw Hcal energy
float mva_gamma_nh() const
mva for neutral hadron - gamma discrimination
float mva_nothing_nh() const
mva for neutral hadron detection
float hcalDepthEnergyFraction(unsigned int depth) const
fraction of hcal energy at a given depth (depth = 1 .. 7)
static double getHCalEnergy(const reco::PFCandidate pfCand)
edm::InputTag highPtJetExpr_
std::map< std::string, std::function< double(const reco::PFJet)> > m_jetFuncMap
void analyze(const edm::Event &, const edm::EventSetup &) override
Get the analysis.
bool isNonnull() const
Checks for non-null.
static double getJetPt(const reco::PFJet jet)
edm::ParameterSet parameters_
std::vector< std::vector< std::string > > m_allJetSuffixes
double rawHoEnergy() const
return raw Hcal energy
static double getHOEnergy(const reco::PFCandidate pfCand)
std::vector< std::vector< std::string > > m_fullCutList
int getPFBin(const reco::PFCandidate pfCand, int i)
float mva_pi_mu() const
mva for pi-muon discrimination
std::vector< double > vDouble
Jets made from PFObjects.
vstring m_eventObservableNames
float dnn_e_bkgTau() const
static double getMVAEMu(const reco::PFCandidate pfCand)
static double getHCalEFrac(const reco::PFCandidate pfCand)
std::vector< std::string > m_pfNames
float dnn_e_sigNonIsolated() const
std::map< std::string, MonitorElement * > map_of_MEs
static double getTime(const reco::PFCandidate pfCand)
static double getNTracksInBlock(const reco::PFCandidate pfCand)
std::string getSuffix(std::vector< int > binList, std::vector< std::string > observables, std::vector< std::vector< double >> binnings)
double p() const final
magnitude of momentum vector
static double getEta(const reco::PFCandidate pfCand)
const ElementsInBlocks & elementsInBlocks() const
static double getECalEFrac(const reco::PFCandidate pfCand)
vstring m_eventObservables
static double getEnergy(const reco::PFCandidate pfCand)
double hcalEnergy() const
return corrected Hcal energy
int getJetBin(const reco::PFJet jetCand, int i)
static double getDNNEBkgNonIsolated(const reco::PFCandidate pfCand)
std::vector< std::string > vstring
static double getHadCalibration(const reco::PFCandidate pfCand)
edm::InputTag theTriggerResultsLabel_
vstring m_pfInJetObservables
double energy() const
cluster energy
std::map< std::string, std::function< double(const reco::PFCandidate, const reco::PFJet)> > m_pfInJetFuncMap
Abs< T >::type abs(const T &t)
static double getHcalEnergy_depth3(const reco::PFCandidate pfCand)
#define DEFINE_FWK_MODULE(type)
float dnn_e_sigIsolated() const
std::map< std::string, std::function< double(const std::vector< reco::PFCandidatePtr > pfCands, reco::PFCandidate::ParticleType pfType)> > m_jetWideFuncMap
static double getEcalEnergy(const reco::PFCandidate pfCand)
std::vector< std::string > getAllSuffixes(std::vector< std::string > observables, std::vector< std::vector< double >> binnings)
double ecalEnergy() const
return corrected Ecal energy
static double getRawHcalEnergy(const reco::PFCandidate pfCand)
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
float dnn_e_bkgPhoton() const
PFAnalyzer(const edm::ParameterSet &)
Constructor.
static double getRawEcalEnergy(const reco::PFCandidate pfCand)
double hoEnergy() const
return corrected Hcal energy
std::vector< std::vector< std::string > > m_fullJetCutList
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
int getBinNumbers(std::vector< double > binVal, std::vector< std::vector< double >> bins)
static double getEoverP(const reco::PFCandidate pfCand)
float mva_Isolated() const
static double getMVAPiMu(const reco::PFCandidate pfCand)
static double getPhi(const reco::PFCandidate pfCand)
float dnn_e_bkgNonIsolated() const
std::map< std::string, std::function< double(const reco::PFCandidateCollection, reco::PFCandidate::ParticleType pfType)> > m_eventFuncMap
bool passesEventSelection(const edm::Event &iEvent)
edm::ValueMap< float > const * weights_
std::string stringWithDecimals(int bin, std::vector< double > bins)
static double getMVAEPi(const reco::PFCandidate pfCand)
static double getMVAGammaNH(const reco::PFCandidate pfCand)
static double getHcalEnergy_depth4(const reco::PFCandidate pfCand)
edm::EDGetTokenT< reco::PFCandidateCollection > thePfCandidateCollection_
void bookMESetSelection(std::string, DQMStore::IBooker &)
static double getECalEnergy(const reco::PFCandidate pfCand)
Particle reconstructed by the particle flow algorithm.
static double getHcalEnergy(const reco::PFCandidate pfCand)
std::vector< double > getBinList(std::string binString)
edm::EDGetTokenT< GenEventInfoProduct > tok_ew_
static double getNPFC(const reco::PFCandidateCollection pfCands, reco::PFCandidate::ParticleType pfType)
static double getDNNESigNonIsolated(const reco::PFCandidate pfCand)
static double getHcalEnergy_depth1(const reco::PFCandidate pfCand)
static double getDNNEBkgTauIsolated(const reco::PFCandidate pfCand)
reco::TrackRef trackRef() const
static double getMVANothingGamma(const reco::PFCandidate pfCand)
static double getNPFCinJet(const std::vector< reco::PFCandidatePtr > pfCands, reco::PFCandidate::ParticleType pfType)
std::vector< std::vector< std::string > > m_allSuffixes
static double getMVANothingNH(const reco::PFCandidate pfCand)
double rawEcalEnergy() const
return corrected Ecal energy
static double getAbsEta(const reco::PFCandidate pfCand)
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
vstring m_observableNames
static double getTrackPt(const reco::PFCandidate pfCand)
static double getEnergySpectrum(const reco::PFCandidate pfCand, const reco::PFJet jet)
static double getHcalEnergy_depth6(const reco::PFCandidate pfCand)
double phi() const final
momentum azimuthal angle
std::map< std::string, std::function< double(const reco::PFCandidate)> > m_funcMap
static double getMVAIsolated(const reco::PFCandidate pfCand)
~PFAnalyzer() override
Destructor.
static double getHcalEnergy_depth2(const reco::PFCandidate pfCand)
vstring m_pfInJetObservableNames
float mva_e_pi() const
mva for electron-pion discrimination
static double getHcalEnergy_depth7(const reco::PFCandidate pfCand)
static double getPt(const reco::PFCandidate pfCand)
double energy() const final
energy
double eta() const final
momentum pseudorapidity