ATLAS Offline Software
Loading...
Searching...
No Matches
L1DataConsistencyChecker Class Reference

Checks the consistency between CTP active items and L1 RoIs (TOBs) received from RoIB/readout. More...

#include <L1DataConsistencyChecker.h>

Inheritance diagram for L1DataConsistencyChecker:
Collaboration diagram for L1DataConsistencyChecker:

Public Member Functions

 L1DataConsistencyChecker (const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

IStateful transition implementations

using MultiplicityInfo = std::unordered_map<TrigCompositeUtils::DecisionID, unsigned int>
SG::ReadHandleKey< TrigConf::HLTMenum_hltMenuKey
SG::ReadHandleKey< TrigConf::L1Menum_l1MenuKey
ToolHandle< GenericMonitoringToolm_monTool
Gaudi::Property< bool > m_errorOnMissingTOB
Gaudi::Property< std::map< std::string, std::string > > m_thresholdToDecisionMap
Gaudi::Property< std::vector< std::string > > m_excludedThresholdTypes
std::unordered_map< TrigCompositeUtils::DecisionID, MultiplicityInfom_thresholdMap
std::unordered_map< TrigCompositeUtils::DecisionID, std::string > m_thresholdNames
std::unordered_map< TrigCompositeUtils::DecisionID, std::string > m_thresholdTypes
std::set< TrigCompositeUtils::DecisionIDm_monitoredThresholds
virtual StatusCode initialize () override
virtual StatusCode start () override
StatusCode consistencyCheck (const HLT::IDVec &l1SeededChains, const EventContext &ctx) const
 Perform the check and fill the corresponding histograms.
bool doDebug () const
 Shorter alias for a check whether we are in DEBUG logging mode.

Detailed Description

Checks the consistency between CTP active items and L1 RoIs (TOBs) received from RoIB/readout.

Definition at line 22 of file L1DataConsistencyChecker.h.

Member Typedef Documentation

◆ MultiplicityInfo

using L1DataConsistencyChecker::MultiplicityInfo = std::unordered_map<TrigCompositeUtils::DecisionID, unsigned int>
private

Definition at line 61 of file L1DataConsistencyChecker.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ L1DataConsistencyChecker()

L1DataConsistencyChecker::L1DataConsistencyChecker ( const std::string & type,
const std::string & name,
const IInterface * parent )
inline

Definition at line 24 of file L1DataConsistencyChecker.h.

25 : AthAlgTool(type, name, parent) {}
AthAlgTool()
Default constructor:

Member Function Documentation

◆ consistencyCheck()

StatusCode L1DataConsistencyChecker::consistencyCheck ( const HLT::IDVec & l1SeededChains,
const EventContext & ctx ) const

Perform the check and fill the corresponding histograms.

Counter for debug printouts

Definition at line 84 of file L1DataConsistencyChecker.cxx.

84 {
85 auto monTimer = Monitored::Timer<std::chrono::duration<float, std::milli>>("TIME_consistencyCheck");
86 StatusCode sc = StatusCode::SUCCESS;
87
88 // ---------------------------------------------------------------------------
89 // Get information from TOBs
90 // ---------------------------------------------------------------------------
91 std::ostringstream ssPassedThresholds; // ss for debug printouts, allocate before loop
92 std::unordered_map<TrigCompositeUtils::DecisionID, size_t> tobThresholdCounts; // {thrName hash, nTOBs passing thr}
93 std::unordered_set<std::string> overflowThresholdTypes; // threshold types for which overflow was detected
94 // Loop over threshold types
95 for (const auto& [thrType, decisionsKey] : m_thresholdToDecisionMap.value()) {
96 SG::ReadHandle<TrigCompositeUtils::DecisionContainer> decisions{decisionsKey, ctx.getExtension<Atlas::ExtendedEventContext>().proxy()->name()};
97 if (!decisions.isValid()) {
98 ATH_MSG_DEBUG("No DecisionContainer " << decisionsKey << " for threshold type " << thrType << " found in this event");
99 continue;
100 }
101 size_t idec{0};
102 // Loop over TOBs of the given threshold type (one decision = one TOB)
103
104 for (const TrigCompositeUtils::Decision* d : *decisions) {
105 std::vector<TrigCompositeUtils::DecisionID> passedThresholdIDs;
106 static const std::string thresholdsStr{"thresholds"};
107 const bool hasDetail = d->getDetail(thresholdsStr, passedThresholdIDs);
108 if (!hasDetail) {
109 ATH_MSG_ERROR("Detail \"thresholds\" missing from Decision in the container " << decisionsKey);
110 return StatusCode::FAILURE;
111 }
112 bool overflow{false};
113 if (d->hasDetail<char>("overflow")) {
114 overflow = static_cast<bool>(d->getDetail<char>("overflow"));
115 }
116 if (doDebug()) {ssPassedThresholds.str("");}
117 for (const TrigCompositeUtils::DecisionID thrNameHash : passedThresholdIDs) {
118 if (overflow) {
119 overflowThresholdTypes.insert(m_thresholdTypes.at(thrNameHash));
120 }
121 if (tobThresholdCounts.find(thrNameHash)==tobThresholdCounts.end()) {
122 tobThresholdCounts[thrNameHash] = 1;
123 }
124 else {
125 tobThresholdCounts[thrNameHash] += 1;
126 }
127 if (doDebug()) {
128 if (!ssPassedThresholds.str().empty()) ssPassedThresholds << ", ";
129 ssPassedThresholds << m_thresholdNames.at(thrNameHash);
130 }
131 }
132 if (doDebug()) {
133 namespace RoIDefs = HLTSeedingRoIToolDefs;
134 std::optional<RoIDefs::AnyRoIPointer> optTob = RoIDefs::roiFromLink(*d, TrigCompositeUtils::initialRecRoIString());
135 if (optTob.has_value()) {
136 const RoIDefs::AnyRoIPointer& tob = optTob.value();
137 ATH_MSG_DEBUG("Decision " << decisionsKey << "[" << idec << "] corresponds to TOB with word / et / eta / phi = 0x"
138 << MSG::hex << RoIDefs::roiWord(tob) << MSG::dec << " / " << RoIDefs::roiTobEt(tob)
139 << " / " << RoIDefs::roiEta(tob) << " / " << RoIDefs::roiPhi(tob));
140 } else {
141 ATH_MSG_DEBUG("Decision " << decisionsKey << "[" << idec << "] TOB type not supported by template code for "
142 << "debug printout of word / et / eta / phi");
143 }
144 ATH_MSG_DEBUG("Decision " << decisionsKey << "[" << idec << "] TOB passes " << passedThresholdIDs.size()
145 << " thresholds: " << ssPassedThresholds.str());
146 ++idec;
147 }
148 }
149 }
150
151 // ---------------------------------------------------------------------------
152 // Get information from CTP
153 // ---------------------------------------------------------------------------
154 std::unordered_map<TrigCompositeUtils::DecisionID, size_t> ctpThresholdCounts; // {thrName hash, max CTP multiplicity}
155 // Loop over HLT chains activated by CTP
156 for (const TrigCompositeUtils::DecisionID chainID : l1SeededChains) {
157 const auto it = m_thresholdMap.find(chainID);
158 if (it==m_thresholdMap.end()) {
159 ATH_MSG_DEBUG("Cannot monitor chain " << chainID << " -> " << HLT::Identifier(chainID).name() << ", skipping");
160 continue;
161 }
162 const MultiplicityInfo& thresholds = it->second;
163 // Loop over all thresholds required to activate this chain
164 for (const auto& [thrNameHash, multiplicity] : thresholds) {
165 if (ctpThresholdCounts.find(thrNameHash)==ctpThresholdCounts.end()) {
166 ctpThresholdCounts[thrNameHash] = multiplicity;
167 }
168 else if (multiplicity > ctpThresholdCounts[thrNameHash]) {
169 ctpThresholdCounts[thrNameHash] = multiplicity;
170 }
171 }
172 }
173
174 // ---------------------------------------------------------------------------
175 // Perform the consistency check
176 // ---------------------------------------------------------------------------
177 for (const auto& [thrNameHash, ctpCount] : ctpThresholdCounts) {
178 size_t tobCount{0};
179 bool tooFew{false};
180 const auto it = m_thresholdNames.find(thrNameHash);
181 if (it==m_thresholdNames.end()) {
182 ATH_MSG_ERROR("Threshold with hash " << thrNameHash << " not found in the hash->name map");
183 return StatusCode::FAILURE;
184 }
185 const std::string& thrName = it->second;
186 const std::string& thrType = m_thresholdTypes.at(thrNameHash);
187
188 // Check if overflow was detected
189 bool overflow{overflowThresholdTypes.find(thrType)!=overflowThresholdTypes.end()};
190 if (overflow) {
191 ATH_MSG_DEBUG("Threshold " << thrName << " accepted by the CTP with multiplicity " << ctpCount
192 << " is flagged as overflow and thus may be missing TOBs");
193 }
194
195 // True if no TOBs found for this threshold but CTP accepted
196 bool missing = (tobThresholdCounts.find(thrNameHash)==tobThresholdCounts.end());
197
198 if (missing) {
199 if (overflow || !m_errorOnMissingTOB) {
200 ATH_MSG_WARNING("No TOBs found passing the threshold " << thrName
201 << " accepted by the CTP with multiplicity " << ctpCount
202 << (overflow ? ", likely due to overflow" : ""));
203
204 } else {
205 ATH_MSG_ERROR("No TOBs found passing the threshold " << thrName
206 << " accepted by the CTP with multiplicity " << ctpCount);
207 sc = StatusCode::FAILURE;
208 }
209 }
210 else {
211 tobCount = tobThresholdCounts.at(thrNameHash);
212 // True if fewer TOBs found for this threshold than the multiplicity accepted by CTP
213 tooFew = (tobCount < ctpCount);
214 }
215
216 if (tooFew) {
217 if (overflow || !m_errorOnMissingTOB) {
218 ATH_MSG_WARNING("Too few (" << tobCount << ") TOBs found passing the threshold " << thrName
219 << " accepted by the CTP with multiplicity " << ctpCount
220 << (overflow ? ", likely due to overflow" : ""));
221 } else {
222 ATH_MSG_ERROR("Too few (" << tobCount << ") TOBs found passing the threshold " << thrName
223 << " accepted by the CTP with multiplicity " << ctpCount);
224 sc = StatusCode::FAILURE;
225 }
226 }
227
228 if (missing || tooFew) {
229 // Fill the histograms
230 Monitored::Scalar monMissingTOBsIncludingOverflow{"MissingTOBsIncludingOverflow", thrName};
231 if (overflow) {
232 Monitored::Group{m_monTool, monMissingTOBsIncludingOverflow};
233 }
234 else {
235 Monitored::Scalar monMissingTOBs{"MissingTOBs", thrName};
236 Monitored::Group{m_monTool, monMissingTOBs, monMissingTOBsIncludingOverflow};
237 }
238 }
239 else {
240 ATH_MSG_DEBUG("Check passed. Found " << tobCount << " TOBs passing the threshold " << thrName
241 << " accepted by the CTP with multiplicity " << ctpCount);
242 }
243 }
244
245 // Fill extra histograms for debugging
246 for (const TrigCompositeUtils::DecisionID thrNameHash : m_monitoredThresholds) {
247 const auto ctpIt = ctpThresholdCounts.find(thrNameHash);
248 size_t ctpCount = (ctpIt==ctpThresholdCounts.cend()) ? 0 : ctpIt->second;
249 const auto tobIt = tobThresholdCounts.find(thrNameHash);
250 size_t tobCount = (tobIt==tobThresholdCounts.cend()) ? 0 : tobIt->second;
251 int tobMinusCtpCount = static_cast<int>(ctpCount) - static_cast<int>(tobCount); // negative when TOBs are missing
252 const std::string& thrName = m_thresholdNames.at(thrNameHash);
253
254 Monitored::Scalar monThrName{"ThrName", thrName};
255 Monitored::Scalar monCtpCount{"CtpCount", ctpCount};
256 Monitored::Scalar monTobCount{"TobCount", tobCount};
257 Monitored::Scalar monTobMinusCtpCount{"TobMinusCtpCount", tobMinusCtpCount};
258 Monitored::Group{m_monTool, monThrName, monCtpCount, monTobCount, monTobMinusCtpCount};
259 }
260
261 Monitored::Group(m_monTool, monTimer);
262 return sc;
263}
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
#define ATH_MSG_WARNING(x,...)
static Double_t sc
std::unordered_map< TrigCompositeUtils::DecisionID, MultiplicityInfo > m_thresholdMap
Gaudi::Property< std::map< std::string, std::string > > m_thresholdToDecisionMap
std::set< TrigCompositeUtils::DecisionID > m_monitoredThresholds
std::unordered_map< TrigCompositeUtils::DecisionID, std::string > m_thresholdTypes
std::unordered_map< TrigCompositeUtils::DecisionID, unsigned int > MultiplicityInfo
std::unordered_map< TrigCompositeUtils::DecisionID, std::string > m_thresholdNames
ToolHandle< GenericMonitoringTool > m_monTool
bool doDebug() const
Shorter alias for a check whether we are in DEBUG logging mode.
Gaudi::Property< bool > m_errorOnMissingTOB
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int DecisionID
xAOD::TrigComposite Decision
const std::string & initialRecRoIString()

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ doDebug()

bool L1DataConsistencyChecker::doDebug ( ) const
inlineprivate

Shorter alias for a check whether we are in DEBUG logging mode.

Definition at line 68 of file L1DataConsistencyChecker.h.

68{return msgLevel(MSG::DEBUG);}

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ initialize()

StatusCode L1DataConsistencyChecker::initialize ( )
overridevirtual

Definition at line 26 of file L1DataConsistencyChecker.cxx.

26 {
27 ATH_CHECK(m_hltMenuKey.initialize());
28 ATH_CHECK(m_l1MenuKey.initialize());
29 if (!m_monTool.empty()) {
30 ATH_CHECK(m_monTool.retrieve());
31 }
32 return StatusCode::SUCCESS;
33}
#define ATH_CHECK
Evaluate an expression and check for errors.
SG::ReadHandleKey< TrigConf::HLTMenu > m_hltMenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_l1MenuKey

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ start()

StatusCode L1DataConsistencyChecker::start ( )
overridevirtual

Definition at line 36 of file L1DataConsistencyChecker.cxx.

36 {
37 SG::ReadHandle<TrigConf::L1Menu> l1Menu{m_l1MenuKey};
38 ATH_CHECK(l1Menu.isValid());
39 SG::ReadHandle<TrigConf::HLTMenu> hltMenu{m_hltMenuKey};
40 ATH_CHECK(hltMenu.isValid());
41
42 TrigConf::LogicParser logicParser;
43
44 m_thresholdMap.clear();
45 m_thresholdNames.clear();
46 m_thresholdTypes.clear();
48
49 for (const TrigConf::Chain& chain : *hltMenu) {
50 try {
51 // For chains with multiple seeds, we cannot determine in this tool which seed passed and which didn't,
52 // so we need to skip these kinds of chains
53 if (chain.l1item().empty() || chain.l1item().find(',')!=std::string::npos) {continue;}
54
55 TrigConf::L1Item item = l1Menu->item(chain.l1item());
56 std::map<std::string,unsigned int> thresholds = logicParser.parse(item.definition())->elementsCount();
57 for (const auto& [thrName, multiplicity] : thresholds) {
58 const TrigConf::L1Threshold& thr = l1Menu->threshold(thrName);
59 // Skip thresholds for which there are no TOBs, e.g. randoms
60 if (vectorContains(m_excludedThresholdTypes.value(), thr.type())) {
61 continue;
62 }
63 TrigCompositeUtils::DecisionID thrNameHash = HLT::Identifier(thr.name());
64 m_thresholdMap[chain.namehash()].insert({thrNameHash, multiplicity});
65 m_monitoredThresholds.insert(thrNameHash);
66 }
67 }
68 catch (const std::exception& ex) {
69 ATH_MSG_ERROR("Exception caught while parsing L1 thresholds for chain " << chain.name() << ": " << ex.what());
70 return StatusCode::FAILURE;
71 }
72 }
73
74 for (const std::shared_ptr<TrigConf::L1Threshold>& thr : l1Menu->thresholds()) {
75 TrigCompositeUtils::DecisionID thrNameHash = HLT::Identifier(thr->name());
76 m_thresholdNames[thrNameHash] = thr->name();
77 m_thresholdTypes[thrNameHash] = thr->type();
78 }
79
80 return StatusCode::SUCCESS;
81}
Gaudi::Property< std::vector< std::string > > m_excludedThresholdTypes
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const std::string & definition() const
Accessor to the item definition.
Definition L1Item.cxx:40

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, and AthCheckedComponent<::AthAlgTool >.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_errorOnMissingTOB

Gaudi::Property<bool> L1DataConsistencyChecker::m_errorOnMissingTOB
private
Initial value:
{
this, "ErrorOnMissingTOB", true, "Set to true to enable strict-mode which will generate an ERROR on missing (non-overflow) TOB events in HLT-seeding from L1"}

Definition at line 45 of file L1DataConsistencyChecker.h.

45 {
46 this, "ErrorOnMissingTOB", true, "Set to true to enable strict-mode which will generate an ERROR on missing (non-overflow) TOB events in HLT-seeding from L1"};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_excludedThresholdTypes

Gaudi::Property<std::vector<std::string> > L1DataConsistencyChecker::m_excludedThresholdTypes
private
Initial value:
{
this, "ExcludedThresholdTypes", {
"internal",
"TOPO", "R2TOPO", "ZBTopo", "LArSat",
"TE", "XE", "XS", "jTE", "jXE", "gTE", "gXE",
"ALFA", "BCM", "BCMCMB", "BPTX", "CALREQ", "LUCID", "MBTS", "MBTSSI", "NIM", "ZDC", "NSWMon"
},
"L1 threshold types which are not subject to the consistency check "
"(because either there are no corresponding TOBs or HLT doesn't use them)"}

Definition at line 51 of file L1DataConsistencyChecker.h.

51 {
52 this, "ExcludedThresholdTypes", {
53 "internal", // internal to CTP (randoms)
54 "TOPO", "R2TOPO", "ZBTopo", "LArSat", // topo (data not used in HLTSeeding)
55 "TE", "XE", "XS", "jTE", "jXE", "gTE", "gXE", // energy (data not used in HLTSeeding)
56 "ALFA", "BCM", "BCMCMB", "BPTX", "CALREQ", "LUCID", "MBTS", "MBTSSI", "NIM", "ZDC", "NSWMon" // direct signals from detectors to CTP (no TOB readout)
57 },
58 "L1 threshold types which are not subject to the consistency check "
59 "(because either there are no corresponding TOBs or HLT doesn't use them)"};

◆ m_hltMenuKey

SG::ReadHandleKey<TrigConf::HLTMenu> L1DataConsistencyChecker::m_hltMenuKey
private
Initial value:
{
this, "HLTMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu"}

Definition at line 37 of file L1DataConsistencyChecker.h.

37 {
38 this, "HLTMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu"};

◆ m_l1MenuKey

SG::ReadHandleKey<TrigConf::L1Menu> L1DataConsistencyChecker::m_l1MenuKey
private
Initial value:
{
this, "L1Menu", "DetectorStore+L1TriggerMenu", "L1 Menu"}

Definition at line 39 of file L1DataConsistencyChecker.h.

39 {
40 this, "L1Menu", "DetectorStore+L1TriggerMenu", "L1 Menu"};

◆ m_monitoredThresholds

std::set<TrigCompositeUtils::DecisionID> L1DataConsistencyChecker::m_monitoredThresholds
private

Definition at line 65 of file L1DataConsistencyChecker.h.

◆ m_monTool

ToolHandle<GenericMonitoringTool> L1DataConsistencyChecker::m_monTool
private
Initial value:
{
this, "MonTool", "", "Monitoring tool"}

Definition at line 42 of file L1DataConsistencyChecker.h.

42 {
43 this, "MonTool", "", "Monitoring tool"};

◆ m_thresholdMap

std::unordered_map<TrigCompositeUtils::DecisionID, MultiplicityInfo> L1DataConsistencyChecker::m_thresholdMap
private

Definition at line 62 of file L1DataConsistencyChecker.h.

◆ m_thresholdNames

std::unordered_map<TrigCompositeUtils::DecisionID, std::string> L1DataConsistencyChecker::m_thresholdNames
private

Definition at line 63 of file L1DataConsistencyChecker.h.

◆ m_thresholdToDecisionMap

Gaudi::Property<std::map<std::string,std::string> > L1DataConsistencyChecker::m_thresholdToDecisionMap
private
Initial value:
{
this, "ThresholdToDecisionMap", {}, "Map between L1 threshold type and the corresponding DecisionContainer name"}

Definition at line 48 of file L1DataConsistencyChecker.h.

48 {
49 this, "ThresholdToDecisionMap", {}, "Map between L1 threshold type and the corresponding DecisionContainer name"};

◆ m_thresholdTypes

std::unordered_map<TrigCompositeUtils::DecisionID, std::string> L1DataConsistencyChecker::m_thresholdTypes
private

Definition at line 64 of file L1DataConsistencyChecker.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: