#include <L1Trigger/DTBti/interface/DTBtiTrigData.h>
Public Member Functions | |
int | btiNumber () const |
Return parent BTI number. | |
int | btiSL () const |
Return parent BTI superlayer. | |
DTChamberId | ChamberId () const |
Return chamber identifier. | |
void | clear () |
Clear. | |
int | code () const |
Return trigger code. | |
DTBtiTrigData () | |
Constructor. | |
int | eq () const |
Return triggering equation. | |
int | K () const |
Return trigger K parameter. | |
float | Keq (int i) const |
Return triggering K equations. | |
DTBtiId | parentId () const |
Return parent BTI identifier. | |
void | print () const |
Print. | |
void | setCode (int code) |
Set trigger code. | |
void | setEq (int eq) |
Set triggering equation. | |
void | setK (int k) |
Set trigger K parameter. | |
void | setKeq (int num, float Keq) |
Set trigger _Keq. | |
void | setParent (DTBtiId btiid) |
Set the parent BTI identifier. | |
void | setStep (int step) |
Set trigger step. | |
void | setStrobe (int str) |
Set trigger strobe. | |
void | setX (int x) |
Set trigger X parameter. | |
DTSuperLayerId | SLId () const |
Return superlayer identifier. | |
int | step () const |
Return trigger step. | |
int | Strobe () const |
Return trigger strobe. | |
int | X () const |
Return trigger X parameter. | |
~DTBtiTrigData () | |
Destructor. | |
Private Attributes | |
DTBtiId | _btiid |
myint8 | _code |
myint8 | _eq |
float | _Keq [6] |
int | _Kval |
myint8 | _step |
int | _str |
myint8 | _Xval |
Modifications: SV 29/I/03 : insert trigger Strobe
Definition at line 41 of file DTBtiTrigData.h.
DTBtiTrigData::DTBtiTrigData | ( | ) | [inline] |
DTBtiTrigData::~DTBtiTrigData | ( | ) | [inline] |
int DTBtiTrigData::btiNumber | ( | ) | const [inline] |
Return parent BTI number.
Definition at line 122 of file DTBtiTrigData.h.
References _btiid, and DTBtiId::bti().
Referenced by DTTSTheta::add_btiT(), DTBtiTrig::btiNumber(), DTTracoChip::DoAdjBtiLts(), DTTracoCand::print(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
int DTBtiTrigData::btiSL | ( | ) | const [inline] |
Return parent BTI superlayer.
Definition at line 127 of file DTBtiTrigData.h.
References _btiid, and DTBtiId::superlayer().
Referenced by DTBtiTrig::btiSL(), DTTracoCand::DTTracoCand(), DTBtiCard::localDirection(), DTBtiCard::localPosition(), DTTracoCand::print(), DTTracoChip::setPV(), and DTTracoChip::storeUncorr().
00127 { 00128 return _btiid.superlayer(); 00129 }
DTChamberId DTBtiTrigData::ChamberId | ( | ) | const [inline, virtual] |
Return chamber identifier.
Implements DTTrigData.
Definition at line 104 of file DTBtiTrigData.h.
References _btiid, DTBtiId::sector(), DTBtiId::station(), and DTBtiId::wheel().
Referenced by DTBtiTrig::ChamberId().
Clear.
Definition at line 92 of file DTBtiTrigData.h.
References _code, _eq, _Keq, _Kval, _step, _str, _Xval, and j.
Referenced by DTBtiTrig::clear().
00092 { 00093 _step = 0; 00094 _eq = 0; 00095 _code = 0; 00096 _Kval = 9999; 00097 _Xval = 0; 00098 _str = -1; 00099 for(int j=0;j<6;j++) 00100 _Keq[j]=-1; 00101 }
Return trigger code.
Definition at line 137 of file DTBtiTrigData.h.
References _code.
Referenced by DTTSTheta::add_btiT(), DTTracoChip::add_btiT(), DTTracoChip::AdjBtiLTSuppressed(), DTBtiTrig::code(), DTTracoChip::DoAdjBtiLts(), print(), DTTracoCand::print(), DTTracoChip::setPV(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
00137 { 00138 return _code; 00139 }
int DTBtiTrigData::eq | ( | ) | const [inline] |
Return triggering equation.
Definition at line 152 of file DTBtiTrigData.h.
References _eq.
Referenced by DTBtiTrig::eq(), print(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
00152 { 00153 return _eq; 00154 }
int DTBtiTrigData::K | ( | ) | const [inline] |
Definition at line 142 of file DTBtiTrigData.h.
References _Kval.
Referenced by DTTracoChip::add_btiT(), DTTracoCand::DTTracoCand(), DTBtiTrig::K(), DTBtiCard::localDirection(), print(), DTTracoCand::print(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
00142 { 00143 return _Kval; 00144 }
float DTBtiTrigData::Keq | ( | int | i | ) | const [inline] |
DTBtiId DTBtiTrigData::parentId | ( | ) | const [inline] |
Return parent BTI identifier.
Definition at line 112 of file DTBtiTrigData.h.
References _btiid.
Referenced by DTBtiCard::localDirection(), DTBtiCard::localPosition(), and DTBtiCard::storeTrigger().
00112 { 00113 return _btiid; 00114 }
Print.
Implements DTTrigData.
Definition at line 38 of file DTBtiTrigData.cc.
References _btiid, DTBtiId::bti(), code(), GenMuonPlsPt100GeV_cfg::cout, lat::endl(), eq(), K(), DTBtiId::sector(), DTBtiId::station(), step(), DTBtiId::superlayer(), DTBtiId::wheel(), and X().
Referenced by DTTracoChip::add_btiT(), DTBtiCard::localDirection(), DTBtiCard::localPosition(), and DTBtiTrig::print().
00038 { 00039 cout << "BTI Id=" << " ( " << _btiid.wheel() ; 00040 cout << " , " << _btiid.station() ; 00041 cout << " , " << _btiid.sector() ; 00042 cout << " , " << _btiid.superlayer() ; 00043 cout << " # " << _btiid.bti() ; 00044 cout << " ) " ; 00045 cout << ", K=" << K() << ", X=" << X() << ", equation=" << eq(); 00046 cout << ", code=" << code(); 00047 cout << " step= " << step(); 00048 /* cout << " strobe= " << Strobe(); 00049 cout << " Keq values: " << Keq(0) << " " << Keq(1) << " " << Keq(2) << " " 00050 << Keq(3) << " " << Keq(4) << " " << Keq(5) << endl; 00051 */ 00052 cout << endl; 00053 }
Set trigger code.
Definition at line 62 of file DTBtiTrigData.h.
References _code.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setCode().
Set triggering equation.
Definition at line 77 of file DTBtiTrigData.h.
References _eq.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setEq().
Definition at line 67 of file DTBtiTrigData.h.
References _Kval.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setK().
Set trigger _Keq.
Definition at line 87 of file DTBtiTrigData.h.
References _Keq.
Referenced by DTBtiTrig::DTBtiTrig().
Set the parent BTI identifier.
Definition at line 52 of file DTBtiTrigData.h.
References _btiid.
Referenced by DTBtiTrig::DTBtiTrig().
00052 { 00053 _btiid = btiid; 00054 }
Set trigger step.
Definition at line 57 of file DTBtiTrigData.h.
References _step.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setStep().
Set trigger strobe.
Definition at line 82 of file DTBtiTrigData.h.
References _str.
Referenced by DTBtiTrig::DTBtiTrig().
00082 { 00083 _str = str; 00084 }
Definition at line 72 of file DTBtiTrigData.h.
References _Xval.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setX().
DTSuperLayerId DTBtiTrigData::SLId | ( | ) | const [inline] |
Return superlayer identifier.
Definition at line 117 of file DTBtiTrigData.h.
References _btiid, and DTBtiId::SLId().
int DTBtiTrigData::step | ( | ) | const [inline] |
Return trigger step.
Definition at line 132 of file DTBtiTrigData.h.
References _step.
Referenced by print(), DTBtiTrig::step(), and DTBtiCard::storeTrigger().
00132 { 00133 return _step; 00134 }
int DTBtiTrigData::Strobe | ( | ) | const [inline] |
Return trigger strobe.
Definition at line 157 of file DTBtiTrigData.h.
References _str.
00157 { 00158 return _str; 00159 }
int DTBtiTrigData::X | ( | ) | const [inline] |
Definition at line 147 of file DTBtiTrigData.h.
References _Xval.
Referenced by DTTracoCand::DTTracoCand(), DTBtiCard::localPosition(), print(), DTTracoCand::print(), and DTBtiTrig::X().
00147 { 00148 return _Xval; 00149 }
DTBtiId DTBtiTrigData::_btiid [private] |
Definition at line 169 of file DTBtiTrigData.h.
Referenced by btiNumber(), btiSL(), ChamberId(), parentId(), print(), setParent(), and SLId().
myint8 DTBtiTrigData::_code [private] |
myint8 DTBtiTrigData::_eq [private] |
float DTBtiTrigData::_Keq[6] [private] |
int DTBtiTrigData::_Kval [private] |
myint8 DTBtiTrigData::_step [private] |
int DTBtiTrigData::_str [private] |
myint8 DTBtiTrigData::_Xval [private] |