ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConf::IsolationParam Class Reference

#include <IsolationParam.h>

Inheritance diagram for TrigConf::IsolationParam:
Collaboration diagram for TrigConf::IsolationParam:

Public Member Functions

 IsolationParam (const std::string &thrtype, const int isobit, int offset, int slope, int mincut, int upperlimit, int etamin, int etamax, int priority)
 IsolationParam ()
virtual ~IsolationParam () override=default
bool isDefined () const
const std::string & thrtype () const
int isobit () const
int offset () const
int slope () const
int mincut () const
int upperlimit () const
int etamin () const
int etamax () const
int priority () const
void setThrType (const std::string &p)
void setIsDefined (bool def=true)
void setIsobit (int p)
void setOffset (int p)
void setSlope (int p)
void setMincut (int p)
void setUpperlimit (int p)
void setEtamin (int p)
void setEtamax (int p)
void setPriority (int p)
virtual void print (const std::string &indent="", unsigned int detail=1) const override
virtual void writeXML (std::ostream &xmlfile, int indentLevel, int indentWidth) const
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

Protected Member Functions

std::ostream & indent (std::ostream &o, int lvl, int size) const

Private Attributes

std::string m_thrtype { "" }
bool m_isDefined { false }
int m_isobit { 0 }
int m_offset { 0 }
int m_slope { 0 }
int m_mincut { 0 }
int m_upperlimit { 0 }
int m_etamin { 0 }
int m_etamax { 0 }
int m_priority { 0 }
unsigned int m_Lvl1MasterId
unsigned int m_smk
unsigned int m_id
std::string m_name
unsigned int m_version
std::string m_comment

Detailed Description

Definition at line 16 of file IsolationParam.h.

Constructor & Destructor Documentation

◆ IsolationParam() [1/2]

IsolationParam::IsolationParam ( const std::string & thrtype,
const int isobit,
int offset,
int slope,
int mincut,
int upperlimit,
int etamin,
int etamax,
int priority )

Definition at line 17 of file IsolationParam.cxx.

23 :
25 m_isDefined(true),
34{}
const std::string & thrtype() const

◆ IsolationParam() [2/2]

TrigConf::IsolationParam::IsolationParam ( )
inline

Definition at line 24 of file IsolationParam.h.

24{};

◆ ~IsolationParam()

virtual TrigConf::IsolationParam::~IsolationParam ( )
overridevirtualdefault

Member Function Documentation

◆ __str__()

string TrigConfData::__str__ ( ) const
virtualinherited

Reimplemented in TrigConf::HLTChain, TrigConf::HLTPrescaleSet, TrigConf::HLTSequence, and TrigConf::TriggerItem.

Definition at line 50 of file TrigConfData.cxx.

50 {
51 stringstream s;
52 s << *this;
53 return s.str();
54}

◆ comment()

const std::string & TrigConf::TrigConfData::comment ( ) const
inlineinherited

Definition at line 23 of file TrigConfData.h.

23{return m_comment;}

◆ etamax()

int TrigConf::IsolationParam::etamax ( ) const
inline

Definition at line 38 of file IsolationParam.h.

38{ return m_etamax ;}

◆ etamin()

int TrigConf::IsolationParam::etamin ( ) const
inline

Definition at line 37 of file IsolationParam.h.

37{ return m_etamin ;}

◆ id()

unsigned int TrigConf::TrigConfData::id ( ) const
inlineinherited

Definition at line 21 of file TrigConfData.h.

21{return m_id;}

◆ indent()

std::ostream & TrigConfData::indent ( std::ostream & o,
int lvl,
int size ) const
protectedinherited

Definition at line 23 of file TrigConfData.cxx.

23 {
24 int width = lvl*size;
25 if(width==0) return o;
26 o << setw(lvl*size) << " ";
27 return o;
28}
const double width

◆ isDefined()

bool TrigConf::IsolationParam::isDefined ( ) const
inline

Definition at line 29 of file IsolationParam.h.

29{ return m_isDefined; }

◆ isobit()

int TrigConf::IsolationParam::isobit ( ) const
inline

Definition at line 32 of file IsolationParam.h.

32{ return m_isobit ;}

◆ lvl1MasterTableId()

unsigned int TrigConf::L1DataBaseclass::lvl1MasterTableId ( ) const
inlineinherited

Definition at line 30 of file L1DataBaseclass.h.

30{ return m_Lvl1MasterId; }

◆ mincut()

int TrigConf::IsolationParam::mincut ( ) const
inline

Definition at line 35 of file IsolationParam.h.

35{ return m_mincut ;}

◆ name()

const std::string & TrigConf::TrigConfData::name ( ) const
inlineinherited

Definition at line 22 of file TrigConfData.h.

22{return m_name;}

◆ offset()

int TrigConf::IsolationParam::offset ( ) const
inline

Definition at line 33 of file IsolationParam.h.

33{ return m_offset ;}

◆ print()

void IsolationParam::print ( const std::string & indent = "",
unsigned int detail = 1 ) const
overridevirtual

Implements TrigConf::TrigConfData.

Definition at line 39 of file IsolationParam.cxx.

40{
41 cout << indent << " IsolationParam:" << endl
42 << indent << " thrtype : " << m_thrtype << endl
43 << indent << " isobit : " << m_isobit << endl
44 << indent << " offset : " << m_offset << endl
45 << indent << " slope : " << m_slope << endl
46 << indent << " mincut : " << m_mincut << endl
47 << indent << " upperlimit : " << m_upperlimit << endl
48 << indent << " etamin : " << m_etamin << endl
49 << indent << " etamax : " << m_etamax << endl
50 << indent << " priority : " << m_priority << endl;
51}
std::ostream & indent(std::ostream &o, int lvl, int size) const

◆ printNameIdV()

void TrigConfData::printNameIdV ( const std::string & indent = "") const
inherited

Definition at line 31 of file TrigConfData.cxx.

31 {
32 cout << indent << name();
33 if(id()>0 || version()>0)
34 cout << " (id=" << id() << "/v=" << version() << ")";
35 cout << endl;
36 if(comment()!="")
37 cout << indent << "Comment: " << comment() << endl;
38}
unsigned int id() const
const std::string & name() const
const std::string & comment() const
unsigned int version() const

◆ priority()

int TrigConf::IsolationParam::priority ( ) const
inline

Definition at line 39 of file IsolationParam.h.

39{ return m_priority ;}

◆ setComment()

void TrigConf::TrigConfData::setComment ( const std::string & c)
inlineinherited

Definition at line 32 of file TrigConfData.h.

◆ setEtamax()

void TrigConf::IsolationParam::setEtamax ( int p)
inline

◆ setEtamin()

void TrigConf::IsolationParam::setEtamin ( int p)
inline

Definition at line 49 of file IsolationParam.h.

49{ m_etamin = p;}

◆ setId()

void TrigConf::TrigConfData::setId ( unsigned int id)
inlineinherited

Definition at line 29 of file TrigConfData.h.

29{ m_id=id; }

◆ setIsDefined()

void TrigConf::IsolationParam::setIsDefined ( bool def = true)
inline

Definition at line 43 of file IsolationParam.h.

43{ m_isDefined = def;}

◆ setIsobit()

void TrigConf::IsolationParam::setIsobit ( int p)
inline

Definition at line 44 of file IsolationParam.h.

44{ m_isobit = p;}

◆ setLvl1MasterTableId()

void TrigConf::L1DataBaseclass::setLvl1MasterTableId ( unsigned int id)
inlineinherited

Definition at line 31 of file L1DataBaseclass.h.

31{ m_Lvl1MasterId = id; }

◆ setMincut()

void TrigConf::IsolationParam::setMincut ( int p)
inline

Definition at line 47 of file IsolationParam.h.

47{ m_mincut = p;}

◆ setName()

void TrigConf::TrigConfData::setName ( const std::string & name)
inlineinherited

Definition at line 30 of file TrigConfData.h.

30{ m_name = name;}

◆ setOffset()

void TrigConf::IsolationParam::setOffset ( int p)
inline

Definition at line 45 of file IsolationParam.h.

45{ m_offset = p;}

◆ setPriority()

void TrigConf::IsolationParam::setPriority ( int p)
inline

Definition at line 51 of file IsolationParam.h.

51{ m_priority = p;}

◆ setSlope()

void TrigConf::IsolationParam::setSlope ( int p)
inline

Definition at line 46 of file IsolationParam.h.

46{ m_slope = p;}

◆ setSMK()

void TrigConf::TrigConfData::setSMK ( int id)
inlineinherited

Definition at line 28 of file TrigConfData.h.

28{m_smk=id;}

◆ setSuperMasterTableId()

void TrigConf::TrigConfData::setSuperMasterTableId ( int id)
inlineinherited

Definition at line 27 of file TrigConfData.h.

27{m_smk=id;}

◆ setThrType()

void TrigConf::IsolationParam::setThrType ( const std::string & p)
inline

Definition at line 42 of file IsolationParam.h.

42{ m_thrtype = p; }

