CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1GtTriggerMenuLiteProducer Class Reference

#include <L1GtTriggerMenuLiteProducer.h>

Inheritance diagram for L1GtTriggerMenuLiteProducer:
edm::one::EDProducer< edm::BeginRunProducer > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1GtTriggerMenuLiteProducer (const edm::ParameterSet &)
 constructor(s) More...
 
 ~L1GtTriggerMenuLiteProducer () override
 destructor More...
 
- Public Member Functions inherited from edm::one::EDProducer< edm::BeginRunProducer >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () 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
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
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
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (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)
 

Private Member Functions

void beginJob () final
 
void beginRunProduce (edm::Run &, const edm::EventSetup &) final
 
void endJob () override
 
void produce (edm::Event &, const edm::EventSetup &) final
 
void retrieveL1EventSetup (const edm::EventSetup &)
 

Private Attributes

const AlgorithmMapm_algorithmAliasMap
 
const AlgorithmMapm_algorithmMap
 
const L1GtTriggerMenum_l1GtMenu
 
unsigned long long m_l1GtMenuCacheID
 
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcdm_l1GtMenuToken
 
const L1GtPrescaleFactorsm_l1GtPfAlgo
 prescale factors More...
 
unsigned long long m_l1GtPfAlgoCacheID
 
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcdm_l1GtPfAlgoToken
 
const L1GtPrescaleFactorsm_l1GtPfTech
 
unsigned long long m_l1GtPfTechCacheID
 
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcdm_l1GtPfTechToken
 
const L1GtStableParametersm_l1GtStablePar
 cached stuff More...
 
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcdm_l1GtStableParamToken
 EventSetup Tokens. More...
 
unsigned long long m_l1GtStableParCacheID
 
const L1GtTriggerMaskm_l1GtTmAlgo
 trigger masks More...
 
unsigned long long m_l1GtTmAlgoCacheID
 
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcdm_l1GtTmAlgoToken
 
const L1GtTriggerMaskm_l1GtTmTech
 
unsigned long long m_l1GtTmTechCacheID
 
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcdm_l1GtTmTechToken
 
unsigned int m_numberPhysTriggers
 number of physics triggers More...
 
unsigned int m_numberTechnicalTriggers
 number of technical triggers More...
 
unsigned int m_physicsDaqPartition
 index of physics DAQ partition More...
 
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
 
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
 
const AlgorithmMapm_technicalTriggerMap
 
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
 
const std::vector< unsigned int > * m_triggerMaskTechTrig
 

Additional Inherited Members

- 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)
 
- 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 = 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)
 

Detailed Description

Description: L1GtTriggerMenuLite producer.

Implementation: Read the L1 trigger menu, the trigger masks and the prescale factor sets from event setup and save a lite version (top level menu, trigger masks for physics partition and prescale factor set) in Run Data.

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 53 of file L1GtTriggerMenuLiteProducer.h.

Constructor & Destructor Documentation

◆ L1GtTriggerMenuLiteProducer()

L1GtTriggerMenuLiteProducer::L1GtTriggerMenuLiteProducer ( const edm::ParameterSet parSet)
explicit

constructor(s)

Definition at line 37 of file L1GtTriggerMenuLiteProducer.cc.

38  : m_l1GtStableParCacheID(0ULL),
40 
42 
43  m_l1GtMenuCacheID(0ULL),
44 
45  m_l1GtTmAlgoCacheID(0ULL),
46  m_l1GtTmTechCacheID(0ULL),
47 
48  m_l1GtPfAlgoCacheID(0ULL),
49  m_l1GtPfTechCacheID(0ULL),
50 
51  m_l1GtStableParamToken(esConsumes<L1GtStableParameters, L1GtStableParametersRcd, edm::Transition::BeginRun>()),
52  m_l1GtPfAlgoToken(esConsumes<L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd, edm::Transition::BeginRun>()),
53  m_l1GtPfTechToken(esConsumes<L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd, edm::Transition::BeginRun>()),
54  m_l1GtTmAlgoToken(esConsumes<L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd, edm::Transition::BeginRun>()),
55  m_l1GtTmTechToken(esConsumes<L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd, edm::Transition::BeginRun>()),
56  m_l1GtMenuToken(esConsumes<L1GtTriggerMenu, L1GtTriggerMenuRcd, edm::Transition::BeginRun>()),
58  // EDM product in Run Data
59  produces<L1GtTriggerMenuLite, edm::Transition::BeginRun>();
60 }

