|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCONFDATA_L1CONNECTOR_H
6 #define TRIGCONFDATA_L1CONNECTOR_H
65 virtual std::string
className()
const override;
68 std::size_t
size()
const;
70 std::string
type()
const;
87 const std::vector<TrigConf::TriggerLine> &
triggerLines(
unsigned int fpga = 0,
unsigned int clock = 0)
const;
89 bool hasLine(
const std::string & lineName )
const;
105 virtual void update()
override;
const ptree & data() const
Access to the underlying data, if needed.
unsigned int flatindex() const
ConnectorType connectorType() const
Accessor to the connector type.
L1 connectors configuration.
unsigned int endbit() const
const TrigConf::TriggerLine & triggerLine(const std::string &lineName) const
unsigned int startbit() const
std::vector< TrigConf::TriggerLine > m_triggerLines[2][2]
virtual ~L1Connector() override=default
Destructor.
virtual std::string className() const override
A string that is the name of the class.
L1Connector & operator=(const L1Connector &)=delete
TriggerLine(const std::string &name, unsigned int startbit, unsigned int nbits, unsigned int flatindex, unsigned int fpga=0, unsigned int clock=0, const std::string &connName="")
L1Connector()
Constructor.
Forward iterator to traverse the main components of the trigger configuration.
a TriggerLine entry describes the location of a threshold multiplicity on a cable (connector)
std::size_t maxFpga() const
virtual void update() override
Update the internal members.
const std::string & connName() const
std::map< std::string, TrigConf::TriggerLine * > m_lineByName
std::size_t maxClock() const
const std::string & name() const
L1Connector(L1Connector &&)=delete
unsigned int clock() const
bool hasLine(const std::string &lineName) const
const std::vector< TrigConf::TriggerLine > & triggerLines(unsigned int fpga=0, unsigned int clock=0) const
Accessor to the triggerlines on the connector.
Base class for Trigger configuration data and wrapper around underlying representation.
unsigned int nbits() const
unsigned int fpga() const
std::size_t size() const
Accessor to the number of trigger lines.
L1Connector(const L1Connector &)=delete
std::vector< std::string > triggerLineNames() const
names of all trigger lines
boost::property_tree::ptree ptree