#include <Random.h>
|
std::ostream & | indent (std::ostream &o, int lvl, int size) const |
|
◆ Random()
Definition at line 12 of file Random.cxx.
15 "Random2",
"Random3" },
16 m_cuts{ 0xffffff, 0xffffff, 0xffffff,
◆ ~Random()
virtual TrigConf::Random::~Random |
( |
| ) |
|
|
overridevirtualdefault |
◆ __str__()
string TrigConfData::__str__ |
( |
| ) |
const |
|
virtualinherited |
◆ comment()
const std::string& TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ cuts()
uint32_t TrigConf::Random::cuts |
( |
unsigned int |
idx | ) |
const |
|
inline |
◆ getRateFromCut()
float Random::getRateFromCut |
( |
unsigned int |
idx | ) |
const |
Definition at line 21 of file Random.cxx.
23 float ucut = abs(
cut);
24 return ( 0x1000000 / ( ucut + 1 ) );
◆ id()
unsigned int TrigConf::TrigConfData::id |
( |
| ) |
const |
|
inlineinherited |
◆ indent()
std::ostream & TrigConfData::indent |
( |
std::ostream & |
o, |
|
|
int |
lvl, |
|
|
int |
size |
|
) |
| const |
|
protectedinherited |
◆ lvl1MasterTableId()
unsigned int TrigConf::L1DataBaseclass::lvl1MasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ name()
const std::string& TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ print()
void Random::print |
( |
const std::string & |
indent = "" , |
|
|
unsigned int |
detail = 1 |
|
) |
| const |
|
overridevirtual |
◆ printNameIdV()
void TrigConfData::printNameIdV |
( |
const std::string & |
indent = "" | ) |
const |
|
inherited |
◆ rate1()
int TrigConf::Random::rate1 |
( |
| ) |
const |
|
inline |
◆ rate2()
int TrigConf::Random::rate2 |
( |
| ) |
const |
|
inline |
◆ rndmName()
const std::string& TrigConf::Random::rndmName |
( |
unsigned int |
idx | ) |
const |
|
inline |
◆ setComment()
void TrigConf::TrigConfData::setComment |
( |
const std::string & |
c | ) |
|
|
inlineinherited |
◆ setCut()
void TrigConf::Random::setCut |
( |
uint32_t |
idx, |
|
|
uint32_t |
cut |
|
) |
| |
|
inline |
◆ setId()
void TrigConf::TrigConfData::setId |
( |
unsigned int |
id | ) |
|
|
inlineinherited |
◆ setLvl1MasterTableId()
void TrigConf::L1DataBaseclass::setLvl1MasterTableId |
( |
unsigned int |
id | ) |
|
|
inlineinherited |
◆ setName()
void TrigConf::TrigConfData::setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ setRate1()
void TrigConf::Random::setRate1 |
( |
int |
rate | ) |
|
|
inline |
◆ setRate2()
void TrigConf::Random::setRate2 |
( |
int |
rate | ) |
|
|
inline |
◆ setRndmName()
void TrigConf::Random::setRndmName |
( |
uint32_t |
idx, |
|
|
const std::string & |
name |
|
) |
| |
|
inline |
◆ setSMK()
void TrigConf::TrigConfData::setSMK |
( |
int |
id | ) |
|
|
inlineinherited |
◆ setSuperMasterTableId()
void TrigConf::TrigConfData::setSuperMasterTableId |
( |
int |
id | ) |
|
|
inlineinherited |
◆ setVersion()
void TrigConf::TrigConfData::setVersion |
( |
unsigned int |
version | ) |
|
|
inlineinherited |
◆ smk()
unsigned int TrigConf::TrigConfData::smk |
( |
| ) |
const |
|
inlineinherited |
◆ superMasterTableId()
int TrigConf::TrigConfData::superMasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ version()
unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeXML()
void Random::writeXML |
( |
std::ostream & |
xmlfile, |
|
|
int |
indentLevel = 0 , |
|
|
int |
indentWidth = 2 |
|
) |
| const |
|
virtual |
Definition at line 49 of file Random.cxx.
50 if(
m_cuts[0]!=0xffffffff ||
55 indent(xmlfile,indentLevel, indentWidth)
57 <<
"name0=\""<<
m_names[0] <<
"\" cut0=\"" <<
m_cuts[0] <<
"\" "
58 <<
"name1=\""<<
m_names[1] <<
"\" cut1=\"" <<
m_cuts[1] <<
"\" "
59 <<
"name2=\""<<
m_names[2] <<
"\" cut2=\"" <<
m_cuts[2] <<
"\" "
60 <<
"name3=\""<<
m_names[3] <<
"\" cut3=\"" <<
m_cuts[3] <<
"\"/>" << endl;
62 indent(xmlfile,indentLevel, indentWidth)
63 <<
"<Random name=\"" <<
name() <<
"\" rate1=\"" <<
m_rate1
65 <<
"\" seed1=\"1\" seed2=\"1\"/>" << endl;
◆ m_comment
std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_cuts
uint32_t TrigConf::Random::m_cuts[4] |
|
private |
◆ m_id
unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_Lvl1MasterId
unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId |
|
privateinherited |
◆ m_name
std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_names
std::string TrigConf::Random::m_names[4] |
|
private |
◆ m_rate1
int TrigConf::Random::m_rate1 |
|
private |
◆ m_rate2
int TrigConf::Random::m_rate2 |
|
private |
◆ m_smk
unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_version
unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
The documentation for this class was generated from the following files: