#include <L1GlobalTrigger.h>
Public Member Functions | |
const L1GlobalTriggerFDL * | gtFDL () const |
const L1GlobalTriggerGTL * | gtGTL () const |
const L1GlobalTriggerPSB * | gtPSB () const |
L1GlobalTrigger (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~L1GlobalTrigger () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 and in L1 GT EVM record More... | |
boost::uint16_t | m_activeBoardsGtEvm |
const bool | m_algorithmTriggersUnmasked |
const bool | m_algorithmTriggersUnprescaled |
const unsigned int | m_alternativeNrBxBoardDaq |
const unsigned int | m_alternativeNrBxBoardEvm |
unsigned int | m_bstLengthBytes |
length of BST record (in bytes) from event setup More... | |
const edm::InputTag | m_caloGctInputTag |
input tag for calorimeter collections from GCT More... | |
const edm::InputTag | m_castorInputTag |
input tag for CASTOR record More... | |
int | m_emulateBxInEvent |
L1GlobalTriggerFDL * | m_gtFDL |
L1GlobalTriggerGTL * | m_gtGTL |
L1GlobalTriggerPSB * | m_gtPSB |
int | m_ifCaloEtaNumberBits |
int | m_ifMuEtaNumberBits |
const bool | m_isDebugEnabled |
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 L1GtPrescaleFactors * | m_l1GtPfTech |
unsigned long long | m_l1GtPfTechCacheID |
const L1GtStableParameters * | 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_l1GtTmTech |
unsigned long long | m_l1GtTmTechCacheID |
const L1GtTriggerMask * | m_l1GtTmVetoAlgo |
unsigned long long | m_l1GtTmVetoAlgoCacheID |
const L1GtTriggerMask * | m_l1GtTmVetoTech |
unsigned long long | m_l1GtTmVetoTechCacheID |
const edm::InputTag | m_muGmtInputTag |
input tag for muon collection from GMT More... | |
int | m_nrL1CenJet |
int | m_nrL1ForJet |
int | m_nrL1IsoEG |
int | m_nrL1JetCounts |
int | m_nrL1Mu |
int | m_nrL1NoIsoEG |
int | m_nrL1TauJet |
unsigned int | m_numberDaqPartitions |
number of DAQ partitions More... | |
unsigned int | m_numberPhysTriggers |
number of physics triggers More... | |
unsigned int | m_numberTechnicalTriggers |
number of technical triggers More... | |
const std::vector< std::vector < int > > * | m_prescaleFactorsAlgoTrig |
const std::vector< std::vector < int > > * | m_prescaleFactorsTechTrig |
const bool | m_produceL1GtDaqRecord |
logical flag to produce the L1 GT DAQ readout record More... | |
const bool | m_produceL1GtEvmRecord |
logical flag to produce the L1 GT EVM readout record More... | |
const bool | m_produceL1GtObjectMapRecord |
logical flag to produce the L1 GT object map record More... | |
const int | m_psBstLengthBytes |
length of BST record (in bytes) from parameter set More... | |
const bool | m_readTechnicalTriggerRecords |
logical flag to read the technical trigger records More... | |
const std::vector< int > | m_recordLength |
const std::vector< edm::InputTag > | m_technicalTriggersInputTags |
input tag for technical triggers More... | |
const bool | m_technicalTriggersUnmasked |
const bool | m_technicalTriggersUnprescaled |
const bool | m_technicalTriggersVetoUnmasked |
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_triggerMaskTechTrig |
std::vector< unsigned int > | m_triggerMaskVetoAlgoTrig |
std::vector< unsigned int > | m_triggerMaskVetoTechTrig |
const int | m_verbosity |
verbosity level More... | |
const 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::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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::stream::EDProducerBase | |
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) |
Description: see header file.
Implementation: <TODO: enter implementation details>
Description: L1 Global Trigger producer.
Implementation: <TODO: enter implementation details>
The CMSSW implementation of the L1 Global Trigger emulator uses concepts and code from the ORCA L1 Global Trigger simulation, authors: N. Neumeister, M. Fierro, M. Eder - HEPHY Vienna.
Definition at line 55 of file L1GlobalTrigger.h.
|
explicit |
Definition at line 90 of file L1GlobalTrigger.cc.
L1GlobalTrigger::~L1GlobalTrigger | ( | ) |
Definition at line 268 of file L1GlobalTrigger.cc.
|
inline |
Definition at line 78 of file L1GlobalTrigger.h.
|
inline |
Definition at line 72 of file L1GlobalTrigger.h.
|
inline |
Definition at line 66 of file L1GlobalTrigger.h.
|
virtual |
length of BST message (in bytes) for L1 GT EVM record
receive technical trigger
Implements edm::stream::EDProducerBase.
Definition at line 279 of file L1GlobalTrigger.cc.
|
private |
active boards in L1 GT DAQ record and in L1 GT EVM record
Definition at line 127 of file L1GlobalTrigger.h.
|
private |
Definition at line 128 of file L1GlobalTrigger.h.
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 227 of file L1GlobalTrigger.h.
|
private |
run algorithm triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 223 of file L1GlobalTrigger.h.
|
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 211 of file L1GlobalTrigger.h.
|
private |
alternative for number of BX per active board in GT EVM record: 0 or 1 the position is identical with the active board bit
Definition at line 215 of file L1GlobalTrigger.h.
|
private |
length of BST record (in bytes) from event setup
Definition at line 131 of file L1GlobalTrigger.h.
|
private |
input tag for calorimeter collections from GCT
Definition at line 175 of file L1GlobalTrigger.h.
|
private |
input tag for CASTOR record
Definition at line 178 of file L1GlobalTrigger.h.
|
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 202 of file L1GlobalTrigger.h.
|
private |
Definition at line 169 of file L1GlobalTrigger.h.
|
private |
Definition at line 168 of file L1GlobalTrigger.h.
|
private |
Definition at line 167 of file L1GlobalTrigger.h.
|
private |
Definition at line 116 of file L1GlobalTrigger.h.
|
private |
Definition at line 115 of file L1GlobalTrigger.h.
|
private |
Definition at line 244 of file L1GlobalTrigger.h.
|
private |
board maps - cache only the record
Definition at line 134 of file L1GlobalTrigger.h.
|
private |
Definition at line 135 of file L1GlobalTrigger.h.
|
private |
parameters
Definition at line 120 of file L1GlobalTrigger.h.
|
private |
Definition at line 121 of file L1GlobalTrigger.h.
|
private |
prescale factors
Definition at line 139 of file L1GlobalTrigger.h.
|
private |
Definition at line 140 of file L1GlobalTrigger.h.
|
private |
Definition at line 142 of file L1GlobalTrigger.h.
|
private |
Definition at line 143 of file L1GlobalTrigger.h.
|
private |
|
private |
Definition at line 89 of file L1GlobalTrigger.h.
|
private |
trigger masks & veto masks
Definition at line 149 of file L1GlobalTrigger.h.
|
private |
Definition at line 150 of file L1GlobalTrigger.h.
|
private |
Definition at line 152 of file L1GlobalTrigger.h.
|
private |
Definition at line 153 of file L1GlobalTrigger.h.
|
private |
Definition at line 155 of file L1GlobalTrigger.h.
|
private |
Definition at line 156 of file L1GlobalTrigger.h.
|
private |
Definition at line 158 of file L1GlobalTrigger.h.
|
private |
Definition at line 159 of file L1GlobalTrigger.h.
|
private |
input tag for muon collection from GMT
Definition at line 172 of file L1GlobalTrigger.h.
|
private |
Definition at line 107 of file L1GlobalTrigger.h.
|
private |
Definition at line 108 of file L1GlobalTrigger.h.
|
private |
Definition at line 105 of file L1GlobalTrigger.h.
|
private |
Definition at line 111 of file L1GlobalTrigger.h.
|
private |
number of objects of each type { Mu, NoIsoEG, IsoEG, CenJet, ForJet, TauJet, ETM, ETT, HTT, JetCounts };
Definition at line 102 of file L1GlobalTrigger.h.
|
private |
Definition at line 104 of file L1GlobalTrigger.h.
|
private |
Definition at line 109 of file L1GlobalTrigger.h.
|
private |
number of DAQ partitions
Definition at line 98 of file L1GlobalTrigger.h.
|
private |
number of physics triggers
Definition at line 92 of file L1GlobalTrigger.h.
|
private |
number of technical triggers
Definition at line 95 of file L1GlobalTrigger.h.
|
private |
Definition at line 145 of file L1GlobalTrigger.h.
|
private |
Definition at line 146 of file L1GlobalTrigger.h.
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 184 of file L1GlobalTrigger.h.
|
private |
logical flag to produce the L1 GT EVM readout record
Definition at line 187 of file L1GlobalTrigger.h.
|
private |
logical flag to produce the L1 GT object map record
Definition at line 190 of file L1GlobalTrigger.h.
|
private |
length of BST record (in bytes) from parameter set
Definition at line 218 of file L1GlobalTrigger.h.
|
private |
logical flag to read the technical trigger records
Definition at line 196 of file L1GlobalTrigger.h.
|
private |
number of BXs in the event corresponding to alternative 0 and 1 in altNrBxBoard() EmulateBxInEvent >= max(RecordLength[0], RecordLength[1]) negative values: take the numbers from event setup, from L1GtParameters
Definition at line 207 of file L1GlobalTrigger.h.
|
private |
input tag for technical triggers
Definition at line 181 of file L1GlobalTrigger.h.
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 236 of file L1GlobalTrigger.h.
|
private |
run technical triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 232 of file L1GlobalTrigger.h.
|
private |
if true, veto unmasked - all enabled (all trigger veto masks set to 0) will overwrite the event setup
Definition at line 240 of file L1GlobalTrigger.h.
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 124 of file L1GlobalTrigger.h.
|
private |
Definition at line 161 of file L1GlobalTrigger.h.
|
private |
Definition at line 162 of file L1GlobalTrigger.h.
|
private |
Definition at line 164 of file L1GlobalTrigger.h.
|
private |
Definition at line 165 of file L1GlobalTrigger.h.
|
private |
verbosity level
Definition at line 243 of file L1GlobalTrigger.h.
|
private |
logical flag to write the PSB content in the L1 GT DAQ record
Definition at line 193 of file L1GlobalTrigger.h.