◆ setUpperlimit()

void TrigConf::IsolationParam::setUpperlimit ( int p)
inline

Definition at line 48 of file IsolationParam.h.

48{ m_upperlimit = p;}

◆ setVersion()

void TrigConf::TrigConfData::setVersion ( unsigned int version)
inlineinherited

Definition at line 31 of file TrigConfData.h.

◆ slope()

int TrigConf::IsolationParam::slope ( ) const
inline

Definition at line 34 of file IsolationParam.h.

34{ return m_slope ;}

◆ smk()

unsigned int TrigConf::TrigConfData::smk ( ) const
inlineinherited

Definition at line 20 of file TrigConfData.h.

20{return m_smk;}

◆ superMasterTableId()

int TrigConf::TrigConfData::superMasterTableId ( ) const
inlineinherited

Definition at line 19 of file TrigConfData.h.

19{return (int)m_smk;}

◆ thrtype()

const std::string & TrigConf::IsolationParam::thrtype ( ) const
inline

Definition at line 31 of file IsolationParam.h.

31{ return m_thrtype ; }

◆ upperlimit()

int TrigConf::IsolationParam::upperlimit ( ) const
inline

Definition at line 36 of file IsolationParam.h.

36{ return m_upperlimit ;}

◆ version()

unsigned int TrigConf::TrigConfData::version ( ) const
inlineinherited

Definition at line 24 of file TrigConfData.h.

24{return m_version;}

◆ writeXML()

void IsolationParam::writeXML ( std::ostream & xmlfile,
int indentLevel,
int indentWidth ) const
virtual

Definition at line 54 of file IsolationParam.cxx.

55{
56 if(isDefined())
57 indent(xmlfile, indentLevel, indentWidth)
58 << "<Parametrization"
59 << " isobit=\"" << m_isobit << "\""
60 << " offset=\"" << m_offset << "\""
61 << " slope=\"" << m_slope << "\""
62 << " mincut=\"" << m_mincut << "\""
63 << " upperlimit=\"" << m_upperlimit << "\""
64 << " etamin=\"" << m_etamin << "\""
65 << " etamax=\"" << m_etamax << "\""
66 << " priority=\"" << m_priority << "\""
67 << "/>" << endl;
68}
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29

Member Data Documentation

◆ m_comment

std::string TrigConf::TrigConfData::m_comment
privateinherited

Definition at line 48 of file TrigConfData.h.

◆ m_etamax

int TrigConf::IsolationParam::m_etamax { 0 }
private

Definition at line 68 of file IsolationParam.h.

68{ 0 };

◆ m_etamin

int TrigConf::IsolationParam::m_etamin { 0 }
private

Definition at line 67 of file IsolationParam.h.

67{ 0 };

◆ m_id

unsigned int TrigConf::TrigConfData::m_id
privateinherited

Definition at line 45 of file TrigConfData.h.

◆ m_isDefined

bool TrigConf::IsolationParam::m_isDefined { false }
private

Definition at line 61 of file IsolationParam.h.

61{ false };

◆ m_isobit

int TrigConf::IsolationParam::m_isobit { 0 }
private

Definition at line 62 of file IsolationParam.h.

62{ 0 };

◆ m_Lvl1MasterId

unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId
privateinherited

Definition at line 35 of file L1DataBaseclass.h.

◆ m_mincut

int TrigConf::IsolationParam::m_mincut { 0 }
private

Definition at line 65 of file IsolationParam.h.

65{ 0 };

◆ m_name

std::string TrigConf::TrigConfData::m_name
privateinherited

Definition at line 46 of file TrigConfData.h.

◆ m_offset

int TrigConf::IsolationParam::m_offset { 0 }
private

Definition at line 63 of file IsolationParam.h.

63{ 0 };

◆ m_priority

int TrigConf::IsolationParam::m_priority { 0 }
private

Definition at line 69 of file IsolationParam.h.

69{ 0 };

◆ m_slope

int TrigConf::IsolationParam::m_slope { 0 }
private

Definition at line 64 of file IsolationParam.h.

64{ 0 };

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_thrtype

std::string TrigConf::IsolationParam::m_thrtype { "" }
private

Definition at line 60 of file IsolationParam.h.

60{ "" };

◆ m_upperlimit

int TrigConf::IsolationParam::m_upperlimit { 0 }
private

Definition at line 66 of file IsolationParam.h.

66{ 0 };

◆ m_version

unsigned int TrigConf::TrigConfData::m_version
privateinherited

Definition at line 47 of file TrigConfData.h.


The documentation for this class was generated from the following files: