#include <GtProducer.h>
Public Member Functions | |
const GtBoard * | gtBrd () const |
GtProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~GtProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
boost::uint16_t | m_activeBoardsGtDaq |
active boards in L1 GT DAQ record More... | |
bool | m_algorithmTriggersUnmasked |
bool | m_algorithmTriggersUnprescaled |
unsigned int | m_alternativeNrBxBoardDaq |
unsigned int | m_bstLengthBytes |
length of BST record (in bytes) from event setup More... | |
edm::InputTag | m_caloInputTag |
input tag for calorimeter collections from GCT More... | |
int | m_emulateBxInEvent |
int | m_ifCaloEtaNumberBits |
int | m_ifMuEtaNumberBits |
bool | m_isDebugEnabled |
int | m_L1DataBxInEvent |
Bx expected in Data coming to GT. More... | |
const L1GtBoardMaps * | m_l1GtBM |
board maps - cache only the record More... | |
unsigned long long | m_l1GtBMCacheID |
const L1GtParameters * | m_l1GtPar |
parameters More... | |
unsigned long long | m_l1GtParCacheID |
const L1GtPrescaleFactors * | m_l1GtPfAlgo |
prescale factors More... | |
unsigned long long | m_l1GtPfAlgoCacheID |
const GlobalStableParameters * | m_l1GtStablePar |
cached stuff More... | |
unsigned long long | m_l1GtStableParCacheID |
const L1GtTriggerMask * | m_l1GtTmAlgo |
trigger masks & veto masks More... | |
unsigned long long | m_l1GtTmAlgoCacheID |
const L1GtTriggerMask * | m_l1GtTmVetoAlgo |
unsigned long long | m_l1GtTmVetoAlgoCacheID |
edm::InputTag | m_muInputTag |
input tag for muon collection from GMT More... | |
int | m_nrL1EG |
int | m_nrL1Jet |
int | m_nrL1JetCounts |
int | m_nrL1Mu |
int | m_nrL1Tau |
unsigned int | m_numberDaqPartitions |
number of DAQ partitions More... | |
unsigned int | m_numberPhysTriggers |
number of physics triggers More... | |
const std::vector< std::vector < int > > * | m_prescaleFactorsAlgoTrig |
bool | m_produceL1GtDaqRecord |
logical flag to produce the L1 GT DAQ readout record More... | |
bool | m_produceL1GtObjectMapRecord |
logical flag to produce the L1 GT object map record More... | |
int | m_psBstLengthBytes |
length of BST record (in bytes) from parameter set More... | |
int | m_totalBxInEvent |
total number of Bx's in the event coming from EventSetup More... | |
std::vector< unsigned int > | m_triggerMaskAlgoTrig |
std::vector< unsigned int > | m_triggerMaskVetoAlgoTrig |
GtBoard * | m_uGtBrd |
int | m_verbosity |
verbosity level More... | |
bool | m_writePsbL1GtDaqRecord |
logical flag to write the PSB content in the L1 GT DAQ record More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 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) |
Definition at line 53 of file GtProducer.h.
|
explicit |
Definition at line 66 of file GtProducer.cc.
References LogDebug, LogTrace, m_activeBoardsGtDaq, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_alternativeNrBxBoardDaq, m_bstLengthBytes, m_caloInputTag, m_emulateBxInEvent, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_L1DataBxInEvent, m_l1GtBMCacheID, m_l1GtParCacheID, m_l1GtPfAlgoCacheID, m_l1GtStableParCacheID, m_l1GtTmAlgoCacheID, m_l1GtTmVetoAlgoCacheID, m_muInputTag, m_nrL1EG, m_nrL1Jet, m_nrL1JetCounts, m_nrL1Mu, m_nrL1Tau, m_numberDaqPartitions, m_numberPhysTriggers, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_psBstLengthBytes, m_totalBxInEvent, m_uGtBrd, m_verbosity, m_writePsbL1GtDaqRecord, and l1t::GtBoard::setVerbosity().
GtProducer::~GtProducer | ( | ) |
Definition at line 209 of file GtProducer.cc.
|
inline |
|
virtual |
length of BST message (in bytes) for L1 GT EVM record
Needs error checking that something exists at this bx.
OUTPUT RECORD if (m_produceL1GtObjectMapRecord) { iEvent.put( gtObjectMapRecord ); }
Implements edm::EDProducer.
Definition at line 219 of file GtProducer.cc.
References edm::EventBase::bunchCrossing(), TauDecayModes::dec, edm::EventSetup::get(), LogDebug, LogTrace, edm::EventBase::orbitNumber(), reco::print(), edm::ESHandle< class >::product(), and edm::Event::put().
|
private |
active boards in L1 GT DAQ record
Definition at line 108 of file GtProducer.h.
Referenced by GtProducer().
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 186 of file GtProducer.h.
Referenced by GtProducer().
|
private |
run algorithm triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 182 of file GtProducer.h.
Referenced by GtProducer().
|
private |
alternative for number of BX per active board in GT DAQ record: 0 or 1 the position is identical with the active board bit
Definition at line 174 of file GtProducer.h.
Referenced by GtProducer().
|
private |
length of BST record (in bytes) from event setup
Definition at line 111 of file GtProducer.h.
Referenced by GtProducer().
|
private |
input tag for calorimeter collections from GCT
Definition at line 152 of file GtProducer.h.
Referenced by GtProducer().
|
private |
number of "bunch crossing in the event" (BxInEvent) to be emulated symmetric around L1Accept (BxInEvent = 0): 1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record) even numbers (except 0) "rounded" to the nearest lower odd number
Definition at line 167 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 97 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 96 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 193 of file GtProducer.h.
|
private |
Bx expected in Data coming to GT.
Definition at line 170 of file GtProducer.h.
Referenced by GtProducer().
|
private |
board maps - cache only the record
Definition at line 114 of file GtProducer.h.
|
private |
Definition at line 115 of file GtProducer.h.
Referenced by GtProducer().
|
private |
parameters
Definition at line 101 of file GtProducer.h.
|
private |
Definition at line 102 of file GtProducer.h.
Referenced by GtProducer().
|
private |
prescale factors
Definition at line 119 of file GtProducer.h.
|
private |
Definition at line 120 of file GtProducer.h.
Referenced by GtProducer().
|
private |
|
private |
Definition at line 75 of file GtProducer.h.
Referenced by GtProducer().
|
private |
trigger masks & veto masks
Definition at line 128 of file GtProducer.h.
|
private |
Definition at line 129 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 131 of file GtProducer.h.
|
private |
Definition at line 132 of file GtProducer.h.
Referenced by GtProducer().
|
private |
input tag for muon collection from GMT
Definition at line 149 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 86 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 89 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 92 of file GtProducer.h.
Referenced by GtProducer().
|
private |
number of objects of each type { Mu, NoIsoEG, IsoEG, Jet, Tau, ETM, ETT, HTT, JetCounts };
Definition at line 85 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 87 of file GtProducer.h.
Referenced by GtProducer().
|
private |
|
private |
|
private |
Definition at line 124 of file GtProducer.h.
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 155 of file GtProducer.h.
Referenced by GtProducer().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 158 of file GtProducer.h.
Referenced by GtProducer().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 177 of file GtProducer.h.
Referenced by GtProducer().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 105 of file GtProducer.h.
Referenced by GtProducer().
|
private |
Definition at line 135 of file GtProducer.h.
|
private |
Definition at line 137 of file GtProducer.h.
|
private |
Definition at line 146 of file GtProducer.h.
Referenced by gtBrd(), and GtProducer().
|
private |
|
private |
logical flag to write the PSB content in the L1 GT DAQ record
Definition at line 161 of file GtProducer.h.
Referenced by GtProducer().