|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "../counters/CounterAlgorithm.h"
13 const std::vector<TrigCompositeUtils::AlgToChainTool::ChainInfo>& seededChains =
data.seededChains();
14 for (
size_t i = 0;
i < seededChains.size(); ++
i){
16 if (!
data.chainToAlgMap().count(seededChains[
i].name))
continue;
18 for (
const size_t algIndex :
data.chainToAlgMap().at(seededChains[
i].name)){
22 if (slot !=
data.onlineSlot()) {
29 std::stringstream counterName;
30 counterName << seededChains[
i].name <<
"__" <<
algName;
35 return StatusCode::SUCCESS;
40 return std::make_unique<CounterAlgorithm>(
name,
this);
char data[hepevt_bytes_allocation_ATLAS]
virtual StatusCode newEvent(const CostData &data, size_t index, float weight=1.0)=0
Pure virtual interface called by Monitor to instruct this Counter to perform its analysis.
MonitorChainAlgorithm()=delete
Forbid default constructor.
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
CounterBase * getCounter(const std::string &name)
Retrieve counter by name.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class used to describe composite objects in the HLT.
static const std::string hash2string(HLTHash, const std::string &category="TE")
hash function translating identifiers into names (via internal dictionary)
Container which represents a time range and holds a collection of Monitors which monitor this range.
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
Caches and propagates event data to be used by monitoring algorithms.