CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types | Private Attributes
EwkMuTauHistManager Class Reference

#include <EwkTauDQM.h>

Public Types

typedef EwkTauDQM::DQMStore DQMStore
 
typedef EwkTauDQM::MonitorElement MonitorElement
 

Public Member Functions

void bookHistograms (DQMStore::IBooker &)
 
 EwkMuTauHistManager (const edm::ParameterSet &)
 
void fillHistograms (const edm::Event &, const edm::EventSetup &)
 
void finalizeHistograms ()
 

Private Types

enum  {
  kPassedPreselection = 1, kPassedTrigger = 2, kPassedMuonId = 3, kPassedTauLeadTrack = 4,
  kPassedTauLeadTrackPt = 5, kPassedTauDiscrAgainstMuons = 6, kPassedDeltaR = 7, kPassedMuonTrackIso = 8,
  kPassedMuonEcalIso = 9, kPassedTauTrackIso = 10, kPassedTauEcalIso = 11
}
 
typedef std::vector< std::string > vstring
 

Private Attributes

edm::InputTag beamSpotSource_
 
edm::InputTag caloMEtSource_
 
int cfgError_
 
double deltaRCut_
 
std::string dqmDirectory_
 
MonitorElementhCaloMEtPt_
 
MonitorElementhCutFlowSummary_
 
vstring hltPaths_
 
MonitorElementhMtMuPFMEt_
 
MonitorElementhMuonCombIsoPt_
 
MonitorElementhMuonEcalIsoPt_
 
MonitorElementhMuonEta_
 
MonitorElementhMuonPhi_
 
MonitorElementhMuonPt_
 
MonitorElementhMuonTrackIsoPt_
 
MonitorElementhMuTauAcoplanarity_
 
MonitorElementhMuTauDeltaR_
 
MonitorElementhPFMEtPt_
 
MonitorElementhTauDiscrAgainstMuons_
 
MonitorElementhTauEcalIsoPt_
 
MonitorElementhTauJetCharge_
 
MonitorElementhTauJetEta_
 
MonitorElementhTauJetNumIsoTracks_
 
MonitorElementhTauJetNumSignalTracks_
 
MonitorElementhTauJetPhi_
 
MonitorElementhTauJetPt_
 
MonitorElementhTauLeadTrackPt_
 
MonitorElementhTauTrackIsoPt_
 
MonitorElementhVertexZ_
 
MonitorElementhVisMass_
 
MonitorElementhVisMassFinal_
 
int maxNumWarnings_
 
double muonCombIsoCut_
 
double muonEcalIsoCut_
 
double muonEtaCut_
 
int muonIsoMode_
 
double muonPtCut_
 
edm::InputTag muonSource_
 
double muonTrackIsoCut_
 
unsigned numEventsAnalyzed_
 
unsigned numEventsSelected_
 
long numWarningsBeamSpot_
 
long numWarningsCaloMEt_
 
long numWarningsHLTpath_
 
long numWarningsMuon_
 
long numWarningsPFMEt_
 
long numWarningsTauDiscrAgainstMuons_
 
long numWarningsTauDiscrByEcalIso_
 
long numWarningsTauDiscrByLeadTrackFinding_
 
long numWarningsTauDiscrByLeadTrackPtCut_
 
long numWarningsTauDiscrByTrackIso_
 
long numWarningsTauJet_
 
long numWarningsTriggerResults_
 
long numWarningsVertex_
 
edm::InputTag pfMEtSource_
 
edm::InputTag tauDiscrAgainstMuons_
 
edm::InputTag tauDiscrByEcalIso_
 
edm::InputTag tauDiscrByLeadTrackFinding_
 
edm::InputTag tauDiscrByLeadTrackPtCut_
 
edm::InputTag tauDiscrByTrackIso_
 
double tauJetEtaCut_
 
double tauJetPtCut_
 
edm::InputTag tauJetSource_
 
edm::InputTag triggerResultsSource_
 
edm::InputTag vertexSource_
 
double visMassCut_
 

Detailed Description

Booking and filling of histograms for data-quality monitoring purposes in Z --> muon + tau-jet channel

Author
Letizia Lusito, Christian Veelken

Definition at line 217 of file EwkTauDQM.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 219 of file EwkTauDQM.h.

◆ MonitorElement

Definition at line 220 of file EwkTauDQM.h.

◆ vstring

typedef std::vector<std::string> EwkMuTauHistManager::vstring
private

Definition at line 246 of file EwkTauDQM.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kPassedPreselection 
kPassedTrigger 
kPassedMuonId 
kPassedTauLeadTrack 
kPassedTauLeadTrackPt 
kPassedTauDiscrAgainstMuons 
kPassedDeltaR 
kPassedMuonTrackIso 
kPassedMuonEcalIso 
kPassedTauTrackIso 
kPassedTauEcalIso 

Definition at line 307 of file EwkTauDQM.h.

307  {
309  kPassedTrigger = 2,
310  kPassedMuonId = 3,
314  kPassedDeltaR = 7,
316  kPassedMuonEcalIso = 9,
317  kPassedTauTrackIso = 10,
318  kPassedTauEcalIso = 11
319  };

Constructor & Destructor Documentation

◆ EwkMuTauHistManager()

EwkMuTauHistManager::EwkMuTauHistManager ( const edm::ParameterSet cfg)

Definition at line 553 of file EwkTauDQM.cc.

554  : dqmDirectory_(cfg.getParameter<std::string>("dqmDirectory")),
557  cfgError_(0),
562  numWarningsMuon_(0),
570  numWarningsPFMEt_(0) {
571  triggerResultsSource_ = cfg.getParameter<edm::InputTag>("triggerResultsSource");
572  vertexSource_ = cfg.getParameter<edm::InputTag>("vertexSource");
573  beamSpotSource_ = cfg.getParameter<edm::InputTag>("beamSpotSource");
574  muonSource_ = cfg.getParameter<edm::InputTag>("muonSource");
575  tauJetSource_ = cfg.getParameter<edm::InputTag>("tauJetSource");
576  caloMEtSource_ = cfg.getParameter<edm::InputTag>("caloMEtSource");
577  pfMEtSource_ = cfg.getParameter<edm::InputTag>("pfMEtSource");
578 
579  tauDiscrByLeadTrackFinding_ = cfg.getParameter<edm::InputTag>("tauDiscrByLeadTrackFinding");
580  tauDiscrByLeadTrackPtCut_ = cfg.getParameter<edm::InputTag>("tauDiscrByLeadTrackPtCut");
581  tauDiscrByTrackIso_ = cfg.getParameter<edm::InputTag>("tauDiscrByTrackIso");
582  tauDiscrByEcalIso_ = cfg.getParameter<edm::InputTag>("tauDiscrByEcalIso");
583  tauDiscrAgainstMuons_ = cfg.getParameter<edm::InputTag>("tauDiscrAgainstMuons");
584 
585  hltPaths_ = cfg.getParameter<vstring>("hltPaths");
586 
587  muonEtaCut_ = cfg.getParameter<double>("muonEtaCut");
588  muonPtCut_ = cfg.getParameter<double>("muonPtCut");
589  muonTrackIsoCut_ = cfg.getParameter<double>("muonTrackIsoCut");
590  muonEcalIsoCut_ = cfg.getParameter<double>("muonEcalIsoCut");
591  muonCombIsoCut_ = cfg.getParameter<double>("muonCombIsoCut");
592  std::string muonIsoMode_string = cfg.getParameter<std::string>("muonIsoMode");
593  muonIsoMode_ = getIsoMode(muonIsoMode_string, cfgError_);
594 
595  tauJetEtaCut_ = cfg.getParameter<double>("tauJetEtaCut");
596  tauJetPtCut_ = cfg.getParameter<double>("tauJetPtCut");
597 
598  visMassCut_ = cfg.getParameter<double>("visMassCut");
599  deltaRCut_ = cfg.getParameter<double>("deltaRCut");
600 
601  maxNumWarnings_ = cfg.exists("maxNumWarnings") ? cfg.getParameter<int>("maxNumWarnings") : 1;
602 }

