#include <DTLocalTriggerTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Analyze. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
To reset the MEs. More... | |
void | bookBarrelHistos (DQMStore::IBooker &, std::string histoTag) |
Book the histograms. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Book the histograms. More... | |
void | bookHistos (DQMStore::IBooker &, const DTChamberId &dtCh, std::string folder, std::string histoTag) |
void | bookWheelHistos (DQMStore::IBooker &, int wh, std::string histoTag) |
Book the histograms. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Beginrun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) final |
void | runSegmentAnalysis (edm::Handle< DTRecSegment4DCollection > &segments4D) |
Run analysis using DT 4D segments. More... | |
void | runTMAnalysis (std::vector< L1MuDTChambPhDigi > const *phTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs) |
Run analysis on TM data. More... | |
void | setQLabels (MonitorElement *me, short int iaxis) |
Set Quality labels. More... | |
void | setQLabelsTheta (MonitorElement *me, short int iaxis) |
std::string & | topFolder () |
Get the Top folder (different between Physics and TP and TM) More... | |
void | triggerSource (const edm::Event &e) |
Get the L1A source. More... | |
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) |
Protected Attributes | |
const int | wheelArrayShift = 3 |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Private Attributes | |
std::string | baseFolderTM |
bool | detailedAnalysis |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | digiHistos |
bool | doTMTheta |
DTArr3PhDigi | iphbest |
bool | isLocalRun |
DTArr3ThDigi | ithbest |
edm::EDGetTokenT< LTCDigiCollection > | ltcDigiCollectionToken_ |
DTArr3mapInt | mapDTTF |
const DTGeometry * | muonGeom |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
int | nevents |
edm::ParameterSet | parameters |
DTArr3int | phcode_best |
edm::EDGetTokenT< DTLocalTriggerCollection > | ros_Token_ |
edm::EDGetTokenT< DTRecSegment4DCollection > | seg_Token_ |
DTArr3int | thcode_best |
MonitorElement * | tm_IDDataErrorPlot |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_Token_ |
edm::EDGetTokenT< L1MuDTChambThContainer > | tmTh_Token_ |
bool | tpMode |
bool | track_ok [6][5][15] |
DTTrigGeomUtils * | trigGeomUtils |
std::string | trigsrc |
bool | useSEG |
bool | useTM |
std::map< int, std::map< std::string, MonitorElement * > > | wheelHistos |
Friends | |
class | DTMonitorModule |
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) |
Definition at line 53 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file DTLocalTriggerTask.cc.
References baseFolderTM, detailedAnalysis, doTMTheta, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isLocalRun, LogTrace, ltcDigiCollectionToken_, parameters, ros_Token_, seg_Token_, tm_Token_, tmTh_Token_, and tpMode.
|
override |
Destructor.
Definition at line 65 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 195 of file DTLocalTriggerTask.cc.
References MillePedeFileConverter_cfg::e, L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nevents, parameters, runSegmentAnalysis(), runTMAnalysis(), seg_Token_, tm_Token_, tmTh_Token_, tpMode, triggerSource(), useSEG, and useTM.
|
overrideprotected |
To reset the MEs.
Definition at line 180 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), genParticles_cff::map, and parameters.
|
protected |
Book the histograms.
Definition at line 233 of file DTLocalTriggerTask.cc.
References dqm::implementation::IBooker::book1D(), dtResolutionTest_cfi::histoTag, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), tm_IDDataErrorPlot, and topFolder().
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Book the histograms.
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 79 of file DTLocalTriggerTask.cc.
References bookBarrelHistos(), bookHistos(), detailedAnalysis, doTMTheta, edm::ParameterSet::getUntrackedParameter(), LogTrace, parameters, edm_modernize_messagelogger::stat, and tpMode.
|
protected |
Definition at line 243 of file DTLocalTriggerTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), digiHistos, printsummarytable::folder, edm::ParameterSet::getUntrackedParameter(), fftjetimagerecorder_cfi::histoLabel, HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, createfilelist::int, LogTrace, SiStripPI::max, simKBmtfStubs_cfi::maxBX, min(), simKBmtfStubs_cfi::minBX, LaserClient_cfi::nbins, parameters, DTTrigGeomUtils::phiRange(), DetId::rawId(), DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), setQLabels(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, DTTrigGeomUtils::thetaRange(), topFolder(), trigGeomUtils, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
protected |
Book the histograms.
Definition at line 398 of file DTLocalTriggerTask.cc.
References HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, LogTrace, dqm::implementation::NavigatorBase::setCurrentFolder(), topFolder(), and makeMuonMisalignmentScenario::wheel.
|
overrideprotectedvirtual |
Beginrun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 73 of file DTLocalTriggerTask.cc.
References visDQMUpload::context, muonGeom, muonGeomToken_, nevents, and trigGeomUtils.
|
inlinefinalprotected |
Definition at line 93 of file DTLocalTriggerTask.h.
|
protected |
Run analysis using DT 4D segments.
Definition at line 540 of file DTLocalTriggerTask.cc.
References DTTrigGeomUtils::computeSCCoordinates(), digiHistos, iphbest, phcode_best, FastTimerService_cff::range, DetId::rawId(), relativeConstraints::station, thcode_best, HLT_FULL_cff::track, track_ok, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, DTTrigGeomUtils::trigToSeg(), useTM, and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
|
protected |
Run analysis on TM data.
Definition at line 412 of file DTLocalTriggerTask.cc.
References angle(), detailedAnalysis, digiHistos, doTMTheta, dqm::impl::MonitorElement::Fill(), dtResolutionTest_cfi::histoTag, mps_fire::i, triggerObjects_cff::id, iphbest, ithbest, dqmiolumiharvest::j, dqmdumpme::k, phcode_best, DetId::rawId(), thcode_best, tm_IDDataErrorPlot, tpMode, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, wheelArrayShift, and x.
Referenced by analyze().
|
protected |
Set Quality labels.
Definition at line 654 of file DTLocalTriggerTask.cc.
References timingPdfMaker::histo, mps_fire::i, SummaryClient_cfi::labels, and hlt_dqm_clientPB-live_cfg::me.
Referenced by bookHistos().
|
protected |
Definition at line 675 of file DTLocalTriggerTask.cc.
References timingPdfMaker::histo, mps_fire::i, SummaryClient_cfi::labels, and hlt_dqm_clientPB-live_cfg::me.
Referenced by bookHistos().
|
inlineprotected |
Get the Top folder (different between Physics and TP and TM)
Definition at line 99 of file DTLocalTriggerTask.h.
References baseFolderTM.
Referenced by bookBarrelHistos(), bookHistos(), and bookWheelHistos().
|
protected |
Get the L1A source.
Definition at line 696 of file DTLocalTriggerTask.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 54 of file DTLocalTriggerTask.h.
|
private |
Definition at line 114 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 129 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 134 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerTask().
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), bookHistos(), and DTLocalTriggerTask().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runTMAnalysis().
|
private |
Definition at line 104 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by analyze(), bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by bookHistos(), dqmBeginRun(), runSegmentAnalysis(), runTMAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), runTMAnalysis(), and triggerSource().
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
protected |
Definition at line 101 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.