#include <DTChamberEfficiencyTask.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) override |
To reset the MEs. More... | |
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &setup) override |
BeginRun. More... | |
DTChamberEfficiencyTask (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) final |
~DTChamberEfficiencyTask () override | |
Destructor. More... | |
Public Member Functions inherited from one::DQMEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &ibooker, DTChamberId chId) |
const DTRecSegment4D & | getBestSegment (const DTRecSegment4DCollection::range &segs) const |
const DTRecSegment4D * | getBestSegment (const DTRecSegment4D *s1, const DTRecSegment4D *s2) const |
LocalPoint | interpolate (const DTRecSegment4D &seg1, const DTRecSegment4D &seg3, const DTChamberId &MB2) const |
bool | isGoodSegment (const DTRecSegment4D &seg) const |
Private Attributes | |
bool | debug |
bool | detailedAnalysis |
edm::ESHandle< DTGeometry > | dtGeom |
std::map< DTChamberId, std::vector< MonitorElement * > > | histosPerCh |
bool | onlineMonitor |
edm::ParameterSet | parameters |
edm::EDGetTokenT< DTRecSegment4DCollection > | recHits4DToken_ |
edm::Handle< DTRecSegment4DCollection > | segs |
double | theMinChi2NormSegment |
double | theMinCloseDist |
unsigned int | theMinHitsSegment |
DQM Analysis of 4D DT segments, it produces plots about:
Class based on the code written by S. Lacaprara : RecoLocalMuon / DTSegment / test / DTEffAnalyzer.h
Definition at line 43 of file DTChamberEfficiencyTask.h.
DTChamberEfficiencyTask::DTChamberEfficiencyTask | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 32 of file DTChamberEfficiencyTask.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), and muonDTDigis_cfi::pset.
|
override |
Destructor.
Definition at line 59 of file DTChamberEfficiencyTask.cc.
|
override |
Definition at line 153 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), plotFactory::histos, HiCaloJetParameters_cff::interpolate, DTRecSegment4D::localPosition(), mag(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by endLuminosityBlock().
|
override |
To reset the MEs.
Definition at line 64 of file DTChamberEfficiencyTask.cc.
References trackerHits::histo, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), genParticles_cff::map, and findQualityFiles::size.
|
overrideprotected |
Definition at line 89 of file DTChamberEfficiencyTask.cc.
References bookHistos(), and DQMStore::IBooker::setCurrentFolder().
Referenced by endLuminosityBlock().
|
private |
Definition at line 104 of file DTChamberEfficiencyTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), plotFactory::histos, DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by endLuminosityBlock().
|
override |
BeginRun.
Definition at line 82 of file DTChamberEfficiencyTask.cc.
References edm::EventSetup::get().
|
inlinefinal |
Definition at line 56 of file DTChamberEfficiencyTask.h.
References analyze(), bookHistograms(), bookHistos(), getBestSegment(), interpolate(), isGoodSegment(), indexGen::s2, and segs.
|
private |
Definition at line 302 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chi2().
Referenced by endLuminosityBlock().
|
private |
Definition at line 325 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), indexGen::s2, and DTRecSegment4D::zSegment().
|
private |
Definition at line 347 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chamberId(), dir, DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::localPosition(), toLocal(), csvLumiCalc::unit, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by endLuminosityBlock().
|
private |
Definition at line 378 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chamberId(), DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), DTChamberId::station(), and DTRecSegment4D::zSegment().
Referenced by endLuminosityBlock().
|
private |
Definition at line 78 of file DTChamberEfficiencyTask.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), and pkg.AbstractPkg::write().
|
private |
Definition at line 82 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 95 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 89 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 80 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 87 of file DTChamberEfficiencyTask.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 85 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 96 of file DTChamberEfficiencyTask.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 92 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 93 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 91 of file DTChamberEfficiencyTask.h.