References beamSpotSource_, caloMEtSource_, looper::cfg, cfgError_, deltaRCut_, getIsoMode(), hltPaths_, maxNumWarnings_, muonCombIsoCut_, muonEcalIsoCut_, muonEtaCut_, muonIsoMode_, muonPtCut_, muonSource_, muonTrackIsoCut_, pfMEtSource_, AlCaHLTBitMon_QueryRunRegistry::string, tauDiscrAgainstMuons_, tauDiscrByEcalIso_, tauDiscrByLeadTrackFinding_, tauDiscrByLeadTrackPtCut_, tauDiscrByTrackIso_, tauJetEtaCut_, tauJetPtCut_, tauJetSource_, triggerResultsSource_, vertexSource_, and visMassCut_.

Member Function Documentation

◆ bookHistograms()

void EwkMuTauHistManager::bookHistograms ( DQMStore::IBooker iBooker)

Definition at line 604 of file EwkTauDQM.cc.

604  {
606 
607  hMuonPt_ = iBooker.book1D("MuonPt", "P_{T}^{#mu}", 20, 0., 100.);
608  hMuonEta_ = iBooker.book1D("MuonEta", "#eta_{#mu}", 20, -4.0, +4.0);
609  hMuonPhi_ = iBooker.book1D("MuonPhi", "#phi_{#mu}", 20, -TMath::Pi(), +TMath::Pi());
610  hMuonTrackIsoPt_ = iBooker.book1D("MuonTrackIsoPt", "Muon Track Iso.", 20, -0.01, 10.);
611  hMuonEcalIsoPt_ = iBooker.book1D("MuonEcalIsoPt", "Muon Ecal Iso.", 20, -0.01, 10.);
612  hMuonCombIsoPt_ = iBooker.book1D("MuonCombIsoPt", "Muon Comb Iso.", 20, -0.01, 1.);
613 
614  hTauJetPt_ = iBooker.book1D("TauJetPt", "P_{T}^{#tau-Jet}", 20, 0., 100.);
615  hTauJetEta_ = iBooker.book1D("TauJetEta", "#eta_{#tau-Jet}", 20, -4.0, +4.0);
616  hTauJetPhi_ = iBooker.book1D("TauJetPhi", "#phi_{#tau-Jet}", 20, -TMath::Pi(), +TMath::Pi());
617  hTauLeadTrackPt_ = iBooker.book1D("TauLeadTrackPt", "P_{T}^{#tau-Jetldg trk}", 20, 0., 50.);
618  hTauTrackIsoPt_ = iBooker.book1D("TauTrackIsoPt", "Tau Track Iso.", 20, -0.01, 40.);
619  hTauEcalIsoPt_ = iBooker.book1D("TauEcalIsoPt", "Tau Ecal Iso.", 10, -0.01, 10.);
620  hTauDiscrAgainstMuons_ = iBooker.book1D("TauDiscrAgainstMuons", "Tau Discr. against Muons", 2, -0.5, +1.5);
621  hTauJetNumSignalTracks_ = iBooker.book1D("TauJetNumSignalTracks", "Num. Tau signal Cone Tracks", 20, -0.5, +19.5);
622  hTauJetNumIsoTracks_ = iBooker.book1D("TauJetNumIsoTracks", "Num. Tau isolation Cone Tracks", 20, -0.5, +19.5);
623 
624  hVisMass_ = iBooker.book1D("VisMass", "#mu + #tau-Jet visible Mass", 20, 0., 120.);
625  hVisMassFinal_ = iBooker.book1D("VisMassFinal", "#mu + #tau-Jet visible final Mass", 20, 0., 120.);
626  hMtMuPFMEt_ = iBooker.book1D("MtMuPFMEt", "#mu + E_{T}^{miss} (PF) transverse Mass", 20, 0., 120.);
628  iBooker.book1D("MuTauAcoplanarity", "#Delta #phi_{#mu #tau-Jet}", 20, -TMath::Pi(), +TMath::Pi());
629  hMuTauDeltaR_ = iBooker.book1D("MuTauDeltaR", "#Delta R_{#mu #tau-Jet}", 20, 0, 5);
630  hVertexZ_ = iBooker.book1D("VertexZ", "Event Vertex z-Position", 20, -25., +25.);
631  hCaloMEtPt_ = iBooker.book1D("CaloMEtPt", "E_{T}^{miss} (Calo)", 20, 0., 100.);
632  hPFMEtPt_ = iBooker.book1D("PFMEtPt", "E_{T}^{miss} (PF)", 20, 0., 100.);
633  hCutFlowSummary_ = iBooker.book1D("CutFlowSummary", "Cut-flow Summary", 11, 0.5, 11.5);
639  hCutFlowSummary_->setBinLabel(kPassedTauLeadTrack, "#tau lead. Track");
640  hCutFlowSummary_->setBinLabel(kPassedTauLeadTrackPt, "#tau lead. Track P_{T}");
641  hCutFlowSummary_->setBinLabel(kPassedTauTrackIso, "#tau Track Iso.");
642  hCutFlowSummary_->setBinLabel(kPassedTauEcalIso, "#tau Ecal Iso.");
643  hCutFlowSummary_->setBinLabel(kPassedTauDiscrAgainstMuons, "#tau anti-#mu Discr.");
644  hCutFlowSummary_->setBinLabel(kPassedDeltaR, "#DeltaR(#mu,#tau) ");
645 }

References dqm::implementation::IBooker::book1D(), dqmDirectory_, hCaloMEtPt_, hCutFlowSummary_, hMtMuPFMEt_, hMuonCombIsoPt_, hMuonEcalIsoPt_, hMuonEta_, hMuonPhi_, hMuonPt_, hMuonTrackIsoPt_, hMuTauAcoplanarity_, hMuTauDeltaR_, hPFMEtPt_, hTauDiscrAgainstMuons_, hTauEcalIsoPt_, hTauJetEta_, hTauJetNumIsoTracks_, hTauJetNumSignalTracks_, hTauJetPhi_, hTauJetPt_, hTauLeadTrackPt_, hTauTrackIsoPt_, hVertexZ_, hVisMass_, hVisMassFinal_, kPassedDeltaR, kPassedMuonEcalIso, kPassedMuonId, kPassedMuonTrackIso, kPassedPreselection, kPassedTauDiscrAgainstMuons, kPassedTauEcalIso, kPassedTauLeadTrack, kPassedTauLeadTrackPt, kPassedTauTrackIso, kPassedTrigger, Pi, dqm::impl::MonitorElement::setBinLabel(), and dqm::implementation::NavigatorBase::setCurrentFolder().

