|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TrigConf_PrescaleSet
8 #define TrigConf_PrescaleSet
44 const std::vector<int32_t>&
cuts()
const {
return m_Cuts; }
65 virtual void print(
const std::string&
indent=
"",
unsigned int detail=1)
const override;
67 void writeXML(std::ostream & xmlfile,
int indentLevel = 0,
int indentWidth = 2)
const;
std::vector< int32_t > m_Cuts
unsigned int partition() const
void setCuts(const std::vector< int32_t > &cuts)
virtual void print(const std::string &indent="", unsigned int detail=1) const override
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Writes the Prescale item to the XML file.
void setType(const std::string &type)
const std::vector< int64_t > & prescales_ctp() const
bool const RAWDATA *ch2 const
const std::vector< float > & prescales_float() const
Forward iterator to traverse the main components of the trigger configuration.
const std::vector< int > & prescales() const __attribute__((deprecated))
static const int32_t maxPrescaleCut
static double getPrescaleFromCut(int32_t cut)
prescale = 2*24/(cut+1.)
void setPartition(unsigned int partition)
void setNewPrescaleStyle(bool newstyle=true)
void setPrescale(unsigned int num, int64_t prescaleValue) __attribute__((deprecated))
Set the prescale NUM from the int64 value prescaleValue.
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
const std::vector< int32_t > & cuts() const
std::vector< int64_t > m_Prescales_ctp
static int32_t getCutFromPrescale(double prescale)
calculate cut value for hardware configuration cut = 2*24/prescale - 1
const std::string & type() const
void setCut(unsigned int num, int32_t cut)
bool newPrescaleStyle() const
std::vector< float > m_Prescales_float
std::vector< int > m_Prescales
virtual ~PrescaleSet() override=default
__attribute__((always_inline)) inline uint16_t TileCalibDrawerBase
std::ostream & indent(std::ostream &o, int lvl, int size) const
void setPrescales(const std::vector< int64_t > &) __attribute__((deprecated))
DEPRECATED.