#include <PhysicsObjectsMonitor.h>
For now: Analyzer of StandAlone muon tracks Later: Add other detectors and more Reco
- Author
- M. Mulders - CERN marti.nosp@m.jn.m.nosp@m.ulder.nosp@m.s@ce.nosp@m.rn.ch Based on STAMuonAnalyzer by R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch
Analyzer of the StandAlone muon tracks
- Author
- M. Mulders - CERN marti.nosp@m.jn.m.nosp@m.ulder.nosp@m.s@ce.nosp@m.rn.ch Based on STAMuonAnalyzer by R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch
Definition at line 32 of file PhysicsObjectsMonitor.h.
◆ PhysicsObjectsMonitor()
◆ ~PhysicsObjectsMonitor()
PhysicsObjectsMonitor::~PhysicsObjectsMonitor |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 75 of file PhysicsObjectsMonitor.cc.
76 edm::LogInfo(
"PhysicsObjectsMonitor") <<
"Run: " <<
event.id().run() <<
" Event: " <<
event.id().event();
88 reco::TrackCollection::const_iterator staTrack;
101 if ((*it)->isValid()) {
102 edm::LogInfo(
"PhysicsObjectsMonitor") <<
"Analyzer: Aha this looks like a Rechit!" << std::endl;
110 edm::LogInfo(
"PhysicsObjectsMonitor") <<
"This is an UNKNOWN hit !! " << std::endl;
122 debug.dumpFTS(
track.impactPointTSCP().theState());
124 recPt =
track.impactPointTSCP().momentum().perp();
126 <<
" p: " <<
track.impactPointTSCP().momentum().mag() <<
" pT: " <<
recPt << endl;
References ALCARECOTkAlJpsiMuMu_cff::charge, MuonSubdetId::CSC, debug, MuonSubdetId::DT, edm::EventSetup::getHandle(), DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, recPt, MuonSubdetId::RPC, muonTagProbeFilters_cff::staTracks, and HLT_FULL_cff::track.
◆ bookHistograms()
Implements DQMEDAnalyzer.
Definition at line 51 of file PhysicsObjectsMonitor.cc.
54 hPres = iBooker.
book1D(
"pTRes",
"pT Resolution", 100, -2, 2);
55 h1_Pres = iBooker.
book1D(
"invPTRes",
"1/pT Resolution", 100, -2, 2);
57 charge = iBooker.
book1D(
"charge",
"track charge", 5, -2.5, 2.5);
58 ptot = iBooker.
book1D(
"ptot",
"track momentum", 50, 0, 50);
59 pt = iBooker.
book1D(
"pt",
"track pT", 100, 0, 50);
60 px = iBooker.
book1D(
"px ",
"track px", 100, -50, 50);
61 py = iBooker.
book1D(
"py",
"track py", 100, -50, 50);
62 pz = iBooker.
book1D(
"pz",
"track pz", 100, -50, 50);
63 Nmuon = iBooker.
book1D(
"Nmuon",
"Number of muon tracks", 11, -.5, 10.5);
64 Nrechits = iBooker.
book1D(
"Nrechits",
"Number of RecHits/Segments on track", 21, -.5, 21.5);
65 NDThits = iBooker.
book1D(
"NDThits",
"Number of DT Hits/Segments on track", 31, -.5, 31.5);
66 NCSChits = iBooker.
book1D(
"NCSChits",
"Number of CSC Hits/Segments on track", 31, -.5, 31.5);
67 NRPChits = iBooker.
book1D(
"NRPChits",
"Number of RPC hits on track", 11, -.5, 11.5);
69 DTvsCSC = iBooker.
book2D(
"DTvsCSC",
"Number of DT vs CSC hits on track", 29, -.5, 28.5, 29, -.5, 28.5);
71 root_ob->SetXTitle(
"Number of DT hits");
72 root_ob->SetYTitle(
"Number of CSC hits");
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), ALCARECOTkAlJpsiMuMu_cff::charge, dqm::legacy::MonitorElement::getTH2F(), DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and dqm::implementation::NavigatorBase::setCurrentFolder().
◆ charge
◆ CSCvsRPC
◆ DTvsCSC
◆ DTvsRPC
◆ h1_Pres
◆ hPres
◆ magFiledToken_
◆ NCSChits
◆ NDThits
◆ Nmuon
◆ Nrechits
◆ NRPChits
◆ pt
Definition at line 53 of file PhysicsObjectsMonitor.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
◆ ptot
◆ px
◆ py
◆ pz
◆ theDataType
std::string PhysicsObjectsMonitor::theDataType |
|
private |
◆ theSeedCollectionLabel
std::string PhysicsObjectsMonitor::theSeedCollectionLabel |
|
private |
◆ theSTAMuonLabel
std::string PhysicsObjectsMonitor::theSTAMuonLabel |
|
private |
◆ theSTAMuonToken_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())