Referenced by EwkTauDQM::bookHistograms().

◆ fillHistograms()

void EwkMuTauHistManager::fillHistograms ( const edm::Event evt,
const edm::EventSetup es 
)

Definition at line 647 of file EwkTauDQM.cc.

647  {
648  if (cfgError_)
649  return;
650 
651  //-----------------------------------------------------------------------------
652  // access event-level information
653  //-----------------------------------------------------------------------------
654 
655  bool readError = false;
656 
657  //--- get decision of high-level trigger for the event
659  readEventData(evt,
661  hltDecision,
664  readError,
665  "Failed to access Trigger results");
666  if (readError)
667  return;
668 
669  const edm::TriggerNames& triggerNames = evt.triggerNames(*hltDecision);
670 
671  bool isTriggered = false;
672  for (vstring::const_iterator hltPath = hltPaths_.begin(); hltPath != hltPaths_.end(); ++hltPath) {
673  unsigned int index = triggerNames.triggerIndex(*hltPath);
674  if (index < triggerNames.size()) {
675  if (hltDecision->accept(index))
676  isTriggered = true;
677  } else {
679  edm::LogWarning("EwkMuTauHistManager") << " Undefined HLT path = " << (*hltPath) << " !!";
681  continue;
682  }
683  }
684 
685  //--- get reconstructed primary event vertex of the event
686  // (take as "the" primary event vertex the first entry in the collection
687  // of vertex objects, corresponding to the vertex associated to the highest
688  // Pt sum of tracks)
690  readEventData(evt,
695  readError,
696  "Failed to access Vertex collection");
697  if (readError)
698  return;
699 
700  const reco::Vertex* theEventVertex = (!vertexCollection->empty()) ? &(vertexCollection->at(0)) : nullptr;
701 
702  //--- get beam-spot (expected vertex position) for the event
705  evt, beamSpotSource_, beamSpot, numWarningsBeamSpot_, maxNumWarnings_, readError, "Failed to access Beam-spot");
706  if (readError)
707  return;
708 
709  //--- get collections of reconstructed muons from the event
712  evt, muonSource_, muons, numWarningsMuon_, maxNumWarnings_, readError, "Failed to access Muon collection");
713  if (readError)
714  return;
715 
716  const reco::Muon* theMuon = getTheMuon(*muons, muonEtaCut_, muonPtCut_);
717 
718  double theMuonTrackIsoPt = 1.e+3;
719  double theMuonEcalIsoPt = 1.e+3;
720  double theMuonCombIsoPt = 1.e+3;
721 
722  if (theMuon) {
723  theMuonTrackIsoPt = theMuon->isolationR05().sumPt;
724  // mu.isolationR05().emEt + mu.isolationR05().hadEt +
725  // mu.isolationR05().sumPt
726  theMuonEcalIsoPt = theMuon->isolationR05().emEt;
727 
728  if (muonIsoMode_ == kRelativeIso && theMuon->pt() > 0.) {
729  theMuonTrackIsoPt /= theMuon->pt();
730  theMuonEcalIsoPt /= theMuon->pt();
731  theMuonCombIsoPt = (theMuon->isolationR05().sumPt + theMuon->isolationR05().emEt) / theMuon->pt();
732  // std::cout<<"Rel Iso ="<<theMuonCombIsoPt<<std::endl;
733  }
734  }
735 
736  //--- get collections of reconstructed tau-jets from the event
738  readEventData(evt,
740  tauJets,
743  readError,
744  "Failed to access Tau-jet collection");
745  if (readError)
746  return;
747 
748  //--- get collections of tau-jet discriminators for those tau-jets
750  readEventData(evt,
755  readError,
756  "Failed to access collection of pf. Tau discriminators by "
757  "leading Track finding");
759  readEventData(evt,
764  readError,
765  "Failed to access collection of pf. Tau discriminators by "
766  "leading Track Pt cut");
768  readEventData(evt,
773  readError,
774  "Failed to access collection of pf. Tau discriminators by "
775  "Track isolation");
777  readEventData(evt,
782  readError,
783  "Failed to access collection of pf. Tau discriminators by ECAL "
784  "isolation");
786  readEventData(evt,
791  readError,
792  "Failed to access collection of pf. Tau discriminators against Muons");
793  if (readError)
794  return;
795 
796  int theTauJetIndex = -1;
797  const reco::PFTau* theTauJet = getTheTauJet(*tauJets, tauJetEtaCut_, tauJetPtCut_, theTauJetIndex);
798 
799  double theTauDiscrByLeadTrackFinding = -1.;
800  double theTauDiscrByLeadTrackPtCut = -1.;
801  double theTauDiscrByTrackIso = -1.;
802  double theTauDiscrByEcalIso = -1.;
803  double theTauDiscrAgainstMuons = -1.;
804  if (theTauJetIndex != -1) {
805  reco::PFTauRef theTauJetRef(tauJets, theTauJetIndex);
806  theTauDiscrByLeadTrackFinding = (*tauDiscrByLeadTrackFinding)[theTauJetRef];
807  theTauDiscrByLeadTrackPtCut = (*tauDiscrByLeadTrackPtCut)[theTauJetRef];
808  theTauDiscrByTrackIso = (*tauDiscrByTrackIso)[theTauJetRef];
809  theTauDiscrByEcalIso = (*tauDiscrByEcalIso)[theTauJetRef];
810  theTauDiscrAgainstMuons = (*tauDiscrAgainstMuons)[theTauJetRef];
811  }
812 
813  //--- get missing transverse momentum
814  // measured by calorimeters/reconstructed by particle-flow algorithm
815  edm::Handle<reco::CaloMETCollection> caloMEtCollection;
816  readEventData(evt,
818  caloMEtCollection,
821  readError,
822  "Failed to access calo. MET collection");
823  if (readError)
824  return;
825 
826  const reco::CaloMET& caloMEt = caloMEtCollection->at(0);
827 
828  edm::Handle<reco::PFMETCollection> pfMEtCollection;
829  readEventData(evt,
830  pfMEtSource_,
831  pfMEtCollection,
834  readError,
835  "Failed to access pf. MET collection");
836  if (readError)
837  return;
838 
839  const reco::PFMET& pfMEt = pfMEtCollection->at(0);
840 
841  if (!(theMuon && theTauJet && theTauJetIndex != -1))
842  return;
843 
844  //-----------------------------------------------------------------------------
845  // compute EWK tau analysis specific quantities
846  //-----------------------------------------------------------------------------
847 
848  double dPhiMuTau = calcDeltaPhi(theMuon->phi(), theTauJet->phi());
849  // double dRMuTau = calcDeltaR(theMuon->p4(), theTauJet->p4());
850  double dRMuTau = fabs(ROOT::Math::VectorUtil::DeltaR(theMuon->p4(), theTauJet->p4()));
851  double mMuTau = (theMuon->p4() + theTauJet->p4()).M();
852 
853  // double mtMuCaloMEt = calcMt(theMuon->px(), theMuon->px(), caloMEt.px(),
854  // caloMEt.py());
855  double mtMuPFMEt = calcMt(theMuon->px(), theMuon->px(), pfMEt.px(), pfMEt.py());
856 
857  // double pZetaCaloMEt = calcPzeta(theMuon->p4(), theTauJet->p4(),
858  // caloMEt.px(), caloMEt.py());
859  // double pZetaPFMEt = calcPzeta(theMuon->p4(), theTauJet->p4(), pfMEt.px(),
860  // pfMEt.py());
861 
862  //-----------------------------------------------------------------------------
863  // apply selection criteria; fill histograms
864  //-----------------------------------------------------------------------------
865 
866  //--- fill muon multiplicity histogram
867  unsigned numGlobalMuons = 0;
868  for (reco::MuonCollection::const_iterator muon = muons->begin(); muon != muons->end(); ++muon) {
869  if (muon->isGlobalMuon()) {
870  ++numGlobalMuons;
871  }
872  }
873 
874  // hNumGlobalMuons_->Fill(numGlobalMuons);
875 
877 
878  bool isSelected = false;
879  int cutFlowStatus = -1;
880 
881  // if ( muonIsoMode_ == kAbsoluteIso){
882  if (mMuTau > visMassCut_) {
883  cutFlowStatus = kPassedPreselection;
884  }
885  if (cutFlowStatus == kPassedPreselection && (isTriggered || hltPaths_.empty())) {
886  cutFlowStatus = kPassedTrigger;
887  }
888  if (cutFlowStatus == kPassedTrigger && (theMuon->isGlobalMuon() || theMuon->isTrackerMuon())) {
889  cutFlowStatus = kPassedMuonId;
890  }
891 
892  if (cutFlowStatus == kPassedMuonId && (theTauDiscrByLeadTrackFinding > 0.5) && (theTauJet->eta() < tauJetEtaCut_) &&
893  (theTauJet->pt() > tauJetPtCut_)) {
894  cutFlowStatus = kPassedTauLeadTrack;
895  }
896  if (cutFlowStatus == kPassedTauLeadTrack && theTauDiscrByLeadTrackPtCut > 0.5) {
897  cutFlowStatus = kPassedTauLeadTrackPt;
898  // hTauTrackIsoPt_->Fill(theTauJet->isolationPFChargedHadrCandsPtSum());
899  }
900  if (cutFlowStatus == kPassedTauLeadTrackPt && theTauDiscrAgainstMuons > 0.5) {
901  cutFlowStatus = kPassedTauDiscrAgainstMuons;
902  // hTauEcalIsoPt_->Fill(theTauJet->isolationPFGammaCandsEtSum());
903  }
904  if (cutFlowStatus == kPassedTauDiscrAgainstMuons && dRMuTau > deltaRCut_) {
905  cutFlowStatus = kPassedDeltaR;
906  // hTauDiscrAgainstMuons_->Fill(theTauDiscrAgainstMuons);
907 
908  hMuonPt_->Fill(theMuon->pt());
909  hMuonEta_->Fill(theMuon->eta());
910  hMuonPhi_->Fill(theMuon->phi());
911 
912  hTauJetPt_->Fill(theTauJet->pt());
913  hTauJetEta_->Fill(theTauJet->eta());
914  hTauJetPhi_->Fill(theTauJet->phi());
915 
916  // hTauJetCharge_->Fill(theTauJet->charge());
917  if (theTauJet->signalTracks().isAvailable())
919  if (theTauJet->isolationTracks().isAvailable())
921 
922  hVisMass_->Fill(mMuTau);
923  // hMtMuCaloMEt_->Fill(mtMuCaloMEt);
924  hMtMuPFMEt_->Fill(mtMuPFMEt);
925  // hPzetaCaloMEt_->Fill(pZetaCaloMEt);
926  // hPzetaPFMEt_->Fill(pZetaPFMEt);
927  hMuTauAcoplanarity_->Fill(dPhiMuTau);
928  hMuTauDeltaR_->Fill(dRMuTau);
929  // hMuTauCharge_->Fill(theMuon->charge() + theTauJet->charge());
930 
931  if (theEventVertex) {
932  // hVertexChi2_->Fill(theEventVertex->normalizedChi2());
933  hVertexZ_->Fill(theEventVertex->z());
934  // hVertexD0_->Fill(getVertexD0(*theEventVertex, *beamSpot));
935  }
936 
937  hCaloMEtPt_->Fill(caloMEt.pt());
938  // hCaloMEtPhi_->Fill(caloMEt.phi());
939 
940  hPFMEtPt_->Fill(pfMEt.pt());
941  // hPFMEtPhi_->Fill(pfMEt.phi());
942  hMuonTrackIsoPt_->Fill(theMuonTrackIsoPt);
943  hMuonEcalIsoPt_->Fill(theMuonEcalIsoPt);
944  hMuonCombIsoPt_->Fill(theMuonCombIsoPt);
945  // hMuonCombIsoPt_->Fill((theMuonTrackIsoPt+theMuonEcalIsoPt)/theMuon->pt());
946 
947  // std::cout<<"Rel Iso Hist =
948  // "<<(theMuonTrackIsoPt+theMuonEcalIsoPt)/theMuon->pt()<<std::endl;
951  hTauDiscrAgainstMuons_->Fill(theTauDiscrAgainstMuons);
952  if (theTauJet->leadTrack().isAvailable())
953  hTauLeadTrackPt_->Fill(theTauJet->leadTrack()->pt());
954  }
955 
956  if ((cutFlowStatus == kPassedDeltaR) && (((theMuonTrackIsoPt < muonTrackIsoCut_) && (muonIsoMode_ == kAbsoluteIso)) ||
957  ((1 > 0) && (muonIsoMode_ == kRelativeIso)))) {
958  cutFlowStatus = kPassedMuonTrackIso;
959  // isSelected = true;
960  }
961  if (cutFlowStatus == kPassedMuonTrackIso &&
962  (((theMuonEcalIsoPt < muonEcalIsoCut_) && (muonIsoMode_ == kAbsoluteIso)) ||
963  ((theMuonCombIsoPt < muonCombIsoCut_) && (muonIsoMode_ == kRelativeIso)))) {
964  cutFlowStatus = kPassedMuonEcalIso;
965  // isSelected = true;
966  }
967 
968  if (cutFlowStatus == kPassedMuonEcalIso && theTauDiscrByTrackIso > 0.5) {
969  cutFlowStatus = kPassedTauTrackIso;
970  }
971 
972  if (cutFlowStatus == kPassedTauTrackIso && theTauDiscrByEcalIso > 0.5) {
973  cutFlowStatus = kPassedTauEcalIso;
974  isSelected = true;
975  }
976 
977  for (int iCut = 1; iCut <= cutFlowStatus; ++iCut) {
978  hCutFlowSummary_->Fill(iCut);
979  }
980 
981  for (int iCut = 1; iCut <= cutFlowStatus; ++iCut) {
982  hCutFlowSummary_->Fill(iCut);
983  }
984 
985  // }
986 
987  if (isSelected) {
988  hVisMassFinal_->Fill(mMuTau);
990  }
991 }

References edm::HLTGlobalStatus::accept(), pwdgSkimBPark_cfi::beamSpot, beamSpotSource_, calcDeltaPhi(), calcMt(), caloMEtSource_, cfgError_, electronAnalyzer_cfi::DeltaR, deltaRCut_, reco::MuonIsolation::emEt, reco::LeafCandidate::eta(), dqm::impl::MonitorElement::Fill(), getTheMuon(), getTheTauJet(), hCaloMEtPt_, hCutFlowSummary_, TriggerAnalyzer::hltPath, hltPaths_, hMtMuPFMEt_, hMuonCombIsoPt_, hMuonEcalIsoPt_, hMuonEta_, hMuonPhi_, hMuonPt_, hMuonTrackIsoPt_, hMuTauAcoplanarity_, hMuTauDeltaR_, hPFMEtPt_, hTauDiscrAgainstMuons_, hTauEcalIsoPt_, hTauJetEta_, hTauJetNumIsoTracks_, hTauJetNumSignalTracks_, hTauJetPhi_, hTauJetPt_, hTauLeadTrackPt_, hTauTrackIsoPt_, hVertexZ_, hVisMass_, hVisMassFinal_, edm::RefVector< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isAvailable(), reco::Muon::isGlobalMuon(), reco::PFTau::isolationPFChargedHadrCandsPtSum(), reco::PFTau::isolationPFGammaCandsEtSum(), reco::Muon::isolationR05(), reco::BaseTau::isolationTracks(), isSelected(), reco::Muon::isTrackerMuon(), kAbsoluteIso, kPassedDeltaR, kPassedMuonEcalIso, kPassedMuonId, kPassedMuonTrackIso, kPassedPreselection, kPassedTauDiscrAgainstMuons, kPassedTauEcalIso, kPassedTauLeadTrack, kPassedTauLeadTrackPt, kPassedTauTrackIso, kPassedTrigger, kRelativeIso, reco::BaseTau::leadTrack(), maxNumWarnings_, HLT_FULL_cff::muon, muonCombIsoCut_, muonEcalIsoCut_, muonEtaCut_, muonIsoMode_, muonPtCut_, PDWG_BPHSkim_cff::muons, muonSource_, muonTrackIsoCut_, numEventsAnalyzed_, numEventsSelected_, numWarningsBeamSpot_, numWarningsCaloMEt_, numWarningsHLTpath_, numWarningsMuon_, numWarningsPFMEt_, numWarningsTauDiscrAgainstMuons_, numWarningsTauDiscrByEcalIso_, numWarningsTauDiscrByLeadTrackFinding_, numWarningsTauDiscrByLeadTrackPtCut_, numWarningsTauDiscrByTrackIso_, numWarningsTauJet_, numWarningsTriggerResults_, numWarningsVertex_, reco::LeafCandidate::p4(), pfMEtSource_, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), readEventData(), reco::BaseTau::signalTracks(), edm::RefVector< C, T, F >::size(), reco::MuonIsolation::sumPt, ewkTauDQM_cfi::tauDiscrAgainstMuons, tauDiscrAgainstMuons_, ewkTauDQM_cfi::tauDiscrByEcalIso, ewkTauDQM_cfi::tauDiscrByLeadTrackFinding, tauDiscrByLeadTrackFinding_, ewkTauDQM_cfi::tauDiscrByLeadTrackPtCut, tauDiscrByLeadTrackPtCut_, ewkTauDQM_cfi::tauDiscrByTrackIso, tauDiscrByTrackIso_, tauJetEtaCut_, tauJetPtCut_, tauJetSource_, L1TEGammaOffline_cfi::triggerNames, edm::Event::triggerNames(), triggerResultsSource_, spclusmultinvestigator_cfi::vertexCollection, vertexSource_, visMassCut_, and reco::Vertex::z().

