1 #ifndef DQM_Physics_EwkTauDQM_h
2 #define DQM_Physics_EwkTauDQM_h
26 #include <Math/VectorUtil.h>
384 template <
typename T>
387 int maxNumWarnings,
bool&
error,
const char* errorMessage) {
389 if (numWarnings < maxNumWarnings || maxNumWarnings == -1)
399 double calcMt(
double,
double,
double,
double);
MonitorElement * hCutFlowSummary_
edm::InputTag tauDiscrByEcalIso_
long numWarningsTauDiscrByEcalIso_
void analyze(const edm::Event &, const edm::EventSetup &)
edm::InputTag beamSpotSource_
double calcDeltaPhi(double phi1, double phi2)
MonitorElement * hPFMEtPt_
double calcMt(double px1, double py1, double px2, double py2)
edm::InputTag tauDiscrByLeadTrackFinding_
MonitorElement * hTauJetPhi_
edm::InputTag pfMEtSource_
edm::InputTag beamSpotSource_
std::vector< PFTau > PFTauCollection
collection of PFTau objects
edm::InputTag tauDiscrByLeadTrackPtCut_
MonitorElement * hElecTauAcoplanarity_
edm::InputTag electronSource_
int getIsoMode(const std::string &isoMode_string, int &error)
edm::InputTag tauDiscrByTrackIso_
long numWarningsTauDiscrAgainstMuons_
MonitorElement * hVisMass_
EwkMuTauHistManager(const edm::ParameterSet &, DQMStore *)
edm::InputTag tauDiscrByLeadTrackFinding_
long numWarningsTauDiscrByEcalIso_
double getVertexD0(const reco::Vertex &vertex, const reco::BeamSpot &beamSpot)
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_
MonitorElement * hCutFlowSummary_
long numWarningsTauDiscrByLeadTrackPtCut_
void finalizeHistograms()
edm::InputTag caloMEtSource_
EwkElecTauHistManager(const edm::ParameterSet &, DQMStore *)
double electronTrackIsoCut_
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
edm::InputTag tauDiscrAgainstMuons_
MonitorElement * hVertexZ_
void fillHistograms(const edm::Event &, const edm::EventSetup &)
MonitorElement * hTauDiscrAgainstMuons_
long numWarningsBeamSpot_
std::vector< Muon > MuonCollection
collection of Muon objects
MonitorElement * hMuonEcalIsoPt_
void fillHistograms(const edm::Event &, const edm::EventSetup &)
long numWarningsTauDiscrByTrackIso_
MonitorElement * hElecTauCharge_
edm::InputTag vertexSource_
const reco::GsfElectron * getTheElectron(const reco::GsfElectronCollection &electrons, double electronEtaCut, double electronPtCut)
MonitorElement * hElectronTrackIsoPt_
MonitorElement * hTauJetNumSignalTracks_
edm::InputTag tauJetSource_
MonitorElement * hMuonEta_
bool passesElectronId(const reco::GsfElectron &electron)
MonitorElement * hVisMassFinal_
MonitorElement * hTauLeadTrackPt_
EwkElecTauHistManager * elecTauHistManager_
MonitorElement * hElectronEta_
edm::InputTag caloMEtSource_
long numWarningsTriggerResults_
std::string dqmDirectory_
long numWarningsTauDiscrAgainstMuons_
MonitorElement * hMtMuPFMEt_
MonitorElement * hCaloMEtPt_
MonitorElement * hTauJetPt_
const reco::Muon * getTheMuon(const reco::MuonCollection &muons, double muonEtaCut, double muonPtCut)
edm::InputTag tauDiscrByEcalIso_
MonitorElement * hVertexZ_
const reco::PFTau * getTheTauJet(const reco::PFTauCollection &tauJets, double tauJetEtaCut, double tauJetPtCut, int &theTauJetIndex)
MonitorElement * hTauJetCharge_
MonitorElement * hTauJetPt_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void finalizeHistograms()
MonitorElement * hTauTrackIsoPt_
MonitorElement * hElectronPhi_
double calcPzeta(const reco::Candidate::LorentzVector &p1, const reco::Candidate::LorentzVector &p2, double pxMEt, double pyMEt)
edm::InputTag tauDiscrAgainstElectrons_
MonitorElement * hCaloMEtPt_
long numWarningsTauDiscrByLeadTrackFinding_
MonitorElement * hMuonPt_
long numWarningsElectron_
edm::InputTag tauDiscrByTrackIso_
MonitorElement * hMuTauDeltaR_
long numWarningsTriggerResults_
edm::InputTag muonSource_
MonitorElement * hMuTauAcoplanarity_
MonitorElement * hTauJetNumIsoTracks_
MonitorElement * hMuonCombIsoPt_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
edm::InputTag vertexSource_
bool passesElectronPreId(const reco::GsfElectron &electron)
edm::InputTag pfMEtSource_
long numWarningsBeamSpot_
EwkMuTauHistManager * muTauHistManager_
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_
edm::InputTag triggerResultsSource_
MonitorElement * hTauJetEta_
edm::InputTag tauDiscrAgainstMuons_
MonitorElement * hVisMass_
MonitorElement * hMuonTrackIsoPt_
unsigned numEventsAnalyzed_
long numWarningsTauDiscrAgainstElectrons_
EwkTauDQM(const edm::ParameterSet &)
MonitorElement * hElectronPt_
MonitorElement * hMtElecPFMEt_
long numWarningsTauDiscrByLeadTrackPtCut_