ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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),
27  m_offset(offset),
28  m_slope(slope),
34 {}

◆ 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::TriggerItem, and TrigConf::HLTSequence.

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 }

◆ 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 }

◆ 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 }

◆ 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.

32 { m_comment = c;}

◆ setEtamax()

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

Definition at line 50 of file IsolationParam.h.

50 { m_etamax = p;}

◆ 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.

31 { m_version = version;}

◆ 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 }

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.

◆ m_etamin

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

Definition at line 67 of file IsolationParam.h.

◆ 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.

◆ m_isobit

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

Definition at line 62 of file IsolationParam.h.

◆ 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.

◆ 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.

◆ m_priority

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

Definition at line 69 of file IsolationParam.h.

◆ m_slope

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

Definition at line 64 of file IsolationParam.h.

◆ 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.

◆ m_upperlimit

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

Definition at line 66 of file IsolationParam.h.

◆ 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:
TrigConf::TrigConfData::m_id
unsigned int m_id
Definition: TrigConfData.h:45
TrigConf::IsolationParam::m_isobit
int m_isobit
Definition: IsolationParam.h:62
TrigConf::TrigConfData::m_name
std::string m_name
Definition: TrigConfData.h:46
TrigConf::TrigConfData::name
const std::string & name() const
Definition: TrigConfData.h:22
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrigConf::IsolationParam::offset
int offset() const
Definition: IsolationParam.h:33
TrigConf::TrigConfData::comment
const std::string & comment() const
Definition: TrigConfData.h:23
TrigConf::IsolationParam::m_etamax
int m_etamax
Definition: IsolationParam.h:68
TrigConf::IsolationParam::m_etamin
int m_etamin
Definition: IsolationParam.h:67
TrigConf::IsolationParam::mincut
int mincut() const
Definition: IsolationParam.h:35
TrigConf::TrigConfData::m_version
unsigned int m_version
Definition: TrigConfData.h:47
TrigConf::IsolationParam::m_upperlimit
int m_upperlimit
Definition: IsolationParam.h:66
TrigConf::L1DataBaseclass::m_Lvl1MasterId
unsigned int m_Lvl1MasterId
Definition: L1DataBaseclass.h:35
TrigConf::IsolationParam::priority
int priority() const
Definition: IsolationParam.h:39
TrigConf::IsolationParam::m_isDefined
bool m_isDefined
Definition: IsolationParam.h:61
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TrigConf::IsolationParam::upperlimit
int upperlimit() const
Definition: IsolationParam.h:36
TrigConf::TrigConfData::m_comment
std::string m_comment
Definition: TrigConfData.h:48
TrigConf::IsolationParam::thrtype
const std::string & thrtype() const
Definition: IsolationParam.h:31
TrigConf::TrigConfData::version
unsigned int version() const
Definition: TrigConfData.h:24
TrigConf::IsolationParam::etamax
int etamax() const
Definition: IsolationParam.h:38
TrigConf::TrigConfData::id
unsigned int id() const
Definition: TrigConfData.h:21
TrigConf::IsolationParam::m_priority
int m_priority
Definition: IsolationParam.h:69
TrigConf::TrigConfData::m_smk
unsigned int m_smk
Definition: TrigConfData.h:44
TrigConf::IsolationParam::m_thrtype
std::string m_thrtype
Definition: IsolationParam.h:60
TrigConf::IsolationParam::slope
int slope() const
Definition: IsolationParam.h:34
TrigConf::IsolationParam::m_mincut
int m_mincut
Definition: IsolationParam.h:65
TrigConf::IsolationParam::isDefined
bool isDefined() const
Definition: IsolationParam.h:29
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
TrigConf::IsolationParam::etamin
int etamin() const
Definition: IsolationParam.h:37
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition: TrigConfData.cxx:23
python.compressB64.c
def c
Definition: compressB64.py:93
TrigConf::IsolationParam::m_slope
int m_slope
Definition: IsolationParam.h:64
TrigConf::IsolationParam::isobit
int isobit() const
Definition: IsolationParam.h:32
TrigConf::IsolationParam::m_offset
int m_offset
Definition: IsolationParam.h:63