#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 | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 |
const DTGeometry * | muonGeom |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
int | nEvents |
int | nLumis |
int | nPhibBins |
int | nPhiBins |
bool | overUnderIn |
edm::ParameterSet | parameters |
double | rangePhi |
double | rangePhiB |
edm::EDGetTokenT< DTRecSegment4DCollection > | seg_Token_ |
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 42 of file DTLocalTriggerLutTask.h.
DTLocalTriggerLutTask::DTLocalTriggerLutTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file DTLocalTriggerLutTask.cc.
References baseFolder, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEvents, nLumis, nPhibBins, nPhiBins, overUnderIn, parameters, rangePhi, rangePhiB, seg_Token_, tm_TokenIn_, and tm_TokenOut_.
|
override |
Destructor.
Definition at line 65 of file DTLocalTriggerLutTask.cc.
References LogTrace, nEvents, and trigGeomUtils.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 176 of file DTLocalTriggerLutTask.cc.
References chHistos, DTTrigGeomUtils::computeSCCoordinates(), detailedAnalysis, MillePedeFileConverter_cfg::e, L1MuDTChambPhContainer::getContainer(), SiStripPI::max, SiStripPI::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 157 of file DTLocalTriggerLutTask.cc.
References chHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nLumis, and parameters.
|
overridevirtual |
bookHistograms
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 145 of file DTLocalTriggerLutTask.cc.
References bookHistos(), DTGeometry::chambers(), LogTrace, and muonGeom.
|
private |
Book histos.
Definition at line 79 of file DTLocalTriggerLutTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), chHistos, detailedAnalysis, nPhibBins, nPhiBins, rangePhi, rangePhiB, DetId::rawId(), DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
BeginRun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 73 of file DTLocalTriggerLutTask.cc.
References visDQMUpload::context, muonGeom, muonGeomToken_, and trigGeomUtils.
|
inlinefinalprotected |
Definition at line 68 of file DTLocalTriggerLutTask.h.
|
protected |
Find best (highest qual) TM trigger segments.
Definition at line 274 of file DTLocalTriggerLutTask.cc.
References dtResolutionTest_cfi::histoTag, fileinputsource_cfi::sec, trigBestIn, trigQualBestIn, and wheelArrayShift.
Referenced by analyze().
|
protected |
Definition at line 300 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 74 of file DTLocalTriggerLutTask.h.
References baseFolder.
Referenced by bookHistos().
|
friend |
Definition at line 43 of file DTLocalTriggerLutTask.h.
|
private |
Definition at line 85 of file DTLocalTriggerLutTask.h.
Referenced by DTLocalTriggerLutTask(), and topFolder().
|
private |
Definition at line 104 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), beginLuminosityBlock(), and bookHistos().
|
private |
Definition at line 86 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 101 of file DTLocalTriggerLutTask.h.
Referenced by bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 100 of file DTLocalTriggerLutTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 80 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), DTLocalTriggerLutTask(), looper.Looper::loop(), and ~DTLocalTriggerLutTask().
|
private |
Definition at line 81 of file DTLocalTriggerLutTask.h.
Referenced by beginLuminosityBlock(), and DTLocalTriggerLutTask().
|
private |
Definition at line 82 of file DTLocalTriggerLutTask.h.
Referenced by bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 82 of file DTLocalTriggerLutTask.h.
Referenced by bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 87 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 99 of file DTLocalTriggerLutTask.h.
Referenced by beginLuminosityBlock(), and DTLocalTriggerLutTask().
|
private |
Definition at line 83 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 83 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerLutTask().
|
private |
Definition at line 91 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 89 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 90 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and DTLocalTriggerLutTask().
|
private |
Definition at line 97 of file DTLocalTriggerLutTask.h.
|
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().
|
private |
Definition at line 102 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerLutTask().
|
private |
Definition at line 93 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestIn().
|
private |
Definition at line 94 of file DTLocalTriggerLutTask.h.
Referenced by analyze(), and searchTMBestOut().
|
protected |
Definition at line 70 of file DTLocalTriggerLutTask.h.
Referenced by searchTMBestIn(), and searchTMBestOut().
|
private |
Definition at line 105 of file DTLocalTriggerLutTask.h.