ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace TrigConf {
11
18 class Chain final : public DataStructure {
19 public:
20
22 Chain();
23
27 Chain(const boost::property_tree::ptree & data);
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
std::vector< std::string > l1thresholds() const
Accessor to the l1 thresholds.
virtual ~Chain() override=default
Destructor.
std::vector< std::string > sequencers() const
Accessor to the sequencers this chain belongs to.
std::vector< std::string > groups() const
Accessor to the groups this chain belongs to.
const std::string & l1item() const
Accessor to the seeding L1 item.
std::vector< size_t > legMultiplicities() const
Accessor to the chains multiplicitiy requirements for each of its legs.
void update() override
Update the internal data after modification of the data object.
unsigned int counter() const
Accessor to the chain counter.
virtual std::string className() const override
A string that is the name of the class.
std::vector< std::string > streams() const
Accessor to the connected output streams.
unsigned int namehash() const
Accessor to the chain name hash.
virtual const std::string & name() const final
const ptree & data() const
Access to the underlying data, if needed.
DataStructure()
Default constructor, leading to an uninitialized configuration object.
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22