|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef TRIGT1CTP_RESULTBUILDER_H
7 #define TRIGT1CTP_RESULTBUILDER_H
17 #include "CTPfragment/CTPdataformatVersion.h"
18 #include "GaudiKernel/EventIDBase.h"
31 #include "CLHEP/Random/RandomEngine.h"
52 std::map<std::string, unsigned int> & itemDecisionMap,
53 CLHEP::HepRandomEngine* rndmEngine )
const;
57 std::vector<uint32_t> & tbp, std::vector<uint32_t> &
tap, std::vector<uint32_t> & tav,
62 std::vector<uint32_t> & tip )
const;
67 const std::vector<uint32_t> & tbp,
const std::vector<uint32_t> &
tap,
68 const std::vector<uint32_t> & tav,
const std::vector<uint32_t> & tip,
69 const std::vector<uint32_t> &
extra,
74 const std::vector<uint32_t> & tbp,
const std::vector<uint32_t> &
tap,
75 const std::vector<uint32_t> & tav,
const std::vector<uint32_t> & tip,
76 const std::vector<uint32_t> &
extra )
const;
85 std::vector<std::string>
firedItems(
const std::vector<uint32_t>& triggerWords)
const;
103 #endif // TRIGT1CTP_RESULTBUILDER_H
Class used to create the CTP output (RDO, SLink and TriggerInfo)
std::unique_ptr< CTPSLink > constructRoIResult(const EventIDBase &eventID, const std::vector< uint32_t > &tbp, const std::vector< uint32_t > &tap, const std::vector< uint32_t > &tav, const std::vector< uint32_t > &tip, const std::vector< uint32_t > &extra, const unsigned char triggerType) const
build RoI result (LVL1CTP::CTPSLink)
StatusCode constructResultVectors(const std::map< std::string, unsigned int > &itemDecisionMap, std::vector< uint32_t > &tbp, std::vector< uint32_t > &tap, std::vector< uint32_t > &tav, unsigned char &triggerType) const
std::vector< std::string > firedItems(const std::vector< uint32_t > &triggerWords) const
build list of fired items and dump to string
CTPdataformatVersion * m_ctpDataFormat
CTP data format details.
StatusCode setConfiguration(const TrigConf::L1Menu &l1menu)
InternalTriggerMap m_internalTrigger
internal triggers BGRP and RNDM
StatusCode constructTIPVector(const std::map< std::string, unsigned int > &thrMultiMap, std::vector< uint32_t > &tip) const
::StatusCode StatusCode
StatusCode definition for legacy code.
std::map< std::string, const ISpecialTrigger * > InternalTriggerMap
std::unique_ptr< CTP_RDO > constructRDOResult(const EventIDBase &eventID, const std::vector< uint32_t > &tbp, const std::vector< uint32_t > &tap, const std::vector< uint32_t > &tav, const std::vector< uint32_t > &tip, const std::vector< uint32_t > &extra) const
build RDO result (CTP_RDO)
StatusCode buildItemDecision(const std::map< std::string, unsigned int > &thrMultiMap, std::map< std::string, unsigned int > &itemDecisionMap, CLHEP::HepRandomEngine *rndmEngine) const
unsigned int m_ctpVersionNumber
CTP data format version (4 in most of Run 2 and in Run 3)
std::unique_ptr< ThresholdMap > m_thrConfigMap
Map between threshold objects and their CTP-internal description.
ResultBuilder(const std::string &type, const std::string &name, const IInterface *parent)
std::unique_ptr< ItemMap > m_itemConfigMap
Map between item objects and their CTP-internal description.
StatusCode createTriggerConfigMaps(const TrigConf::L1Menu &l1menu)
void setRandomEngine(CLHEP::HepRandomEngine *rndmEngine)