ATLAS Offline Software
TrigConfData/TrigConfData/HLTChain.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCONFDATA_HLTCHAIN_H
6 #define TRIGCONFDATA_HLTCHAIN_H
7 
9 
10 namespace TrigConf {
11 
18  class Chain final : public DataStructure {
19  public:
20 
22  Chain();
23 
28  Chain(const std::string & name, const boost::property_tree::ptree & data);
29 
31  virtual ~Chain() override = default;
32 
33  virtual std::string className() const override;
34 
39  unsigned int counter() const;
40 
45  unsigned int namehash() const;
46 
48  const std::string & l1item() const;
49 
51  std::vector<std::string> l1thresholds() const;
52 
54  std::vector<size_t> legMultiplicities() const;
55 
57  std::vector<std::string> streams() const;
58 
60  std::vector<std::string> groups() const;
61 
63  std::vector<std::string> sequencers() const;
64 
65  private:
66  void update() override;
67  void load();
68  };
69 
70 }
71 
72 #endif
TrigConf::DataStructure::data
const ptree & data() const
Access to the underlying data, if needed.
Definition: DataStructure.h:83
TrigConf::Chain::l1thresholds
std::vector< std::string > l1thresholds() const
Accessor to the l1 thresholds.
Definition: TrigConfData/src/HLTChain.cxx:74
TrigConf::Chain::streams
std::vector< std::string > streams() const
Accessor to the connected output streams.
Definition: TrigConfData/src/HLTChain.cxx:90
TrigConf::Chain::update
void update() override
Update the internal data after modification of the data object.
Definition: TrigConfData/src/HLTChain.cxx:23
TrigConf::Chain::className
virtual std::string className() const override
A string that is the name of the class.
Definition: TrigConfData/src/HLTChain.cxx:38
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::Chain::groups
std::vector< std::string > groups() const
Accessor to the groups this chain belongs to.
Definition: TrigConfData/src/HLTChain.cxx:106
TrigConf::Chain::load
void load()
Definition: TrigConfData/src/HLTChain.cxx:29
TrigConf::Chain::~Chain
virtual ~Chain() override=default
Destructor.
TrigConf::Chain::legMultiplicities
std::vector< size_t > legMultiplicities() const
Accessor to the chains multiplicitiy requirements for each of its legs.
Definition: TrigConfData/src/HLTChain.cxx:61
TrigConf::name
Definition: HLTChainList.h:35
TrigConf::Chain::sequencers
std::vector< std::string > sequencers() const
Accessor to the sequencers this chain belongs to.
Definition: TrigConfData/src/HLTChain.cxx:126
ptree
boost::property_tree::ptree ptree
Definition: JsonFileLoader.cxx:16
TrigConf::DataStructure
Base class for Trigger configuration data and wrapper around underlying representation.
Definition: DataStructure.h:37
TrigConf::Chain::counter
unsigned int counter() const
Accessor to the chain counter.
Definition: TrigConfData/src/HLTChain.cxx:44
TrigConf::Chain::Chain
Chain()
Constructor.
Definition: TrigConfData/src/HLTChain.cxx:7
TrigConf::Chain::namehash
unsigned int namehash() const
Accessor to the chain name hash.
Definition: TrigConfData/src/HLTChain.cxx:50
TrigConf::Chain::l1item
const std::string & l1item() const
Accessor to the seeding L1 item.
Definition: TrigConfData/src/HLTChain.cxx:56
TrigConf::Chain
HLT chain configuration.
Definition: TrigConfData/TrigConfData/HLTChain.h:18
DataStructure.h