Referenced by EwkTauDQM::analyze().

◆ finalizeHistograms()

void EwkMuTauHistManager::finalizeHistograms ( )

Definition at line 993 of file EwkTauDQM.cc.

993  {
994  edm::LogInfo("EwkMuTauHistManager") << "Filter-Statistics Summary:" << std::endl
995  << " Events analyzed = " << numEventsAnalyzed_ << std::endl
996  << " Events selected = " << numEventsSelected_;
997  if (numEventsAnalyzed_ > 0) {
998  double eff = numEventsSelected_ / (double)numEventsAnalyzed_;
999  edm::LogInfo("") << "Overall efficiency = " << std::setprecision(4) << eff * 100. << " +/- " << std::setprecision(4)
1000  << TMath::Sqrt(eff * (1 - eff) / numEventsAnalyzed_) * 100. << ")%";
1001  }
1002 }

References numEventsAnalyzed_, and numEventsSelected_.

Referenced by EwkTauDQM::dqmEndRun().

Member Data Documentation

◆ beamSpotSource_

edm::InputTag EwkMuTauHistManager::beamSpotSource_
private

Definition at line 233 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ caloMEtSource_

edm::InputTag EwkMuTauHistManager::caloMEtSource_
private

Definition at line 236 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ cfgError_

int EwkMuTauHistManager::cfgError_
private

Definition at line 325 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ deltaRCut_

double EwkMuTauHistManager::deltaRCut_
private

Definition at line 260 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ dqmDirectory_

std::string EwkMuTauHistManager::dqmDirectory_
private

Definition at line 264 of file EwkTauDQM.h.

Referenced by bookHistograms().

◆ hCaloMEtPt_

MonitorElement* EwkMuTauHistManager::hCaloMEtPt_
private

Definition at line 300 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hCutFlowSummary_

MonitorElement* EwkMuTauHistManager::hCutFlowSummary_
private

Definition at line 306 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hltPaths_

vstring EwkMuTauHistManager::hltPaths_
private

Definition at line 247 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ hMtMuPFMEt_

MonitorElement* EwkMuTauHistManager::hMtMuPFMEt_
private

Definition at line 290 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonCombIsoPt_

MonitorElement* EwkMuTauHistManager::hMuonCombIsoPt_
private

Definition at line 273 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonEcalIsoPt_

MonitorElement* EwkMuTauHistManager::hMuonEcalIsoPt_
private

Definition at line 272 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonEta_

MonitorElement* EwkMuTauHistManager::hMuonEta_
private

Definition at line 269 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonPhi_

MonitorElement* EwkMuTauHistManager::hMuonPhi_
private

Definition at line 270 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonPt_

MonitorElement* EwkMuTauHistManager::hMuonPt_
private

Definition at line 268 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuonTrackIsoPt_

MonitorElement* EwkMuTauHistManager::hMuonTrackIsoPt_
private

Definition at line 271 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuTauAcoplanarity_

MonitorElement* EwkMuTauHistManager::hMuTauAcoplanarity_
private

Definition at line 293 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hMuTauDeltaR_

MonitorElement* EwkMuTauHistManager::hMuTauDeltaR_
private

Definition at line 287 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hPFMEtPt_

MonitorElement* EwkMuTauHistManager::hPFMEtPt_
private

Definition at line 303 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauDiscrAgainstMuons_

MonitorElement* EwkMuTauHistManager::hTauDiscrAgainstMuons_
private

Definition at line 281 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauEcalIsoPt_

MonitorElement* EwkMuTauHistManager::hTauEcalIsoPt_
private

Definition at line 280 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauJetCharge_

MonitorElement* EwkMuTauHistManager::hTauJetCharge_
private

Definition at line 282 of file EwkTauDQM.h.