◆ ~L1GtTriggerMenuLiteProducer()

L1GtTriggerMenuLiteProducer::~L1GtTriggerMenuLiteProducer ( )
override

destructor

Definition at line 63 of file L1GtTriggerMenuLiteProducer.cc.

63  {
64  // empty
65 }

Member Function Documentation

◆ beginJob()

void L1GtTriggerMenuLiteProducer::beginJob ( void  )
finalprivatevirtual

Reimplemented from edm::one::EDProducerBase.

Definition at line 157 of file L1GtTriggerMenuLiteProducer.cc.

157  {
158  // empty
159 }

◆ beginRunProduce()

void L1GtTriggerMenuLiteProducer::beginRunProduce ( edm::Run iRun,
const edm::EventSetup evSetup 
)
finalprivate

Definition at line 161 of file L1GtTriggerMenuLiteProducer.cc.

161  {
162  //
163 
164  retrieveL1EventSetup(evSetup);
165 
166  // produce the L1GtTriggerMenuLite
167  std::unique_ptr<L1GtTriggerMenuLite> gtTriggerMenuLite(new L1GtTriggerMenuLite());
168 
169  // lite L1 trigger menu
170 
171  gtTriggerMenuLite->setGtTriggerMenuInterface(m_l1GtMenu->gtTriggerMenuInterface());
172  gtTriggerMenuLite->setGtTriggerMenuName(m_l1GtMenu->gtTriggerMenuName());
173  gtTriggerMenuLite->setGtTriggerMenuImplementation(m_l1GtMenu->gtTriggerMenuImplementation());
174 
175  gtTriggerMenuLite->setGtScaleDbKey(m_l1GtMenu->gtScaleDbKey());
176 
177  //
179  for (CItAlgo itAlgo = m_algorithmMap->begin(); itAlgo != m_algorithmMap->end(); itAlgo++) {
180  unsigned int bitNumber = (itAlgo->second).algoBitNumber();
181  algMap[bitNumber] = itAlgo->first;
182  }
183 
184  gtTriggerMenuLite->setGtAlgorithmMap(algMap);
185 
186  //
188  for (CItAlgo itAlgo = m_algorithmAliasMap->begin(); itAlgo != m_algorithmAliasMap->end(); itAlgo++) {
189  unsigned int bitNumber = (itAlgo->second).algoBitNumber();
190  algAliasMap[bitNumber] = itAlgo->first;
191  }
192 
193  gtTriggerMenuLite->setGtAlgorithmAliasMap(algAliasMap);
194 
195  //
197  for (CItAlgo itAlgo = m_technicalTriggerMap->begin(); itAlgo != m_technicalTriggerMap->end(); itAlgo++) {
198  unsigned int bitNumber = (itAlgo->second).algoBitNumber();
199  techMap[bitNumber] = itAlgo->first;
200  }
201 
202  gtTriggerMenuLite->setGtTechnicalTriggerMap(techMap);
203 
204  // trigger masks
205  std::vector<unsigned int> triggerMaskAlgoTrig(m_numberPhysTriggers, 0);
206  int iBit = -1;
207 
208  for (std::vector<unsigned int>::const_iterator itBit = m_triggerMaskAlgoTrig->begin();
209  itBit != m_triggerMaskAlgoTrig->end();
210  itBit++) {
211  iBit++;
212  triggerMaskAlgoTrig[iBit] = (*itBit) & (1 << m_physicsDaqPartition);
213  }
214  gtTriggerMenuLite->setGtTriggerMaskAlgoTrig(triggerMaskAlgoTrig);
215 
216  //
217  std::vector<unsigned int> triggerMaskTechTrig(m_numberTechnicalTriggers, 0);
218  iBit = -1;
219 
220  for (std::vector<unsigned int>::const_iterator itBit = m_triggerMaskTechTrig->begin();
221  itBit != m_triggerMaskTechTrig->end();
222  itBit++) {
223  iBit++;
224  triggerMaskTechTrig[iBit] = (*itBit) & (1 << m_physicsDaqPartition);
225  }
226  gtTriggerMenuLite->setGtTriggerMaskTechTrig(triggerMaskTechTrig);
227 
228  //
229  gtTriggerMenuLite->setGtPrescaleFactorsAlgoTrig(*m_prescaleFactorsAlgoTrig);
230  gtTriggerMenuLite->setGtPrescaleFactorsTechTrig(*m_prescaleFactorsTechTrig);
231 
232  // print menu, trigger masks and prescale factors
233  if (edm::isDebugEnabled()) {
234  LogDebug("L1GtTriggerMenuLiteProducer") << *gtTriggerMenuLite;
235  }
236 
237  // put records into event
238  iRun.put(std::move(gtTriggerMenuLite));
239 }

