![]() |
ATLAS Offline Software
|
#include <PrescaleSet.h>
Public Member Functions | |
| PrescaleSet ()=default | |
| virtual | ~PrescaleSet () override=default |
| bool | isNull () const |
| const std::string & | type () const |
| unsigned int | partition () const |
| const std::vector< int64_t > & | prescales_ctp () const |
| const std::vector< float > & | prescales_float () const |
| const std::vector< int32_t > & | cuts () const |
| void | setType (const std::string &type) |
| void | setPartition (unsigned int partition) |
| void | resize (size_t size) |
| 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. | |
| 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 | |
| static double | getPrescaleFromCut (int32_t cut) |
| prescale = 2*24/(cut+1.) | |
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 {true} |
| std::string | m_Type {"Physics"} |
| unsigned int | m_Partition {0} |
| 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 23 of file PrescaleSet.h.
|
default |
|
overridevirtualdefault |
|
virtualinherited |
Reimplemented in TrigConf::HLTChain, TrigConf::HLTPrescaleSet, TrigConf::HLTSequence, and TrigConf::TriggerItem.
Definition at line 50 of file TrigConfData.cxx.
|
inlineinherited |
Definition at line 23 of file TrigConfData.h.
|
inline |
Definition at line 41 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 30 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 49 of file PrescaleSet.cxx.
|
inlineinherited |
Definition at line 21 of file TrigConfData.h.
|
protectedinherited |
Definition at line 23 of file TrigConfData.cxx.
|
inline |
Definition at line 36 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 39 of file PrescaleSet.h.
|
inline |
Definition at line 40 of file PrescaleSet.h.
|
overridevirtual |
Implements TrigConf::TrigConfData.
Definition at line 94 of file PrescaleSet.cxx.
|
inherited |
Definition at line 31 of file TrigConfData.cxx.
| void TrigConf::PrescaleSet::reset | ( | ) |
Definition at line 55 of file PrescaleSet.cxx.
| void TrigConf::PrescaleSet::resize | ( | size_t | size | ) |
Definition at line 63 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 77 of file PrescaleSet.cxx.
| void TrigConf::PrescaleSet::setCuts | ( | const std::vector< int32_t > & | cuts | ) |
Definition at line 70 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 45 of file PrescaleSet.h.
| void TrigConf::PrescaleSet::setPrescale | ( | unsigned int | num, |
| float | prescaleValue ) |
Definition at line 85 of file PrescaleSet.cxx.
|
inlineinherited |
Definition at line 28 of file TrigConfData.h.
|
inlineinherited |
Definition at line 27 of file TrigConfData.h.
|
inline |
Definition at line 44 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 37 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 110 of file PrescaleSet.cxx.
|
privateinherited |
Definition at line 48 of file TrigConfData.h.
|
private |
Definition at line 67 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 61 of file PrescaleSet.h.
|
private |
Definition at line 64 of file PrescaleSet.h.
|
private |
Definition at line 65 of file PrescaleSet.h.
|
private |
Definition at line 66 of file PrescaleSet.h.
|
privateinherited |
Definition at line 44 of file TrigConfData.h.
|
private |
Definition at line 63 of file PrescaleSet.h.
|
privateinherited |
Definition at line 47 of file TrigConfData.h.
|
static |
Definition at line 26 of file PrescaleSet.h.