◆ hTauJetEta_

MonitorElement* EwkMuTauHistManager::hTauJetEta_
private

Definition at line 276 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauJetNumIsoTracks_

MonitorElement* EwkMuTauHistManager::hTauJetNumIsoTracks_
private

Definition at line 284 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauJetNumSignalTracks_

MonitorElement* EwkMuTauHistManager::hTauJetNumSignalTracks_
private

Definition at line 283 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauJetPhi_

MonitorElement* EwkMuTauHistManager::hTauJetPhi_
private

Definition at line 277 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauJetPt_

MonitorElement* EwkMuTauHistManager::hTauJetPt_
private

Definition at line 275 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauLeadTrackPt_

MonitorElement* EwkMuTauHistManager::hTauLeadTrackPt_
private

Definition at line 278 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hTauTrackIsoPt_

MonitorElement* EwkMuTauHistManager::hTauTrackIsoPt_
private

Definition at line 279 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hVertexZ_

MonitorElement* EwkMuTauHistManager::hVertexZ_
private

Definition at line 297 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hVisMass_

MonitorElement* EwkMuTauHistManager::hVisMass_
private

Definition at line 286 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ hVisMassFinal_

MonitorElement* EwkMuTauHistManager::hVisMassFinal_
private

Definition at line 288 of file EwkTauDQM.h.

Referenced by bookHistograms(), and fillHistograms().

◆ maxNumWarnings_

int EwkMuTauHistManager::maxNumWarnings_
private

Definition at line 327 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonCombIsoCut_

double EwkMuTauHistManager::muonCombIsoCut_
private

Definition at line 253 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonEcalIsoCut_

double EwkMuTauHistManager::muonEcalIsoCut_
private

Definition at line 252 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonEtaCut_

double EwkMuTauHistManager::muonEtaCut_
private

Definition at line 249 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonIsoMode_

int EwkMuTauHistManager::muonIsoMode_
private

Definition at line 254 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonPtCut_

double EwkMuTauHistManager::muonPtCut_
private

Definition at line 250 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonSource_

edm::InputTag EwkMuTauHistManager::muonSource_
private

Definition at line 234 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ muonTrackIsoCut_

double EwkMuTauHistManager::muonTrackIsoCut_
private

Definition at line 251 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ numEventsAnalyzed_

unsigned EwkMuTauHistManager::numEventsAnalyzed_
private

Definition at line 322 of file EwkTauDQM.h.

Referenced by fillHistograms(), and finalizeHistograms().

◆ numEventsSelected_

unsigned EwkMuTauHistManager::numEventsSelected_
private

Definition at line 323 of file EwkTauDQM.h.

Referenced by fillHistograms(), and finalizeHistograms().

◆ numWarningsBeamSpot_

long EwkMuTauHistManager::numWarningsBeamSpot_
private

Definition at line 332 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsCaloMEt_

long EwkMuTauHistManager::numWarningsCaloMEt_
private

Definition at line 340 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsHLTpath_

long EwkMuTauHistManager::numWarningsHLTpath_
private

Definition at line 330 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsMuon_

long EwkMuTauHistManager::numWarningsMuon_
private

Definition at line 333 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsPFMEt_

long EwkMuTauHistManager::numWarningsPFMEt_
private

Definition at line 341 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauDiscrAgainstMuons_

long EwkMuTauHistManager::numWarningsTauDiscrAgainstMuons_
private

Definition at line 339 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauDiscrByEcalIso_

long EwkMuTauHistManager::numWarningsTauDiscrByEcalIso_
private

Definition at line 338 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauDiscrByLeadTrackFinding_

long EwkMuTauHistManager::numWarningsTauDiscrByLeadTrackFinding_
private

Definition at line 335 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauDiscrByLeadTrackPtCut_

long EwkMuTauHistManager::numWarningsTauDiscrByLeadTrackPtCut_
private

Definition at line 336 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauDiscrByTrackIso_

long EwkMuTauHistManager::numWarningsTauDiscrByTrackIso_
private

Definition at line 337 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTauJet_

long EwkMuTauHistManager::numWarningsTauJet_
private

Definition at line 334 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsTriggerResults_

long EwkMuTauHistManager::numWarningsTriggerResults_
private

Definition at line 329 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ numWarningsVertex_

long EwkMuTauHistManager::numWarningsVertex_
private

Definition at line 331 of file EwkTauDQM.h.

Referenced by fillHistograms().

◆ pfMEtSource_

edm::InputTag EwkMuTauHistManager::pfMEtSource_
private

Definition at line 237 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauDiscrAgainstMuons_

edm::InputTag EwkMuTauHistManager::tauDiscrAgainstMuons_
private

Definition at line 243 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauDiscrByEcalIso_

edm::InputTag EwkMuTauHistManager::tauDiscrByEcalIso_
private

Definition at line 242 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager().

◆ tauDiscrByLeadTrackFinding_

edm::InputTag EwkMuTauHistManager::tauDiscrByLeadTrackFinding_
private

Definition at line 239 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauDiscrByLeadTrackPtCut_

edm::InputTag EwkMuTauHistManager::tauDiscrByLeadTrackPtCut_
private

Definition at line 240 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauDiscrByTrackIso_

edm::InputTag EwkMuTauHistManager::tauDiscrByTrackIso_
private

Definition at line 241 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauJetEtaCut_

double EwkMuTauHistManager::tauJetEtaCut_
private

Definition at line 256 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauJetPtCut_

double EwkMuTauHistManager::tauJetPtCut_
private

Definition at line 257 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ tauJetSource_

edm::InputTag EwkMuTauHistManager::tauJetSource_
private

Definition at line 235 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ triggerResultsSource_

edm::InputTag EwkMuTauHistManager::triggerResultsSource_
private

Definition at line 231 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ vertexSource_

edm::InputTag EwkMuTauHistManager::vertexSource_
private

Definition at line 232 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

◆ visMassCut_

double EwkMuTauHistManager::visMassCut_
private

Definition at line 259 of file EwkTauDQM.h.

Referenced by EwkMuTauHistManager(), and fillHistograms().

EwkMuTauHistManager::tauJetSource_
edm::InputTag tauJetSource_
Definition: EwkTauDQM.h:235
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
calcMt
double calcMt(double px1, double py1, double px2, double py2)
Definition: EwkTauDQM.cc:1038
kRelativeIso
Definition: EwkTauDQM.h:371
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
EwkMuTauHistManager::muonPtCut_
double muonPtCut_
Definition: EwkTauDQM.h:250
EwkMuTauHistManager::numWarningsTauDiscrAgainstMuons_
long numWarningsTauDiscrAgainstMuons_
Definition: EwkTauDQM.h:339
EwkMuTauHistManager::numWarningsVertex_
long numWarningsVertex_
Definition: EwkTauDQM.h:331
EwkMuTauHistManager::muonIsoMode_
int muonIsoMode_
Definition: EwkTauDQM.h:254
EwkMuTauHistManager::kPassedTrigger
Definition: EwkTauDQM.h:309
reco::BaseTau::leadTrack
virtual reco::TrackRef leadTrack() const
Definition: BaseTau.cc:24
muon
Definition: MuonCocktails.h:17
edm::RefVector::isAvailable
bool isAvailable() const
Definition: RefVector.h:233
edm::Ref::isAvailable
bool isAvailable() const
Definition: Ref.h:537
reco::Vertex::z
double z() const
z coordinate
Definition: Vertex.h:133
reco::MuonIsolation::emEt
float emEt
ecal sum-Et
Definition: MuonIsolation.h:7
EwkMuTauHistManager::numWarningsTauDiscrByTrackIso_
long numWarningsTauDiscrByTrackIso_
Definition: EwkTauDQM.h:337
ewkTauDQM_cfi.tauDiscrByTrackIso
tauDiscrByTrackIso
Definition: ewkTauDQM_cfi.py:30
EwkMuTauHistManager::hTauEcalIsoPt_
MonitorElement * hTauEcalIsoPt_
Definition: EwkTauDQM.h:280
getIsoMode
int getIsoMode(const std::string &isoMode_string, int &error)
Definition: EwkTauDQM.cc:1012
EwkMuTauHistManager::tauDiscrByTrackIso_
edm::InputTag tauDiscrByTrackIso_
Definition: EwkTauDQM.h:241
EwkMuTauHistManager::kPassedDeltaR
Definition: EwkTauDQM.h:314
EwkMuTauHistManager::deltaRCut_
double deltaRCut_
Definition: EwkTauDQM.h:260
TriggerAnalyzer.hltPath
hltPath
Definition: TriggerAnalyzer.py:62
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
EwkMuTauHistManager::hMuonPt_
MonitorElement * hMuonPt_
Definition: EwkTauDQM.h:268
reco::PFTau
Definition: PFTau.h:36
isSelected
bool isSelected(const std::vector< L1HPSPFTauQualityCut > &qualityCuts, const l1t::PFCandidate &pfCand, float_t primaryVertexZ)
Definition: L1HPSPFTauQualityCut.cc:90
EwkMuTauHistManager::hTauLeadTrackPt_
MonitorElement * hTauLeadTrackPt_
Definition: EwkTauDQM.h:278
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
edm::Event::triggerNames
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
Definition: Event.cc:275
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
EwkMuTauHistManager::numWarningsPFMEt_
long numWarningsPFMEt_
Definition: EwkTauDQM.h:341
EwkMuTauHistManager::numEventsAnalyzed_
unsigned numEventsAnalyzed_
Definition: EwkTauDQM.h:322
EwkMuTauHistManager::kPassedTauEcalIso
Definition: EwkTauDQM.h:318
edm::Handle< edm::TriggerResults >
reco::BaseTau::signalTracks
virtual const reco::TrackRefVector & signalTracks() const
Definition: BaseTau.cc:26
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
EwkMuTauHistManager::kPassedPreselection
Definition: EwkTauDQM.h:308
EwkMuTauHistManager::kPassedMuonEcalIso
Definition: EwkTauDQM.h:316
reco::Muon
Definition: Muon.h:27
edm::Ref< PFTauCollection >
reco::CaloMET
Definition: CaloMET.h:21
EwkMuTauHistManager::hMuonCombIsoPt_
MonitorElement * hMuonCombIsoPt_
Definition: EwkTauDQM.h:273
reco::MuonIsolation::sumPt
float sumPt
sum-pt of tracks
Definition: MuonIsolation.h:6
EwkMuTauHistManager::hMuonTrackIsoPt_
MonitorElement * hMuonTrackIsoPt_
Definition: EwkTauDQM.h:271
EwkMuTauHistManager::hTauJetNumSignalTracks_
MonitorElement * hTauJetNumSignalTracks_
Definition: EwkTauDQM.h:283
EwkMuTauHistManager::numWarningsTauDiscrByEcalIso_
long numWarningsTauDiscrByEcalIso_
Definition: EwkTauDQM.h:338
EwkMuTauHistManager::numWarningsTauDiscrByLeadTrackPtCut_
long numWarningsTauDiscrByLeadTrackPtCut_
Definition: EwkTauDQM.h:336
EwkMuTauHistManager::hPFMEtPt_
MonitorElement * hPFMEtPt_
Definition: EwkTauDQM.h:303
reco::LeafCandidate::py
double py() const final
y coordinate of momentum vector
Definition: LeafCandidate.h:142
HLT_FULL_cff.muon
muon
Definition: HLT_FULL_cff.py:11725
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
EwkMuTauHistManager::kPassedMuonTrackIso
Definition: EwkTauDQM.h:315
EwkMuTauHistManager::triggerResultsSource_
edm::InputTag triggerResultsSource_
Definition: EwkTauDQM.h:231
EwkMuTauHistManager::hMuTauDeltaR_
MonitorElement * hMuTauDeltaR_
Definition: EwkTauDQM.h:287
EwkMuTauHistManager::kPassedTauTrackIso
Definition: EwkTauDQM.h:317
EwkMuTauHistManager::kPassedTauLeadTrackPt
Definition: EwkTauDQM.h:312
EwkMuTauHistManager::tauDiscrByLeadTrackFinding_
edm::InputTag tauDiscrByLeadTrackFinding_
Definition: EwkTauDQM.h:239
EwkMuTauHistManager::hTauDiscrAgainstMuons_
MonitorElement * hTauDiscrAgainstMuons_
Definition: EwkTauDQM.h:281
ewkTauDQM_cfi.tauDiscrByLeadTrackFinding
tauDiscrByLeadTrackFinding
Definition: ewkTauDQM_cfi.py:28
EwkMuTauHistManager::caloMEtSource_
edm::InputTag caloMEtSource_
Definition: EwkTauDQM.h:236
EwkMuTauHistManager::tauJetPtCut_
double tauJetPtCut_
Definition: EwkTauDQM.h:257
EwkMuTauHistManager::maxNumWarnings_
int maxNumWarnings_
Definition: EwkTauDQM.h:327
ewkTauDQM_cfi.tauDiscrByLeadTrackPtCut
tauDiscrByLeadTrackPtCut
Definition: ewkTauDQM_cfi.py:29
EwkMuTauHistManager::visMassCut_
double visMassCut_
Definition: EwkTauDQM.h:259
EwkMuTauHistManager::muonEcalIsoCut_
double muonEcalIsoCut_
Definition: EwkTauDQM.h:252
EwkMuTauHistManager::hMuonEta_
MonitorElement * hMuonEta_
Definition: EwkTauDQM.h:269
EwkMuTauHistManager::muonTrackIsoCut_
double muonTrackIsoCut_
Definition: EwkTauDQM.h:251
EwkMuTauHistManager::kPassedTauDiscrAgainstMuons
Definition: EwkTauDQM.h:313
EwkMuTauHistManager::muonEtaCut_
double muonEtaCut_
Definition: EwkTauDQM.h:249
reco::Muon::isGlobalMuon
bool isGlobalMuon() const override
Definition: Muon.h:299
readEventData
void readEventData(const edm::Event &evt, const edm::InputTag &src, edm::Handle< T > &handle, long &numWarnings, int maxNumWarnings, bool &error, const char *errorMessage)
Definition: EwkTauDQM.h:374
reco::PFMET
Definition: PFMET.h:18
EwkMuTauHistManager::hVisMass_
MonitorElement * hVisMass_
Definition: EwkTauDQM.h:286
EwkMuTauHistManager::pfMEtSource_
edm::InputTag pfMEtSource_
Definition: EwkTauDQM.h:237
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
EwkMuTauHistManager::hMuonEcalIsoPt_
MonitorElement * hMuonEcalIsoPt_
Definition: EwkTauDQM.h:272
EwkMuTauHistManager::dqmDirectory_
std::string dqmDirectory_
Definition: EwkTauDQM.h:264
EwkMuTauHistManager::hTauJetPt_
MonitorElement * hTauJetPt_
Definition: EwkTauDQM.h:275
EwkMuTauHistManager::tauDiscrByEcalIso_
edm::InputTag tauDiscrByEcalIso_
Definition: EwkTauDQM.h:242
getTheMuon
const reco::Muon * getTheMuon(const reco::MuonCollection &muons, double muonEtaCut, double muonPtCut)
Definition: EwkTauDQM.cc:1119
reco::PFTau::isolationPFChargedHadrCandsPtSum
float isolationPFChargedHadrCandsPtSum() const
Definition: PFTau.cc:330
EwkMuTauHistManager::numWarningsMuon_
long numWarningsMuon_
Definition: EwkTauDQM.h:333
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
getTheTauJet
const reco::PFTau * getTheTauJet(const reco::PFTauCollection &tauJets, double tauJetEtaCut, double tauJetPtCut, int &theTauJetIndex)
Definition: EwkTauDQM.cc:1132
EwkMuTauHistManager::numWarningsTauJet_
long numWarningsTauJet_
Definition: EwkTauDQM.h:334
EwkMuTauHistManager::kPassedMuonId
Definition: EwkTauDQM.h:310
EwkMuTauHistManager::hTauJetEta_
MonitorElement * hTauJetEta_
Definition: EwkTauDQM.h:276
electronAnalyzer_cfi.DeltaR
DeltaR
Definition: electronAnalyzer_cfi.py:33
EwkMuTauHistManager::hVisMassFinal_
MonitorElement * hVisMassFinal_
Definition: EwkTauDQM.h:288
EwkMuTauHistManager::hMuTauAcoplanarity_
MonitorElement * hMuTauAcoplanarity_
Definition: EwkTauDQM.h:293
EwkMuTauHistManager::hltPaths_
vstring hltPaths_
Definition: EwkTauDQM.h:247
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EwkMuTauHistManager::tauDiscrByLeadTrackPtCut_
edm::InputTag tauDiscrByLeadTrackPtCut_
Definition: EwkTauDQM.h:240
looper.cfg
cfg
Definition: looper.py:296
EwkMuTauHistManager::muonSource_
edm::InputTag muonSource_
Definition: EwkTauDQM.h:234
EwkMuTauHistManager::muonCombIsoCut_
double muonCombIsoCut_
Definition: EwkTauDQM.h:253
EwkMuTauHistManager::hTauTrackIsoPt_
MonitorElement * hTauTrackIsoPt_
Definition: EwkTauDQM.h:279
EwkMuTauHistManager::vertexSource_
edm::InputTag vertexSource_
Definition: EwkTauDQM.h:232
reco::Muon::isTrackerMuon
bool isTrackerMuon() const override
Definition: Muon.h:300
EwkMuTauHistManager::numWarningsHLTpath_
long numWarningsHLTpath_
Definition: EwkTauDQM.h:330
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
EwkMuTauHistManager::numWarningsTauDiscrByLeadTrackFinding_
long numWarningsTauDiscrByLeadTrackFinding_
Definition: EwkTauDQM.h:335
reco::Muon::isolationR05
const MuonIsolation & isolationR05() const
Definition: Muon.h:167
EwkMuTauHistManager::beamSpotSource_
edm::InputTag beamSpotSource_
Definition: EwkTauDQM.h:233
spclusmultinvestigator_cfi.vertexCollection
vertexCollection
Definition: spclusmultinvestigator_cfi.py:4
edm::TriggerNames
Definition: TriggerNames.h:55
EwkMuTauHistManager::hMtMuPFMEt_
MonitorElement * hMtMuPFMEt_
Definition: EwkTauDQM.h:290
EwkMuTauHistManager::numWarningsBeamSpot_
long numWarningsBeamSpot_
Definition: EwkTauDQM.h:332
EwkMuTauHistManager::tauDiscrAgainstMuons_
edm::InputTag tauDiscrAgainstMuons_
Definition: EwkTauDQM.h:243
vstring
vector< string > vstring
Definition: ExoticaDQM.cc:8
EwkMuTauHistManager::hCutFlowSummary_
MonitorElement * hCutFlowSummary_
Definition: EwkTauDQM.h:306
reco::PFTau::isolationPFGammaCandsEtSum
float isolationPFGammaCandsEtSum() const
Definition: PFTau.cc:333
edm::HLTGlobalStatus::accept
bool accept() const
Has at least one path accepted the event?
Definition: HLTGlobalStatus.h:49
EwkMuTauHistManager::numEventsSelected_
unsigned numEventsSelected_
Definition: EwkTauDQM.h:323
EwkMuTauHistManager::hCaloMEtPt_
MonitorElement * hCaloMEtPt_
Definition: EwkTauDQM.h:300
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
EwkMuTauHistManager::kPassedTauLeadTrack
Definition: EwkTauDQM.h:311
ewkTauDQM_cfi.tauDiscrAgainstMuons
tauDiscrAgainstMuons
Definition: ewkTauDQM_cfi.py:32
EwkMuTauHistManager::numWarningsCaloMEt_
long numWarningsCaloMEt_
Definition: EwkTauDQM.h:340
EwkMuTauHistManager::numWarningsTriggerResults_
long numWarningsTriggerResults_
Definition: EwkTauDQM.h:329
edm::RefVector::size
size_type size() const
Size of the RefVector.
Definition: RefVector.h:102
reco::BaseTau::isolationTracks
virtual const reco::TrackRefVector & isolationTracks() const
Definition: BaseTau.cc:28
EwkMuTauHistManager::hTauJetNumIsoTracks_
MonitorElement * hTauJetNumIsoTracks_
Definition: EwkTauDQM.h:284
EwkMuTauHistManager::hTauJetPhi_
MonitorElement * hTauJetPhi_
Definition: EwkTauDQM.h:277
reco::LeafCandidate::px
double px() const final
x coordinate of momentum vector
Definition: LeafCandidate.h:140
EwkMuTauHistManager::hMuonPhi_
MonitorElement * hMuonPhi_
Definition: EwkTauDQM.h:270
calcDeltaPhi
double calcDeltaPhi(double phi1, double phi2)
Definition: EwkTauDQM.cc:1026
edm::InputTag
Definition: InputTag.h:15
reco::Vertex
Definition: Vertex.h:35
ewkTauDQM_cfi.tauDiscrByEcalIso
tauDiscrByEcalIso
Definition: ewkTauDQM_cfi.py:31
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
EwkMuTauHistManager::hVertexZ_
MonitorElement * hVertexZ_
Definition: EwkTauDQM.h:297
EwkMuTauHistManager::tauJetEtaCut_
double tauJetEtaCut_
Definition: EwkTauDQM.h:256
kAbsoluteIso
Definition: EwkTauDQM.h:371
EwkMuTauHistManager::cfgError_
int cfgError_
Definition: EwkTauDQM.h:325