References L1TBPTX_cfi::bitNumber, L1GtTriggerMenu::gtScaleDbKey(), L1GtTriggerMenu::gtTriggerMenuImplementation(), L1GtTriggerMenu::gtTriggerMenuInterface(), L1GtTriggerMenu::gtTriggerMenuName(), edm::isDebugEnabled(), LogDebug, m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_numberPhysTriggers, m_numberTechnicalTriggers, m_physicsDaqPartition, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, eostools::move(), edm::Run::put(), and retrieveL1EventSetup().

◆ endJob()

void L1GtTriggerMenuLiteProducer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDProducerBase.

Definition at line 244 of file L1GtTriggerMenuLiteProducer.cc.

244  {
245  // empty now
246 }

◆ produce()

void L1GtTriggerMenuLiteProducer::produce ( edm::Event iEvent,
const edm::EventSetup evSetup 
)
finalprivatevirtual

Implements edm::one::EDProducerBase.

Definition at line 241 of file L1GtTriggerMenuLiteProducer.cc.

241 {}

◆ retrieveL1EventSetup()

void L1GtTriggerMenuLiteProducer::retrieveL1EventSetup ( const edm::EventSetup evSetup)
private

retrieve all the relevant L1 trigger event setup records and cache them to improve the speed

Definition at line 67 of file L1GtTriggerMenuLiteProducer.cc.

67  {
68  // get / update the stable parameters from the EventSetup
69  // local cache & check on cacheIdentifier
70 
71  unsigned long long l1GtStableParCacheID = evSetup.get<L1GtStableParametersRcd>().cacheIdentifier();
72 
73  if (m_l1GtStableParCacheID != l1GtStableParCacheID) {
75  m_l1GtStablePar = l1GtStablePar.product();
76 
77  // number of physics triggers
79 
80  // number of technical triggers
82 
83  //
84  m_l1GtStableParCacheID = l1GtStableParCacheID;
85  }
86 
87  // get / update the prescale factors from the EventSetup
88  // local cache & check on cacheIdentifier
89 
90  unsigned long long l1GtPfAlgoCacheID = evSetup.get<L1GtPrescaleFactorsAlgoTrigRcd>().cacheIdentifier();
91 
92  if (m_l1GtPfAlgoCacheID != l1GtPfAlgoCacheID) {
94  m_l1GtPfAlgo = l1GtPfAlgo.product();
95 
97 
98  m_l1GtPfAlgoCacheID = l1GtPfAlgoCacheID;
99  }
100 
101  unsigned long long l1GtPfTechCacheID = evSetup.get<L1GtPrescaleFactorsTechTrigRcd>().cacheIdentifier();
102 
103  if (m_l1GtPfTechCacheID != l1GtPfTechCacheID) {
105  m_l1GtPfTech = l1GtPfTech.product();
106 
108 
109  m_l1GtPfTechCacheID = l1GtPfTechCacheID;
110  }
111 
112  // get / update the trigger mask from the EventSetup
113  // local cache & check on cacheIdentifier
114 
115  unsigned long long l1GtTmAlgoCacheID = evSetup.get<L1GtTriggerMaskAlgoTrigRcd>().cacheIdentifier();
116 
117  if (m_l1GtTmAlgoCacheID != l1GtTmAlgoCacheID) {
119  m_l1GtTmAlgo = l1GtTmAlgo.product();
120 
122 
123  m_l1GtTmAlgoCacheID = l1GtTmAlgoCacheID;
124  }
125 
126  unsigned long long l1GtTmTechCacheID = evSetup.get<L1GtTriggerMaskTechTrigRcd>().cacheIdentifier();
127 
128  if (m_l1GtTmTechCacheID != l1GtTmTechCacheID) {
130  m_l1GtTmTech = l1GtTmTech.product();
131 
133 
134  m_l1GtTmTechCacheID = l1GtTmTechCacheID;
135  }
136 
137  // get / update the trigger menu from the EventSetup
138  // local cache & check on cacheIdentifier
139 
140  unsigned long long l1GtMenuCacheID = evSetup.get<L1GtTriggerMenuRcd>().cacheIdentifier();
141 
142  if (m_l1GtMenuCacheID != l1GtMenuCacheID) {
144  m_l1GtMenu = l1GtMenu.product();
145 
148 
150 
151  m_l1GtMenuCacheID = l1GtMenuCacheID;
152  }
153 }

