#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 | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0 |
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> | |
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 |
edm::ESHandle< DTGeometry > | muonGeom |
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 52 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 34 of file DTLocalTriggerTask.cc.
References baseFolderTM, detailedAnalysis, doTMTheta, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isLocalRun, LogTrace, ltcDigiCollectionToken_, ros_Token_, seg_Token_, tm_Token_, tmTh_Token_, and tpMode.
|
override |
Destructor.
Definition at line 64 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 194 of file DTLocalTriggerTask.cc.
References MillePedeFileConverter_cfg::e, L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), edm::HandleBase::isValid(), nevents, runSegmentAnalysis(), runTMAnalysis(), seg_Token_, tm_Token_, tmTh_Token_, tpMode, triggerSource(), useSEG, and useTM.
|
overrideprotected |
To reset the MEs.
Definition at line 179 of file DTLocalTriggerTask.cc.
References digiHistos, timingPdfMaker::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), and genParticles_cff::map.
|
protected |
Book the histograms.
Definition at line 232 of file DTLocalTriggerTask.cc.
References dtResolutionTest_cfi::histoTag, dqm::impl::MonitorElement::setAxisTitle(), tm_IDDataErrorPlot, and topFolder().
Referenced by bookHistograms().
|
overrideprotected |
Book the histograms.
Definition at line 78 of file DTLocalTriggerTask.cc.
References bookBarrelHistos(), bookHistos(), detailedAnalysis, doTMTheta, LogTrace, hgcalPlots::stat, and tpMode.
|
protected |
Definition at line 242 of file DTLocalTriggerTask.cc.
References digiHistos, printsummarytable::folder, fftjetimagerecorder_cfi::histoLabel, HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, createfilelist::int, LogTrace, SiStripPI::max, simKBmtfStubs_cfi::maxBX, min(), simKBmtfStubs_cfi::minBX, LaserClient_cfi::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), DTChamberId::sector(), 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 397 of file DTLocalTriggerTask.cc.
References HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, LogTrace, topFolder(), and makeMuonMisalignmentScenario::wheel.
|
overrideprotectedvirtual |
Beginrun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 72 of file DTLocalTriggerTask.cc.
References edm::EventSetup::get(), get, muonGeom, nevents, and trigGeomUtils.
|
inlinefinalprotected |
Definition at line 92 of file DTLocalTriggerTask.h.
|
protected |
Run analysis using DT 4D segments.
Definition at line 539 of file DTLocalTriggerTask.cc.
References DTTrigGeomUtils::computeSCCoordinates(), digiHistos, iphbest, phcode_best, FastTimerService_cff::range, DetId::rawId(), relativeConstraints::station, thcode_best, HLT_2018_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 411 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 653 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 674 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 98 of file DTLocalTriggerTask.h.
References baseFolderTM.
Referenced by bookBarrelHistos(), bookHistos(), and bookWheelHistos().
|
protected |
Get the L1A source.
Definition at line 695 of file DTLocalTriggerTask.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 53 of file DTLocalTriggerTask.h.
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 114 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerTask().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runTMAnalysis().
|
private |
Definition at line 103 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 104 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze(), bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by bookHistos(), dqmBeginRun(), runSegmentAnalysis(), runTMAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), runTMAnalysis(), and triggerSource().
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
protected |
Definition at line 100 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.