1 #ifndef DQM_Physics_EwkTauDQM_h 2 #define DQM_Physics_EwkTauDQM_h 22 #include <Math/VectorUtil.h> 76 void finalizeHistograms();
156 kPassedPreselection = 1,
158 kPassedElectronId = 3,
159 kPassedElectronTrackIso = 4,
160 kPassedElectronEcalIso = 5,
161 kPassedTauLeadTrack = 6,
162 kPassedTauLeadTrackPt = 7,
163 kPassedTauDiscrAgainstElectrons = 8,
164 kPassedTauDiscrAgainstMuons = 9,
165 kPassedTauTrackIso = 10,
166 kPassedTauEcalIso = 11
225 void finalizeHistograms();
307 kPassedPreselection = 1,
310 kPassedTauLeadTrack = 4,
311 kPassedTauLeadTrackPt = 5,
312 kPassedTauDiscrAgainstMuons = 6,
314 kPassedMuonTrackIso = 8,
315 kPassedMuonEcalIso = 9,
316 kPassedTauTrackIso = 10,
317 kPassedTauEcalIso = 11
372 template <
typename T>
379 const char* errorMessage) {
381 if (numWarnings < maxNumWarnings || maxNumWarnings == -1)
391 double calcMt(
double,
double,
double,
double);
MonitorElement * hCutFlowSummary_
edm::InputTag tauDiscrByEcalIso_
long numWarningsTauDiscrByEcalIso_
edm::InputTag beamSpotSource_
MonitorElement * hPFMEtPt_
edm::InputTag tauDiscrByLeadTrackFinding_
MonitorElement * hTauJetPhi_
edm::InputTag pfMEtSource_
edm::InputTag beamSpotSource_
std::vector< PFTau > PFTauCollection
collection of PFTau objects
bool passesElectronPreId(const reco::GsfElectron &)
edm::InputTag tauDiscrByLeadTrackPtCut_
MonitorElement * hElecTauAcoplanarity_
edm::InputTag electronSource_
edm::InputTag tauDiscrByTrackIso_
long numWarningsTauDiscrAgainstMuons_
MonitorElement * hVisMass_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::InputTag tauDiscrByLeadTrackFinding_
long numWarningsTauDiscrByEcalIso_
long numWarningsTauDiscrByTrackIso_
MonitorElement * hMuonPhi_
std::vector< std::string > vstring
MonitorElement * hElectronEcalIsoPt_
MonitorElement * hTauEcalIsoPt_
std::string dqmDirectory_
long numWarningsTauDiscrByLeadTrackFinding_
double electronEcalIsoCut_
unsigned numEventsSelected_
MonitorElement * hPFMEtPt_
unsigned numEventsSelected_
std::string dqmDirectory_
edm::InputTag tauDiscrByLeadTrackPtCut_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
EwkTauDQM::MonitorElement MonitorElement
MonitorElement * hCutFlowSummary_
long numWarningsTauDiscrByLeadTrackPtCut_
edm::InputTag caloMEtSource_
double electronTrackIsoCut_
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
edm::InputTag tauDiscrAgainstMuons_
MonitorElement * hVertexZ_
MonitorElement * hTauDiscrAgainstMuons_
long numWarningsBeamSpot_
std::vector< Muon > MuonCollection
collection of Muon objects
MonitorElement * hMuonEcalIsoPt_
long numWarningsTauDiscrByTrackIso_
MonitorElement * hElecTauCharge_
edm::InputTag vertexSource_
MonitorElement * hElectronTrackIsoPt_
MonitorElement * hTauJetNumSignalTracks_
edm::InputTag tauJetSource_
MonitorElement * hMuonEta_
const reco::GsfElectron * getTheElectron(const reco::GsfElectronCollection &, double, double)
double calcPzeta(const reco::Candidate::LorentzVector &, const reco::Candidate::LorentzVector &, double, double)
void dqmEndRun(const edm::Run &, const edm::EventSetup &) override
int getIsoMode(const std::string &, int &)
EwkTauDQM::DQMStore DQMStore
MonitorElement * hVisMassFinal_
MonitorElement * hTauLeadTrackPt_
EwkElecTauHistManager * elecTauHistManager_
MonitorElement * hElectronEta_
double calcMt(double, double, double, double)
edm::InputTag caloMEtSource_
long numWarningsTriggerResults_
std::string dqmDirectory_
long numWarningsTauDiscrAgainstMuons_
MonitorElement * hMtMuPFMEt_
MonitorElement * hCaloMEtPt_
MonitorElement * hTauJetPt_
edm::InputTag tauDiscrByEcalIso_
MonitorElement * hVertexZ_
MonitorElement * hTauJetCharge_
MonitorElement * hTauJetPt_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * hTauTrackIsoPt_
MonitorElement * hElectronPhi_
const reco::PFTau * getTheTauJet(const reco::PFTauCollection &, double, double, int &)
edm::InputTag tauDiscrAgainstElectrons_
MonitorElement * hCaloMEtPt_
long numWarningsTauDiscrByLeadTrackFinding_
MonitorElement * hMuonPt_
long numWarningsElectron_
bool passesElectronId(const reco::GsfElectron &)
edm::InputTag tauDiscrByTrackIso_
double calcDeltaPhi(double, double)
MonitorElement * hMuTauDeltaR_
long numWarningsTriggerResults_
double getVertexD0(const reco::Vertex &, const reco::BeamSpot &)
edm::InputTag muonSource_
MonitorElement * hMuTauAcoplanarity_
MonitorElement * hTauJetNumIsoTracks_
MonitorElement * hMuonCombIsoPt_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
edm::InputTag vertexSource_
edm::InputTag pfMEtSource_
long numWarningsBeamSpot_
EwkMuTauHistManager * muTauHistManager_
const reco::Muon * getTheMuon(const reco::MuonCollection &, double, double)
std::vector< std::string > vstring
void readEventData(const edm::Event &evt, const edm::InputTag &src, edm::Handle< T > &handle, long &numWarnings, int maxNumWarnings, bool &error, const char *errorMessage)
MonitorElement * hTauJetEta_
edm::InputTag tauJetSource_
edm::InputTag triggerResultsSource_
unsigned numEventsAnalyzed_
EwkTauDQM::MonitorElement MonitorElement
edm::InputTag triggerResultsSource_
MonitorElement * hTauJetEta_
edm::InputTag tauDiscrAgainstMuons_
MonitorElement * hVisMass_
MonitorElement * hMuonTrackIsoPt_
unsigned numEventsAnalyzed_
long numWarningsTauDiscrAgainstElectrons_
EwkTauDQM::DQMStore DQMStore
EwkTauDQM(const edm::ParameterSet &)
MonitorElement * hElectronPt_
MonitorElement * hMtElecPFMEt_
long numWarningsTauDiscrByLeadTrackPtCut_