|
| L1TBPTX (const edm::ParameterSet &ps) |
|
| ~L1TBPTX () override |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
| DQMOneEDAnalyzer () |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
|
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
| BeginRun. More...
|
|
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
|
void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
|
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 () |
|
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) |
|
|
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > | l1gtMenuToken_ |
|
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > | l1GtPfAlgoToken_ |
|
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > | l1GtPfTechToken_ |
|
std::map< int, TString > | m_algoBit_Alias |
|
BeamConfiguration | m_beamConfig |
|
unsigned int | m_currentGTLS |
|
unsigned int | m_currentLS |
|
bool | m_currentLSValid |
|
int | m_currentPrescalesIndex |
|
std::map< TString, int > | m_effDenominator |
|
std::map< TString, int > | m_effNumerator |
|
MonitorElement * | m_ErrorMonitor |
|
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > | m_l1GtDataDaqInputTag |
|
edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > | m_l1GtEvmSource |
|
std::map< std::pair< bool, int >, double > | m_l1Rate |
|
unsigned int | m_lhcFill |
|
std::map< TString, MonitorElement * > | m_meAlgoEfficiency |
|
std::map< TString, MonitorElement * > | m_meAlgoMissFire |
|
std::map< std::pair< bool, int >, MonitorElement * > | m_meRate |
|
std::map< TString, MonitorElement * > | m_meTechEfficiency |
|
std::map< TString, MonitorElement * > | m_meTechMissFire |
|
std::map< TString, int > | m_missFireDenominator |
|
std::map< TString, int > | m_missFireNumerator |
|
std::vector< edm::ParameterSet > | m_monitorBits |
|
std::vector< edm::ParameterSet > | m_monitorRates |
|
std::string | m_outputFile |
|
edm::ParameterSet | m_parameters |
|
const std::vector< std::vector< int > > * | m_prescaleFactorsAlgoTrig |
|
const std::vector< std::vector< int > > * | m_prescaleFactorsTechTrig |
|
bool * | m_processedLS |
|
int | m_refPrescaleSet |
|
edm::EDGetTokenT< Level1TriggerScalersCollection > | m_scalersSource |
|
std::vector< std::pair< int, int > > | m_selAlgoBit |
|
std::vector< std::pair< int, int > > | m_selTechBit |
|
std::map< int, TString > | m_techBit_Alias |
|
bool | m_verbose |
|
Definition at line 75 of file L1TBPTX.h.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 325 of file L1TBPTX.cc.
327 cout <<
"[L1TBPTX] Called analyze." << endl;
341 if (gtEvmReadoutRecord.
isValid()) {
343 unsigned int lhcBeamMode = gtfeEvmWord.
beamMode();
346 cout <<
"[L1TBPTX] Beam mode: " << lhcBeamMode << endl;
353 cout <<
"[L1TBPTX] No valid bunch structure yet retrived. Attemptting to retrive..." << endl;
385 cout <<
"Current event in valid LS and beam config" << endl;
392 if (gtReadoutRecordData.
isValid()) {
393 const vector<L1GtFdlWord>& gtFdlVectorData = gtReadoutRecordData->
gtFdlVector();
397 for (
unsigned int i = 0;
i < gtFdlVectorData.size();
i++) {
398 if (gtFdlVectorData[
i].bxInEvent() == 0) {
428 for (
unsigned a = 0;
a < gtFdlVectorData.size();
a++) {
429 int testBx = gtFdlVectorData[
a].localBxNr() -
offset;
431 bool algoFired =
false;
434 if (gtFdlVectorData[
a].gtDecisionWord()[bit]) {
439 if (gtFdlVectorData[
a].gtTechnicalTriggerWord()[bit]) {
447 if (lhcBxFilled && algoFired) {
454 if (algoFired && !lhcBxFilled) {
468 if (triggerScalers.
isValid()) {
469 Level1TriggerScalersCollection::const_iterator itL1TScalers = triggerScalers->begin();
478 pair<bool, int> refTrig = pair<bool, int>(isAlgo, bit);
481 m_l1Rate[refTrig] = trigRates.gtAlgoCountsRate()[bit];
483 m_l1Rate[refTrig] = trigRates.gtTechCountsRate()[bit];
References a, L1GtfeExtWord::beamMode(), gather_cfg::cout, L1GlobalTriggerReadoutRecord::gtFdlVector(), L1GlobalTriggerEvmReadoutRecord::gtfeWord(), mps_fire::i, iEvent, edm::HandleBase::isValid(), L1GtfeExtWord::lhcFillNumber(), hltrates_dqm_sourceclient-live_cfg::offset, and PDWG_DiPhoton_SD_cff::triggerName.
BeginRun.
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 73 of file L1TBPTX.cc.
75 cout <<
"[L1TBPTX] Called beginRun." << endl;
106 "WARNING_DB_INCORRECT_NBUNCHES");
116 TString meTitle =
"";
123 meTitle +=
" Efficiency";
131 meTitle +=
" Efficiency";
143 meTitle +=
"(1 - Miss Fire Rate)";
152 meTitle +=
"(1 - Miss Fire Rate)";
164 pair<bool, int> refME = pair<bool, int>(isAlgo, bit);
166 TString meTitle =
"";
169 meTitle =
"Algo " + std::to_string(bit);
174 m_meRate[refME]->setAxisTitle(
"Lumi Section", 1);
175 m_meRate[refME]->setAxisTitle(
"Rate (unprescaled) [Hz]", 2);
177 meTitle =
"Tech " + std::to_string(bit);
182 m_meRate[refME]->setAxisTitle(
"Lumi Section", 1);
183 m_meRate[refME]->setAxisTitle(
"Rate (unprescaled) [Hz]", 2);
192 if (l1GtPfAlgo.isValid()) {
199 if (l1GtPfAlgo.isValid()) {
References MillePedeAlignmentAlgorithm_cfi::algoName, dqm::implementation::IBooker::book1D(), gather_cfg::cout, edm::EventSetup::getData(), edm::EventSetup::getHandle(), L1GtPrescaleFactors::gtPrescaleFactors(), mps_fire::i, optionsL1T::menu, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), L1TBPTX_cfi::testName, and SiStripSubdetector::UNKNOWN.