ATLAS Offline Software
|
#include <PrescaleSet.h>
Public Member Functions | |
PrescaleSet () | |
virtual | ~PrescaleSet () override=default |
bool | isNull () const |
bool | newPrescaleStyle () const |
const std::string & | type () const |
unsigned int | partition () const |
const std::vector< int > & | prescales () const __attribute__((deprecated)) |
const std::vector< int64_t > & | prescales_ctp () const |
const std::vector< float > & | prescales_float () const |
const std::vector< int32_t > & | cuts () const |
void | setNewPrescaleStyle (bool newstyle=true) |
void | setType (const std::string &type) |
void | setPartition (unsigned int partition) |
void | resize (size_t size) |
void | setPrescales (const std::vector< int64_t > &) __attribute__((deprecated)) |
DEPRECATED. More... | |
void | setPrescales (const int64_t p[], unsigned int size) __attribute__((deprecated)) |
DEPRECATED. More... | |
void | setPrescales (const int p[], unsigned int size) __attribute__((deprecated)) |
Sets the prescales from a vector of int32. More... | |
void | setPrescale (unsigned int num, int64_t prescaleValue) __attribute__((deprecated)) |
Set the prescale NUM from the int64 value prescaleValue. More... | |
void | setPrescale (unsigned int num, int prescaleValue) __attribute__((deprecated)) |
Cast int prescaleValue to int64 and call setPrescale(int, int64). More... | |
void | setPrescale (unsigned int num, float prescaleValue) |
void | setCuts (const std::vector< int32_t > &cuts) |
void | setCut (unsigned int num, int32_t cut) |
void | reset () |
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. More... | |
unsigned int | lvl1MasterTableId () const |
void | setLvl1MasterTableId (unsigned int id) |
int | superMasterTableId () const |
unsigned int | smk () const |
unsigned int | id () const |
const std::string & | name () const |
const std::string & | comment () const |
unsigned int | version () const |
void | setSuperMasterTableId (int id) |
void | setSMK (int id) |
void | setId (unsigned int id) |
void | setName (const std::string &name) |
void | setVersion (unsigned int version) |
void | setComment (const std::string &c) |
void | printNameIdV (const std::string &indent="") const |
virtual std::string | __str__ () const |
Static Public Member Functions | |
static int32_t | getCutFromPrescale (double prescale) |
calculate cut value for hardware configuration cut = 2*24/prescale - 1 More... | |
static double | getPrescaleFromCut (int32_t cut) |
prescale = 2*24/(cut+1.) More... | |
Static Public Attributes | |
static const int32_t | maxPrescaleCut = 0xFFFFFF |
Protected Member Functions | |
std::ostream & | indent (std::ostream &o, int lvl, int size) const |
Private Attributes | |
bool | m_null |
bool | m_newPrescales |
std::string | m_Type |
unsigned int | m_Partition |
std::vector< int > | m_Prescales |
std::vector< int64_t > | m_Prescales_ctp |
std::vector< float > | m_Prescales_float |
std::vector< int32_t > | m_Cuts |
unsigned int | m_Lvl1MasterId |
unsigned int | m_smk |
unsigned int | m_id |
std::string | m_name |
unsigned int | m_version |
std::string | m_comment |
Definition at line 22 of file PrescaleSet.h.
TrigConf::PrescaleSet::PrescaleSet | ( | ) |
Definition at line 59 of file PrescaleSet.cxx.
|
overridevirtualdefault |
|
virtualinherited |
Reimplemented in TrigConf::HLTChain, TrigConf::HLTPrescaleSet, TrigConf::TriggerItem, and TrigConf::HLTSequence.
Definition at line 50 of file TrigConfData.cxx.
|
inlineinherited |
Definition at line 23 of file TrigConfData.h.
|
inline |
Definition at line 44 of file PrescaleSet.h.
|
static |
calculate cut value for hardware configuration cut = 2*24/prescale - 1
prescale = 1 --> C = 2*24-1 prescale = 2 --> C = 2*23-1 prescale = 10 --> C = 1677720 prescale = 1024 --> C = 2*14-1 prescale = 50 --> C = 335543 prescale = 500 --> C = 33553 prescale = 5000 --> C = 3354 prescale = 50000 --> C = 334
Definition at line 33 of file PrescaleSet.cxx.
|
static |
prescale = 2*24/(cut+1.)
cut = 2*24-1 --> prescale = 1 cut = 2*23-1 --> prescale = 2 cut = 1677720 --> prescale = 10.000002980233305 cut = 2*14-1 --> prescale = 1024 cut = 335543 --> prescale = 50.0000447035 cut = 33553 --> prescale = 500.006407582 cut = 3354 --> prescale = 5000.66020864
cut = 334 --> prescale = 50081.238806
Definition at line 52 of file PrescaleSet.cxx.
|
inlineinherited |
Definition at line 21 of file TrigConfData.h.
|
protectedinherited |
|
inline |
Definition at line 37 of file PrescaleSet.h.
|
inlineinherited |
Definition at line 30 of file L1DataBaseclass.h.
|
inlineinherited |
Definition at line 22 of file TrigConfData.h.
|
inline |
Definition at line 38 of file PrescaleSet.h.
|
inline |
Definition at line 40 of file PrescaleSet.h.
|
inline |
Definition at line 41 of file PrescaleSet.h.
|
inline |
Definition at line 42 of file PrescaleSet.h.
|
inline |
Definition at line 43 of file PrescaleSet.h.
|
overridevirtual |
|
inherited |
void TrigConf::PrescaleSet::reset | ( | ) |
Definition at line 71 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::resize | ( | size_t | size | ) |
Definition at line 80 of file PrescaleSet.cxx.
|
inlineinherited |
Definition at line 32 of file TrigConfData.h.
void TrigConf::PrescaleSet::setCut | ( | unsigned int | num, |
int32_t | cut | ||
) |
Definition at line 96 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::setCuts | ( | const std::vector< int32_t > & | cuts | ) |
Definition at line 89 of file PrescaleSet.cxx.
|
inlineinherited |
Definition at line 29 of file TrigConfData.h.
|
inlineinherited |
Definition at line 31 of file L1DataBaseclass.h.
|
inlineinherited |
Definition at line 30 of file TrigConfData.h.
|
inline |
Definition at line 47 of file PrescaleSet.h.
|
inline |
Definition at line 49 of file PrescaleSet.h.
void TrigConf::PrescaleSet::setPrescale | ( | unsigned int | num, |
float | prescaleValue | ||
) |
Definition at line 187 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::setPrescale | ( | unsigned int | num, |
int | prescaleValue | ||
) |
Cast int prescaleValue to int64 and call setPrescale(int, int64).
Definition at line 178 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::setPrescale | ( | unsigned int | num, |
int64_t | prescaleValue | ||
) |
Set the prescale NUM from the int64 value prescaleValue.
DEPRECATED
Definition at line 166 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::setPrescales | ( | const int | p[], |
unsigned int | size | ||
) |
Sets the prescales from a vector of int32.
DEPRECATED
Definition at line 149 of file PrescaleSet.cxx.
void TrigConf::PrescaleSet::setPrescales | ( | const int64_t | p[], |
unsigned int | size | ||
) |
void TrigConf::PrescaleSet::setPrescales | ( | const std::vector< int64_t > & | prescales | ) |
|
inlineinherited |
Definition at line 28 of file TrigConfData.h.
|
inlineinherited |
Definition at line 27 of file TrigConfData.h.
|
inline |
Definition at line 48 of file PrescaleSet.h.
|
inlineinherited |
Definition at line 31 of file TrigConfData.h.
|
inlineinherited |
Definition at line 20 of file TrigConfData.h.
|
inlineinherited |
Definition at line 19 of file TrigConfData.h.
|
inline |
Definition at line 39 of file PrescaleSet.h.
|
inlineinherited |
Definition at line 24 of file TrigConfData.h.
void TrigConf::PrescaleSet::writeXML | ( | std::ostream & | xmlfile, |
int | indentLevel = 0 , |
||
int | indentWidth = 2 |
||
) | const |
Writes the Prescale item to the XML file.
Definition at line 213 of file PrescaleSet.cxx.
|
privateinherited |
Definition at line 48 of file TrigConfData.h.
|
private |
Definition at line 79 of file PrescaleSet.h.
|
privateinherited |
Definition at line 45 of file TrigConfData.h.
|
privateinherited |
Definition at line 35 of file L1DataBaseclass.h.
|
privateinherited |
Definition at line 46 of file TrigConfData.h.
|
private |
Definition at line 72 of file PrescaleSet.h.
|
private |
Definition at line 70 of file PrescaleSet.h.
|
private |
Definition at line 75 of file PrescaleSet.h.
|
private |
Definition at line 76 of file PrescaleSet.h.
|
private |
Definition at line 77 of file PrescaleSet.h.
|
private |
Definition at line 78 of file PrescaleSet.h.
|
privateinherited |
Definition at line 44 of file TrigConfData.h.
|
private |
Definition at line 74 of file PrescaleSet.h.
|
privateinherited |
Definition at line 47 of file TrigConfData.h.
|
static |
Definition at line 27 of file PrescaleSet.h.