|
| 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 |
|
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 |
|
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 |
|
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) |
|
|
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 69 of file L1TBPTX.h.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 327 of file L1TBPTX.cc.
329 cout <<
"[L1TBPTX] Called analyze." << endl;
343 if (gtEvmReadoutRecord.
isValid()) {
345 unsigned int lhcBeamMode = gtfeEvmWord.
beamMode();
348 cout <<
"[L1TBPTX] Beam mode: " << lhcBeamMode << endl;
355 cout <<
"[L1TBPTX] No valid bunch structure yet retrived. Attemptting to retrive..." << endl;
387 cout <<
"Current event in valid LS and beam config" << endl;
394 if (gtReadoutRecordData.
isValid()) {
395 const vector<L1GtFdlWord>& gtFdlVectorData = gtReadoutRecordData->
gtFdlVector();
399 for (
unsigned int i = 0;
i < gtFdlVectorData.size();
i++) {
400 if (gtFdlVectorData[
i].bxInEvent() == 0) {
430 for (
unsigned a = 0;
a < gtFdlVectorData.size();
a++) {
431 int testBx = gtFdlVectorData[
a].localBxNr() -
offset;
433 bool algoFired =
false;
436 if (gtFdlVectorData[
a].gtDecisionWord()[bit]) {
441 if (gtFdlVectorData[
a].gtTechnicalTriggerWord()[bit]) {
449 if (lhcBxFilled && algoFired) {
456 if (algoFired && !lhcBxFilled) {
470 if (triggerScalers.
isValid()) {
471 Level1TriggerScalersCollection::const_iterator itL1TScalers = triggerScalers->begin();
480 pair<bool, int> refTrig = pair<bool, int>(isAlgo, bit);
483 m_l1Rate[refTrig] = trigRates.gtAlgoCountsRate()[bit];
485 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 70 of file L1TBPTX.cc.
72 cout <<
"[L1TBPTX] Called beginRun." << endl;
105 "WARNING_DB_INCORRECT_NBUNCHES");
115 TString meTitle =
"";
122 meTitle +=
" Efficiency";
130 meTitle +=
" Efficiency";
142 meTitle +=
"(1 - Miss Fire Rate)";
151 meTitle +=
"(1 - Miss Fire Rate)";
163 pair<bool, int> refME = pair<bool, int>(isAlgo, bit);
165 TString meTitle =
"";
168 meTitle =
"Algo " + std::to_string(bit);
173 m_meRate[refME]->setAxisTitle(
"Lumi Section", 1);
174 m_meRate[refME]->setAxisTitle(
"Rate (unprescaled) [Hz]", 2);
176 meTitle =
"Tech " + std::to_string(bit);
181 m_meRate[refME]->setAxisTitle(
"Lumi Section", 1);
182 m_meRate[refME]->setAxisTitle(
"Rate (unprescaled) [Hz]", 2);
References HIPAlignmentAlgorithm_cfi::algoName, dqm::implementation::IBooker::book1D(), gather_cfg::cout, edm::EventSetup::get(), edm::get(), L1GtPrescaleFactors::gtPrescaleFactors(), mps_fire::i, edm::ESHandleBase::isValid(), optionsL1T::menu, edm::ESHandle< T >::product(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), L1TBPTX_cfi::testName, and SiStripSubdetector::UNKNOWN.