References edm::EventSetup::get(), edm::EventSetup::getHandle(), L1GtTriggerMenu::gtAlgorithmAliasMap(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtStableParameters::gtNumberPhysTriggers(), L1GtStableParameters::gtNumberTechnicalTriggers(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtTriggerMenu::gtTechnicalTriggerMap(), L1GtTriggerMask::gtTriggerMask(), m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtMenuToken, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfAlgoToken, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtPfTechToken, m_l1GtStablePar, m_l1GtStableParamToken, m_l1GtStableParCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmAlgoToken, m_l1GtTmTech, m_l1GtTmTechCacheID, m_l1GtTmTechToken, m_numberPhysTriggers, m_numberTechnicalTriggers, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, and edm::ESHandle< T >::product().

Referenced by beginRunProduce().

Member Data Documentation

◆ m_algorithmAliasMap

const AlgorithmMap* L1GtTriggerMenuLiteProducer::m_algorithmAliasMap
private

Definition at line 91 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_algorithmMap

const AlgorithmMap* L1GtTriggerMenuLiteProducer::m_algorithmMap
private

Definition at line 90 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_l1GtMenu

const L1GtTriggerMenu* L1GtTriggerMenuLiteProducer::m_l1GtMenu
private

Definition at line 87 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_l1GtMenuCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtMenuCacheID
private

Definition at line 88 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtMenuToken

const edm::ESGetToken<L1GtTriggerMenu, L1GtTriggerMenuRcd> L1GtTriggerMenuLiteProducer::m_l1GtMenuToken
private

Definition at line 120 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfAlgo

const L1GtPrescaleFactors* L1GtTriggerMenuLiteProducer::m_l1GtPfAlgo
private

prescale factors

Definition at line 105 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfAlgoCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoCacheID
private

Definition at line 106 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfAlgoToken

const edm::ESGetToken<L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd> L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoToken
private

Definition at line 116 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfTech

const L1GtPrescaleFactors* L1GtTriggerMenuLiteProducer::m_l1GtPfTech
private

Definition at line 108 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfTechCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtPfTechCacheID
private

Definition at line 109 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtPfTechToken

const edm::ESGetToken<L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd> L1GtTriggerMenuLiteProducer::m_l1GtPfTechToken
private

Definition at line 117 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtStablePar

const L1GtStableParameters* L1GtTriggerMenuLiteProducer::m_l1GtStablePar
private

cached stuff

stable parameters

Definition at line 77 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtStableParamToken

const edm::ESGetToken<L1GtStableParameters, L1GtStableParametersRcd> L1GtTriggerMenuLiteProducer::m_l1GtStableParamToken
private

EventSetup Tokens.

Definition at line 115 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtStableParCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtStableParCacheID
private

Definition at line 78 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmAlgo

const L1GtTriggerMask* L1GtTriggerMenuLiteProducer::m_l1GtTmAlgo
private

trigger masks

Definition at line 95 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmAlgoCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoCacheID
private

Definition at line 96 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmAlgoToken

const edm::ESGetToken<L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd> L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoToken
private

Definition at line 118 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmTech

const L1GtTriggerMask* L1GtTriggerMenuLiteProducer::m_l1GtTmTech
private

Definition at line 98 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmTechCacheID

unsigned long long L1GtTriggerMenuLiteProducer::m_l1GtTmTechCacheID
private

Definition at line 99 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_l1GtTmTechToken

const edm::ESGetToken<L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd> L1GtTriggerMenuLiteProducer::m_l1GtTmTechToken
private

Definition at line 119 of file L1GtTriggerMenuLiteProducer.h.

Referenced by retrieveL1EventSetup().

◆ m_numberPhysTriggers

unsigned int L1GtTriggerMenuLiteProducer::m_numberPhysTriggers
private

number of physics triggers

Definition at line 81 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_numberTechnicalTriggers

unsigned int L1GtTriggerMenuLiteProducer::m_numberTechnicalTriggers
private

number of technical triggers

Definition at line 84 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_physicsDaqPartition

unsigned int L1GtTriggerMenuLiteProducer::m_physicsDaqPartition
private

index of physics DAQ partition

Definition at line 124 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce().

◆ m_prescaleFactorsAlgoTrig

const std::vector<std::vector<int> >* L1GtTriggerMenuLiteProducer::m_prescaleFactorsAlgoTrig
private

Definition at line 111 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_prescaleFactorsTechTrig

const std::vector<std::vector<int> >* L1GtTriggerMenuLiteProducer::m_prescaleFactorsTechTrig
private

Definition at line 112 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_technicalTriggerMap

const AlgorithmMap* L1GtTriggerMenuLiteProducer::m_technicalTriggerMap
private

Definition at line 92 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_triggerMaskAlgoTrig

const std::vector<unsigned int>* L1GtTriggerMenuLiteProducer::m_triggerMaskAlgoTrig
private

Definition at line 101 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

◆ m_triggerMaskTechTrig

const std::vector<unsigned int>* L1GtTriggerMenuLiteProducer::m_triggerMaskTechTrig
private

Definition at line 102 of file L1GtTriggerMenuLiteProducer.h.

Referenced by beginRunProduce(), and retrieveL1EventSetup().

L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition: L1GtTriggerMenuLiteProducer.h:106
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: L1GtTriggerMenuLiteProducer.h:105
L1GtTriggerMenu::gtTriggerMenuName
const std::string & gtTriggerMenuName() const
Definition: L1GtTriggerMenu.h:91
L1GtTriggerMenuLiteProducer::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition: L1GtTriggerMenuLiteProducer.h:84
L1GtStableParameters::gtNumberTechnicalTriggers
unsigned int gtNumberTechnicalTriggers() const
get / set the number of technical triggers
Definition: L1GtStableParameters.h:53
L1GtTriggerMenuLiteProducer::m_algorithmAliasMap
const AlgorithmMap * m_algorithmAliasMap
Definition: L1GtTriggerMenuLiteProducer.h:91
L1GtTriggerMenuLiteProducer::m_algorithmMap
const AlgorithmMap * m_algorithmMap
Definition: L1GtTriggerMenuLiteProducer.h:90
L1GtTriggerMenuLiteProducer::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition: L1GtTriggerMenuLiteProducer.h:99
L1GtTriggerMenuLiteProducer::m_technicalTriggerMap
const AlgorithmMap * m_technicalTriggerMap
Definition: L1GtTriggerMenuLiteProducer.h:92
L1GtTriggerMenuLiteProducer::m_l1GtMenu
const L1GtTriggerMenu * m_l1GtMenu
Definition: L1GtTriggerMenuLiteProducer.h:87
L1GtTriggerMenuLiteProducer::m_triggerMaskTechTrig
const std::vector< unsigned int > * m_triggerMaskTechTrig
Definition: L1GtTriggerMenuLiteProducer.h:102
L1GtPrescaleFactors::gtPrescaleFactors
const std::vector< std::vector< int > > & gtPrescaleFactors() const
get the prescale factors by reference
Definition: L1GtPrescaleFactors.h:45
L1GtTriggerMenu::gtTriggerMenuImplementation
const std::string & gtTriggerMenuImplementation() const
Definition: L1GtTriggerMenu.h:96
L1GtTriggerMenuLiteProducer::m_physicsDaqPartition
unsigned int m_physicsDaqPartition
index of physics DAQ partition
Definition: L1GtTriggerMenuLiteProducer.h:124
L1GtTriggerMenuLiteProducer::m_l1GtTmTechToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
Definition: L1GtTriggerMenuLiteProducer.h:119
L1GtPrescaleFactorsTechTrigRcd
Definition: L1GtPrescaleFactorsTechTrigRcd.h:38
L1GtTriggerMenu::gtScaleDbKey
const std::string & gtScaleDbKey() const
menu associated scale key
Definition: L1GtTriggerMenu.h:101
L1GtTriggerMenuLiteProducer::m_l1GtMenuCacheID
unsigned long long m_l1GtMenuCacheID
Definition: L1GtTriggerMenuLiteProducer.h:88
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
edm::Run::put
void put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Run.h:109
CItAlgo
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
Definition: L1GtTriggerMenuFwd.h:38
L1GtTriggerMenu::gtTriggerMenuInterface
const std::string & gtTriggerMenuInterface() const
get / set the trigger menu names
Definition: L1GtTriggerMenu.h:86
L1GtTriggerMaskTechTrigRcd
Definition: L1GtTriggerMaskTechTrigRcd.h:39
L1GtTriggerMenuRcd
Definition: L1GtTriggerMenuRcd.h:32
L1GtTriggerMaskAlgoTrigRcd
Definition: L1GtTriggerMaskAlgoTrigRcd.h:39
edm::ESHandle
Definition: DTSurvey.h:22
L1GtTriggerMenuLiteProducer::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition: L1GtTriggerMenuLiteProducer.h:112
L1GtTriggerMenuLiteProducer::m_l1GtStableParamToken
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParamToken
EventSetup Tokens.
Definition: L1GtTriggerMenuLiteProducer.h:115
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition: L1GtTriggerMenuLiteProducer.h:96
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
L1GtTriggerMask::gtTriggerMask
const std::vector< unsigned int > & gtTriggerMask() const
get the trigger mask
Definition: L1GtTriggerMask.h:47
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
Definition: L1GtTriggerMenuLiteProducer.h:95
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
L1GtTriggerMenu::gtAlgorithmAliasMap
const AlgorithmMap & gtAlgorithmAliasMap() const
get / set the algorithm map (by alias)
Definition: L1GtTriggerMenu.h:192
L1GtStableParameters::gtNumberPhysTriggers
unsigned int gtNumberPhysTriggers() const
get / set the number of physics trigger algorithms
Definition: L1GtStableParameters.h:43
L1GtTriggerMenuLiteProducer::m_triggerMaskAlgoTrig
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
Definition: L1GtTriggerMenuLiteProducer.h:101
L1GtStableParametersRcd
Definition: L1GtStableParametersRcd.h:39
L1GtTriggerMenuLiteProducer::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition: L1GtTriggerMenuLiteProducer.h:109
L1GtTriggerMenuLite
Definition: L1GtTriggerMenuLite.h:39
eostools.move
def move(src, dest)
Definition: eostools.py:511
L1GtTriggerMenuLiteProducer::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition: L1GtTriggerMenuLiteProducer.h:78
L1GtTriggerMenuLiteProducer::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition: L1GtTriggerMenuLiteProducer.h:77
L1GtTriggerMenuLiteProducer::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition: L1GtTriggerMenuLiteProducer.h:98
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
Definition: L1GtTriggerMenuLiteProducer.h:116
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
Definition: L1GtTriggerMenuLiteProducer.h:118
edm::isDebugEnabled
bool isDebugEnabled()
Definition: MessageLogger.cc:12
L1TBPTX_cfi.bitNumber
bitNumber
Definition: L1TBPTX_cfi.py:26
L1GtTriggerMenuLiteProducer::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition: L1GtTriggerMenuLiteProducer.h:108
L1GtTriggerMenuLiteProducer::retrieveL1EventSetup
void retrieveL1EventSetup(const edm::EventSetup &)
Definition: L1GtTriggerMenuLiteProducer.cc:67
L1GtPrescaleFactorsAlgoTrigRcd
Definition: L1GtPrescaleFactorsAlgoTrigRcd.h:38
L1GtTriggerMenuLite::L1TriggerMap
std::map< unsigned int, std::string > L1TriggerMap
map containing the physics algorithms or the technical triggers
Definition: L1GtTriggerMenuLite.h:42
L1GtTriggerMenu::gtTechnicalTriggerMap
const AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
Definition: L1GtTriggerMenu.h:197
L1GtTriggerMenuLiteProducer::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: L1GtTriggerMenuLiteProducer.h:111
L1GtTriggerMenu::gtAlgorithmMap
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
Definition: L1GtTriggerMenu.h:187
L1GtTriggerMenuLiteProducer::m_l1GtMenuToken
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > m_l1GtMenuToken
Definition: L1GtTriggerMenuLiteProducer.h:120
L1GtTriggerMenuLiteProducer::m_l1GtPfTechToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
Definition: L1GtTriggerMenuLiteProducer.h:117
L1GtTriggerMenuLiteProducer::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: L1GtTriggerMenuLiteProducer.h:81