#include <DTLocalTriggerLutTask.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 | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
BeginRun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) final |
void | searchTMBestIn (std::vector< L1MuDTChambPhDigi > const *trigs) |
Find best (highest qual) TM trigger segments. More... | |
void | searchTMBestOut (std::vector< L1MuDTChambPhDigi > const *trigs) |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes | |
const int | wheelArrayShift = 3 |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &ibooker, DTChamberId chId) |
Book histos. More... | |
std::string & | topFolder () |
Get the top folder. More... | |
Private Attributes | |
std::string | baseFolder |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | chHistos |
bool | detailedAnalysis |
edm::ESHandle< DTGeometry > | muonGeom |
int | nEvents |
int | nLumis |
int | nPhibBins |
int | nPhiBins |
bool | overUnderIn |
edm::ParameterSet | parameters |
double | rangePhi |
double | rangePhiB |
edm::EDGetTokenT< DTRecSegment4DCollection > | seg_Token_ |
std::string | theGeomLabel |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_TokenIn_ |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_TokenOut_ |
DTArr3bool | track_ok |
DTArr3Digi | trigBestIn |
DTArr3Digi | trigBestOut |
DTTrigGeomUtils * | trigGeomUtils |
DTArr3int | trigQualBestIn |
DTArr3int | trigQualBestOut |
std::map< int, std::map< std::string, MonitorElement * > > | whHistos |
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 44 of file DTLocalTriggerLutTask.h.
DTLocalTriggerLutTask::DTLocalTriggerLutTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 34 of file DTLocalTriggerLutTask.cc.
References baseFolder, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEvents, nLumis, nPhibBins, nPhiBins, overUnderIn, rangePhi, rangePhiB, seg_Token_, theGeomLabel, tm_TokenIn_, and tm_TokenOut_.
|
override |
Destructor.
Definition at line 64 of file DTLocalTriggerLutTask.cc.
References LogTrace, nEvents, and trigGeomUtils.
|
overrideprotected |
Analyze.
Definition at line 175 of file DTLocalTriggerLutTask.cc.
References chHistos, DTTrigGeomUtils::computeSCCoordinates(), detailedAnalysis, edm::Event::getByToken(), L1MuDTChambPhContainer::getContainer(), SiStripPI::max, min(), nEvents, overUnderIn, rangePhi, rangePhiB, DetId::rawId(), searchTMBestIn(), searchTMBestOut(), seg_Token_, DTChamberId::station(), relativeConstraints::station, tm_TokenIn_, tm_TokenOut_, trigBestIn, trigBestOut, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigQualBestIn, trigQualBestOut, DTTrigGeomUtils::trigToSeg(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
overrideprotected |
To reset the MEs.
Definition at line 156 of file DTLocalTriggerLutTask.cc.
References chHistos, LogTrace, and nLumis.
|
overridevirtual |
bookHistograms
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 144 of file DTLocalTriggerLutTask.cc.
References bookHistos(), DTGeometry::chambers(), LogTrace, and muonGeom.
|
private |
Book histos.
Definition at line 78 of file DTLocalTriggerLutTask.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), chHistos, detailedAnalysis, nPhibBins, nPhiBins, rangePhi, rangePhiB, DetId::rawId(), DTChamberId::sector(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms(), and topFolder().
|
overrideprotected |
BeginRun.
Definition at line 72 of file DTLocalTriggerLutTask.cc.
References edm::EventSetup::get(), muonGeom, theGeomLabel, and trigGeomUtils.
|
inlinefinalprotected |
Definition at line 70 of file DTLocalTriggerLutTask.h.
|
protected |
Find best (highest qual) TM trigger segments.
Definition at line 273 of file DTLocalTriggerLutTask.cc.
References dtResolutionTest_cfi::histoTag, fileinputsource_cfi::sec, trigBestIn, trigQualBestIn, and wheelArrayShift.
Referenced by analyze().
|
protected |
Definition at line 299 of file DTLocalTriggerLutTask.cc.
References dtResolutionTest_cfi::histoTag, fileinputsource_cfi::sec, trigBestOut, trigQualBestOut, and wheelArrayShift.
Referenced by analyze().
|
inlineprivate |
Get the top folder.
Definition at line 76 of file DTLocalTriggerLutTask.h.
References baseFolder, and bookHistos().
Referenced by bookHistos().
|
friend |
Definition at line 45 of file DTLocalTriggerLutTask.h.
|
private |
Definition at line 87 of file DTLocalTriggerLutTask.h.
Referenced by DTLocalTriggerLutTask(), and topFolder().
|
private |
Definition at line 106 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), beginLuminosityBlock(), and bookHistos().
|
private |
Definition at line 88 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 102 of file DTLocalTriggerLutTask.h.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 82 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), DTLocalTriggerLutTask(), looper.Looper::loop(), and ~DTLocalTriggerLutTask().
|
private |
Definition at line 83 of file DTLocalTriggerLutTask.h.
Referenced by beginLuminosityBlock(), and DTLocalTriggerLutTask().
|
private |
Definition at line 84 of file DTLocalTriggerLutTask.h.
Referenced by bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 84 of file DTLocalTriggerLutTask.h.
Referenced by bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 89 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 101 of file DTLocalTriggerLutTask.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 DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 85 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 93 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 103 of file DTLocalTriggerLutTask.h.
Referenced by dqmBeginRun(), and DTLocalTriggerLutTask().
|
private |
Definition at line 91 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 92 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 99 of file DTLocalTriggerLutTask.h.
|
private |
Definition at line 97 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestIn().
|
private |
Definition at line 98 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestOut().
|
private |
Definition at line 104 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerLutTask().
|
private |
Definition at line 95 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestIn().
|
private |
Definition at line 96 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestOut().
|
protected |
Definition at line 72 of file DTLocalTriggerLutTask.h.
Referenced by searchTMBestIn(), and searchTMBestOut().
|
private |
Definition at line 107 of file DTLocalTriggerLutTask.h.