|
ATLAS Offline Software
|
#include <TriggerThreshold.h>
|
std::ostream & | indent (std::ostream &o, int lvl, int size) const |
|
Definition at line 20 of file TriggerThreshold.h.
◆ TriggerThreshold() [1/2]
TrigConf::TriggerThreshold::TriggerThreshold |
( |
| ) |
|
◆ TriggerThreshold() [2/2]
Definition at line 26 of file TriggerThreshold.cxx.
46 for(TriggerThresholdValue *thrV : thr.thresholdValueVector())
◆ ~TriggerThreshold()
TrigConf::TriggerThreshold::~TriggerThreshold |
( |
| ) |
|
|
overridevirtual |
◆ __str__()
string TrigConfData::__str__ |
( |
| ) |
const |
|
virtualinherited |
◆ active()
bool TrigConf::TriggerThreshold::active |
( |
| ) |
const |
|
inline |
◆ addThresholdValue() [1/2]
◆ addThresholdValue() [2/2]
◆ bcDelay()
int TrigConf::TriggerThreshold::bcDelay |
( |
| ) |
const |
|
inline |
◆ bitnum()
unsigned int TrigConf::TriggerThreshold::bitnum |
( |
| ) |
const |
|
inline |
◆ cableConnector()
const std::string& TrigConf::TriggerThreshold::cableConnector |
( |
| ) |
const |
|
inline |
◆ cableCtpin()
const std::string& TrigConf::TriggerThreshold::cableCtpin |
( |
| ) |
const |
|
inline |
◆ cableEnd()
int TrigConf::TriggerThreshold::cableEnd |
( |
| ) |
const |
|
inline |
◆ cableName()
const std::string& TrigConf::TriggerThreshold::cableName |
( |
| ) |
const |
|
inline |
◆ cableStart()
int TrigConf::TriggerThreshold::cableStart |
( |
| ) |
const |
|
inline |
◆ clearThresholdValues()
void TrigConf::TriggerThreshold::clearThresholdValues |
( |
| ) |
|
◆ clock()
unsigned int TrigConf::TriggerThreshold::clock |
( |
| ) |
const |
|
inline |
◆ comment()
const std::string& TrigConf::TrigConfData::comment |
( |
| ) |
const |
|
inlineinherited |
◆ createThresholdValue()
Definition at line 133 of file TriggerThreshold.cxx.
134 TriggerThresholdValue* ttv = 0;
135 if (
type == L1DataDef::muonType()) {
136 ttv =
new MuonThresholdValue();
137 }
else if (
type == L1DataDef::emType() ||
138 type == L1DataDef::tauType()) {
139 ttv =
new ClusterThresholdValue();
141 type == L1DataDef::jbType() ||
142 type == L1DataDef::jfType()) {
143 ttv =
new JetThresholdValue();
144 }
else if (
type == L1DataDef::xeType() ||
145 type == L1DataDef::jeType() ||
146 type == L1DataDef::teType()) {
147 ttv =
new EtThresholdValue();
148 }
else if (
type== L1DataDef::xsType() ) {
149 ttv =
new XsThresholdValue();
153 type == L1DataDef::bptxType() ) {
154 ttv =
new NimThresholdValue();
156 cout <<
"TriggerThreshold::createThresholdValue: ERROR Unknown trigger value type: " <<
type << endl;
157 throw std::runtime_error(
"TriggerThreshold::createThresholdValue: Unknown trigger value type.");
◆ id()
unsigned int TrigConf::TrigConfData::id |
( |
| ) |
const |
|
inlineinherited |
◆ indent()
std::ostream & TrigConfData::indent |
( |
std::ostream & |
o, |
|
|
int |
lvl, |
|
|
int |
size |
|
) |
| const |
|
protectedinherited |
◆ input()
const std::string& TrigConf::TriggerThreshold::input |
( |
| ) |
const |
|
inline |
◆ isInternal()
bool TrigConf::TriggerThreshold::isInternal |
( |
| ) |
const |
◆ lvl1MasterTableId()
unsigned int TrigConf::L1DataBaseclass::lvl1MasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ mapping()
int TrigConf::TriggerThreshold::mapping |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& TrigConf::TrigConfData::name |
( |
| ) |
const |
|
inlineinherited |
◆ numberofValues()
int TrigConf::TriggerThreshold::numberofValues |
( |
| ) |
const |
|
inline |
◆ print()
void TrigConf::TriggerThreshold::print |
( |
const std::string & |
indent = "" , |
|
|
unsigned int |
detail = 1 |
|
) |
| const |
|
overridevirtual |
◆ printNameIdV()
void TrigConfData::printNameIdV |
( |
const std::string & |
indent = "" | ) |
const |
|
inherited |
◆ setActive()
void TrigConf::TriggerThreshold::setActive |
( |
bool |
x | ) |
|
|
inline |
◆ setBCDelay()
void TrigConf::TriggerThreshold::setBCDelay |
( |
int |
bcdelay | ) |
|
|
inline |
◆ setBitnum()
void TrigConf::TriggerThreshold::setBitnum |
( |
unsigned int |
bitnum | ) |
|
|
inline |
◆ setCableConnector()
void TrigConf::TriggerThreshold::setCableConnector |
( |
const std::string & |
connector | ) |
|
|
inline |
◆ setCableCtpin()
void TrigConf::TriggerThreshold::setCableCtpin |
( |
const std::string & |
cablectpin | ) |
|
|
inline |
◆ setCableEnd()
void TrigConf::TriggerThreshold::setCableEnd |
( |
int |
cable | ) |
|
|
inline |
◆ setCableName()
void TrigConf::TriggerThreshold::setCableName |
( |
const std::string & |
cablename | ) |
|
|
inline |
◆ setCableStart()
void TrigConf::TriggerThreshold::setCableStart |
( |
int |
cable | ) |
|
|
inline |
◆ setClock()
void TrigConf::TriggerThreshold::setClock |
( |
unsigned int |
clock | ) |
|
|
inline |
◆ setComment()
void TrigConf::TrigConfData::setComment |
( |
const std::string & |
c | ) |
|
|
inlineinherited |
◆ setId()
void TrigConf::TrigConfData::setId |
( |
unsigned int |
id | ) |
|
|
inlineinherited |
◆ setInput()
void TrigConf::TriggerThreshold::setInput |
( |
const std::string & |
input | ) |
|
Definition at line 69 of file TriggerThreshold.cxx.
71 throw runtime_error(
"Threshold input must be either 'ctpin' or 'ctpcore' but value was '"+
input+
"'" );
◆ setLvl1MasterTableId()
void TrigConf::L1DataBaseclass::setLvl1MasterTableId |
( |
unsigned int |
id | ) |
|
|
inlineinherited |
◆ setMapping()
void TrigConf::TriggerThreshold::setMapping |
( |
int |
m | ) |
|
|
inline |
◆ setName()
void TrigConf::TrigConfData::setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ setSMK()
void TrigConf::TrigConfData::setSMK |
( |
int |
id | ) |
|
|
inlineinherited |
◆ setSuperMasterTableId()
void TrigConf::TrigConfData::setSuperMasterTableId |
( |
int |
id | ) |
|
|
inlineinherited |
◆ setThresholdNumber()
void TrigConf::TriggerThreshold::setThresholdNumber |
( |
int |
number | ) |
|
|
inline |
◆ setType() [1/2]
void TrigConf::TriggerThreshold::setType |
( |
const std::string & |
type | ) |
|
◆ setType() [2/2]
◆ setVersion()
void TrigConf::TrigConfData::setVersion |
( |
unsigned int |
version | ) |
|
|
inlineinherited |
◆ setZBSeedingThresholdMulti()
void TrigConf::TriggerThreshold::setZBSeedingThresholdMulti |
( |
int |
seedmulti | ) |
|
|
inline |
◆ setZBSeedingThresholdName()
void TrigConf::TriggerThreshold::setZBSeedingThresholdName |
( |
const std::string & |
seed | ) |
|
|
inline |
◆ smk()
unsigned int TrigConf::TrigConfData::smk |
( |
| ) |
const |
|
inlineinherited |
◆ superMasterTableId()
int TrigConf::TrigConfData::superMasterTableId |
( |
| ) |
const |
|
inlineinherited |
◆ thresholdNumber()
int TrigConf::TriggerThreshold::thresholdNumber |
( |
| ) |
const |
|
inline |
◆ thresholdValueVector()
◆ triggerThresholdValue()
Definition at line 82 of file TriggerThreshold.cxx.
84 TriggerThresholdValue* ttv=0;
91 if( thrV->contains(eta, phi) ) {
93 if( ttv != 0 && ttv->priority()==thrV->priority() ) {
94 cerr <<
"TriggerThreshold '" <<
name() <<
"' has overlapping values of same priority at eta = "
95 <<
eta <<
", phi = " <<
phi << endl;
96 throw runtime_error(
"Overlapping thresholdValues of the same priority" );
98 if( ttv==0 || ttv->priority()<thrV->priority() ) {
104 cerr <<
"TriggerThreshold::triggerThresholdValue: did not find threshold value at eta = "
105 <<
eta <<
", phi = " <<
phi <<
" for threshold " <<
name() << endl;
106 throw runtime_error(
"Did not find threshold value" );
◆ ttype()
◆ type()
const std::string& TrigConf::TriggerThreshold::type |
( |
| ) |
const |
|
inline |
◆ version()
unsigned int TrigConf::TrigConfData::version |
( |
| ) |
const |
|
inlineinherited |
◆ writeXML()
void TrigConf::TriggerThreshold::writeXML |
( |
std::ostream & |
xmlfile, |
|
|
int |
indentLevel = 0 , |
|
|
int |
indentWidth = 2 |
|
) |
| const |
|
virtual |
Definition at line 214 of file TriggerThreshold.cxx.
215 indent(xmlfile, indentLevel, indentWidth)
216 <<
"<TriggerThreshold active=\"" <<
m_Active
217 <<
"\" bitnum=\"" <<
bitnum()
218 <<
"\" id=\"" <<
id()
220 <<
"\" name=\"" <<
name()
221 <<
"\" type=\"" <<
type()
222 <<
"\" input=\"" <<
input();
232 sort(sortedThresholdValues.begin(),sortedThresholdValues.end(),compThrValues);
234 for(TriggerThresholdValue* thrV : sortedThresholdValues)
235 thrV->writeXML(xmlfile, indentLevel+1, indentWidth);
238 if(
input()==
"ctpin") {
239 indent(xmlfile, indentLevel+1, indentWidth)
241 indent(xmlfile, indentLevel+2, indentWidth)
244 indent(xmlfile, indentLevel+1, indentWidth)
246 indent(xmlfile, indentLevel+2, indentWidth)
249 indent(xmlfile, indentLevel+1, indentWidth) <<
"</Cable>" << endl;
252 indent(xmlfile, indentLevel, indentWidth)
253 <<
"</TriggerThreshold>" << endl;
◆ zbSeedingThresholdMulti()
int TrigConf::TriggerThreshold::zbSeedingThresholdMulti |
( |
| ) |
const |
|
inline |
◆ zbSeedingThresholdName()
const std::string& TrigConf::TriggerThreshold::zbSeedingThresholdName |
( |
| ) |
const |
|
inline |
◆ m_Active
bool TrigConf::TriggerThreshold::m_Active {true} |
|
protected |
◆ m_BCDelay
int TrigConf::TriggerThreshold::m_BCDelay {3564} |
|
protected |
◆ m_Bitnum
unsigned int TrigConf::TriggerThreshold::m_Bitnum {1} |
|
protected |
◆ m_CableConnector
std::string TrigConf::TriggerThreshold::m_CableConnector {""} |
|
protected |
◆ m_CableCtpin
std::string TrigConf::TriggerThreshold::m_CableCtpin {""} |
|
protected |
◆ m_CableEnd
int TrigConf::TriggerThreshold::m_CableEnd {0} |
|
protected |
◆ m_CableName
std::string TrigConf::TriggerThreshold::m_CableName {""} |
|
protected |
◆ m_CableStart
int TrigConf::TriggerThreshold::m_CableStart {0} |
|
protected |
◆ m_Clock
unsigned int TrigConf::TriggerThreshold::m_Clock {0} |
|
protected |
◆ m_comment
std::string TrigConf::TrigConfData::m_comment |
|
privateinherited |
◆ m_id
unsigned int TrigConf::TrigConfData::m_id |
|
privateinherited |
◆ m_Input
std::string TrigConf::TriggerThreshold::m_Input {"ctpin"} |
|
protected |
◆ m_Lvl1MasterId
unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId |
|
privateinherited |
◆ m_Mapping
int TrigConf::TriggerThreshold::m_Mapping {-1} |
|
protected |
◆ m_name
std::string TrigConf::TrigConfData::m_name |
|
privateinherited |
◆ m_smk
unsigned int TrigConf::TrigConfData::m_smk |
|
privateinherited |
◆ m_SType
std::string TrigConf::TriggerThreshold::m_SType {"dummy"} |
|
protected |
◆ m_ThresholdNumber
int TrigConf::TriggerThreshold::m_ThresholdNumber {-1} |
|
protected |
◆ m_TriggerThresholdValueVector
◆ m_type
◆ m_version
unsigned int TrigConf::TrigConfData::m_version |
|
privateinherited |
◆ m_ZBSeedingThresholdMulti
int TrigConf::TriggerThreshold::m_ZBSeedingThresholdMulti {0} |
|
protected |
◆ m_ZBSeedingThresholdName
std::string TrigConf::TriggerThreshold::m_ZBSeedingThresholdName {""} |
|
protected |
The documentation for this class was generated from the following files:
L1DataDef::TriggerType ttype() const
static TriggerTypeConfig & typeConfig(TriggerType tt)
const std::string & name() const
const std::string & comment() const
std::vector< TriggerThresholdValue * > m_TriggerThresholdValueVector
virtual void print(const std::string &indent="", unsigned int detail=1) const override
static std::string mbtssiType()
std::string m_ZBSeedingThresholdName
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
unsigned int m_Lvl1MasterId
static TriggerType stringAsType(const std::string &type)
const std::string & type() const
void addThresholdValue(TriggerThresholdValue *value)
std::string m_CableConnector
unsigned int version() const
const std::string & input() const
L1DataDef::TriggerType m_type
static std::string & typeAsString(TriggerType tt)
int numberofValues() const
void clearThresholdValues()
static std::string bcmcmbType()
unsigned int bitnum() const
int m_ZBSeedingThresholdMulti
static std::string calreqType()
std::ostream & indent(std::ostream &o, int lvl, int size) const
unsigned int clock() const
void printNameIdV(const std::string &indent="") const
static TriggerThresholdValue * createThresholdValue(const std::string &type)