#include <DTChamberEfficiencyTask.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &ibooker, DTChamberId chId) |
const DTRecSegment4D * | getBestSegment (const DTRecSegment4D *s1, const DTRecSegment4D *s2) const |
const DTRecSegment4D & | getBestSegment (const DTRecSegment4DCollection::range &segs) 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 |
const DTGeometry * | dtGeom |
std::map< DTChamberId, std::vector< MonitorElement * > > | histosPerCh |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
bool | onlineMonitor |
edm::ParameterSet | parameters |
edm::EDGetTokenT< DTRecSegment4DCollection > | recHits4DToken_ |
edm::Handle< DTRecSegment4DCollection > | segs |
double | theMinChi2NormSegment |
double | theMinCloseDist |
unsigned int | theMinHitsSegment |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
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 36 of file DTChamberEfficiencyTask.h.
DTChamberEfficiencyTask::DTChamberEfficiencyTask | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 23 of file DTChamberEfficiencyTask.cc.
References debug, detailedAnalysis, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), onlineMonitor, parameters, muonDTDigis_cfi::pset, recHits4DToken_, theMinChi2NormSegment, theMinCloseDist, and theMinHitsSegment.
|
override |
Destructor.
Definition at line 48 of file DTChamberEfficiencyTask.cc.
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 145 of file DTChamberEfficiencyTask.cc.
References DTGeometry::chamber(), DTGeometry::chambers(), detailedAnalysis, dtGeom, getBestSegment(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), combine::histos, histosPerCh, interpolate(), isGoodSegment(), DTRecSegment4D::localPosition(), mag(), recHits4DToken_, DTChamberId::sector(), segs, DTChamberId::station(), relativeConstraints::station, theMinCloseDist, DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, x, PV3DBase< T, PVType, FrameType >::x(), y, and PV3DBase< T, PVType, FrameType >::y().
|
override |
To reset the MEs.
Definition at line 52 of file DTChamberEfficiencyTask.cc.
References edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, histosPerCh, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), genParticles_cff::map, onlineMonitor, parameters, and findQualityFiles::size.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 73 of file DTChamberEfficiencyTask.cc.
References bookHistos(), DTGeometry::chambers(), dtGeom, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
Definition at line 88 of file DTChamberEfficiencyTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), detailedAnalysis, combine::histos, histosPerCh, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
overridevirtual |
BeginRun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 68 of file DTChamberEfficiencyTask.cc.
References dtGeom, muonGeomToken_, and singleTopDQM_cfi::setup.
|
inlinefinal |
Definition at line 49 of file DTChamberEfficiencyTask.h.
|
private |
Definition at line 308 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), and DTRecSegment4D::zSegment().
|
private |
|
private |
Definition at line 330 of file DTChamberEfficiencyTask.cc.
References DTGeometry::chamber(), DTRecSegment4D::chamberId(), DeadROC_duringRun::dir, dtGeom, DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), globals_cff::id2, DTRecSegment4D::localPosition(), toLocal(), unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 364 of file DTChamberEfficiencyTask.cc.
References DTRecSegment4D::chamberId(), DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), nHits, DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), DTChamberId::station(), theMinChi2NormSegment, theMinHitsSegment, and DTRecSegment4D::zSegment().
Referenced by analyze().
|
private |
Definition at line 67 of file DTChamberEfficiencyTask.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), DTChamberEfficiencyTask(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), util.rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), and pkg.AbstractPkg::write().
|
private |
Definition at line 71 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), bookHistos(), and DTChamberEfficiencyTask().
|
private |
Definition at line 86 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), bookHistograms(), dqmBeginRun(), and interpolate().
|
private |
Definition at line 78 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), beginLuminosityBlock(), and bookHistos().
|
private |
Definition at line 85 of file DTChamberEfficiencyTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 69 of file DTChamberEfficiencyTask.h.
Referenced by beginLuminosityBlock(), and DTChamberEfficiencyTask().
|
private |
Definition at line 76 of file DTChamberEfficiencyTask.h.
Referenced by beginLuminosityBlock(), and DTChamberEfficiencyTask().
|
private |
Definition at line 74 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), and DTChamberEfficiencyTask().
|
private |
Definition at line 87 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), and getBestSegment().
|
private |
Definition at line 81 of file DTChamberEfficiencyTask.h.
Referenced by DTChamberEfficiencyTask(), and isGoodSegment().
|
private |
Definition at line 82 of file DTChamberEfficiencyTask.h.
Referenced by analyze(), and DTChamberEfficiencyTask().
|
private |
Definition at line 80 of file DTChamberEfficiencyTask.h.
Referenced by DTChamberEfficiencyTask(), and isGoodSegment().