#include <DTChamberEfficiencyTask.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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(), metProducer_cfi::parameters, 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().
|
overridevirtual |
To reset the MEs.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 64 of file DTChamberEfficiencyTask.cc.
References trackerHits::histo, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), genParticles_cff::map, metProducer_cfi::parameters, and findQualityFiles::size.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 89 of file DTChamberEfficiencyTask.cc.
References bookHistos(), and DQMStore::IBooker::setCurrentFolder().
|
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.
|
override |
BeginRun.
Definition at line 82 of file DTChamberEfficiencyTask.cc.
References edm::EventSetup::get().
|
private |
Definition at line 302 of file DTChamberEfficiencyTask.cc.
|
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().
|
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().
|
private |
Definition at line 77 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 81 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 94 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 88 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 79 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 86 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 84 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 95 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 91 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 92 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 90 of file DTChamberEfficiencyTask.h.