|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCONFDATA_L1PRESCALESSET_H
6 #define TRIGCONFDATA_L1PRESCALESSET_H
45 return "L1PrescaleSet";
49 std::size_t
size()
const;
52 unsigned int psk()
const;
55 const L1Prescale &
prescale(
const std::string & itemName)
const;
56 const std::map<std::string, L1Prescale>&
prescales()
const;
59 virtual void clear()
override;
76 #ifndef TRIGCONF_STANDALONE
77 #ifndef XAOD_STANDALONE
82 #include "AthenaKernel/CondCont.h"
const ptree & data() const
Access to the underlying data, if needed.
virtual void update() override
Update the internal prescale map after modification of the data object.
unsigned int m_psk
the prescale key
L1PrescalesSet()
Constructor.
void setPSK(unsigned int psk)
Forward iterator to traverse the main components of the trigger configuration.
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
unsigned int psk() const
setter and getter for the L1 prescale key
double getPrescaleFromCut(uint32_t cut) const
prescale = 2*24/(cut+1.)
virtual void clear() override
Clearing the configuration data.
std::map< std::string, L1Prescale > m_prescales
virtual ~L1PrescalesSet() override=default
Destructor.
const L1Prescale & prescale(const std::string &itemName) const
virtual std::string className() const override
A string that is the name of the class.
Base class for Trigger configuration data and wrapper around underlying representation.
L1PrescalesSet(L1PrescalesSet &&)=default
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const std::map< std::string, L1Prescale > & prescales() const
CONDCONT_DEF(TrigConf::L1PrescalesSet, 124562173)
std::size_t size() const
number of L1 prescales
L1PrescalesSet(const L1PrescalesSet &)=default
boost::property_tree::ptree ptree
macros to associate a CLID to a type