#include <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().
{ return _btiid.superlayer(); }
DTChamberId DTBtiTrigData::ChamberId | ( | ) | const [inline, virtual] |
Return chamber identifier.
Implements DTTrigData.
Definition at line 104 of file DTBtiTrigData.h.
References _btiid, DTChamberId, DTBtiId::sector(), DTBtiId::station(), and DTBtiId::wheel().
Referenced by DTBtiTrig::ChamberId().
void DTBtiTrigData::clear | ( | void | ) | [inline] |
int DTBtiTrigData::code | ( | ) | const [inline] |
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(), DTTracoCand::print(), setCode(), DTTracoChip::setPV(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
{ return _code; }
int DTBtiTrigData::eq | ( | ) | const [inline] |
Return triggering equation.
Definition at line 152 of file DTBtiTrigData.h.
References _eq.
Referenced by DTBtiTrig::eq(), setEq(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
{ return _eq; }
int DTBtiTrigData::K | ( | ) | const [inline] |
Return trigger K parameter.
Definition at line 142 of file DTBtiTrigData.h.
References _Kval.
Referenced by DTTracoChip::add_btiT(), DTTracoCand::DTTracoCand(), DTBtiTrig::K(), DTBtiCard::localDirection(), DTTracoCand::print(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
{ return _Kval; }
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().
{ return _btiid; }
void DTBtiTrigData::print | ( | void | ) | const [virtual] |
Print.
Implements DTTrigData.
Definition at line 38 of file DTBtiTrigData.cc.
References gather_cfg::cout, Vispa::Plugins::EdmBrowser::EdmDataAccessor::eq(), launcher::step, and X.
Referenced by DTTracoChip::add_btiT(), DTBtiCard::localDirection(), DTBtiCard::localPosition(), and DTBtiTrig::print().
{ cout << "BTI Id=" << " ( " << _btiid.wheel() ; cout << " , " << _btiid.station() ; cout << " , " << _btiid.sector() ; cout << " , " << _btiid.superlayer() ; cout << " # " << _btiid.bti() ; cout << " ) " ; cout << ", K=" << K() << ", X=" << X() << ", equation=" << eq(); cout << ", code=" << code(); cout << " step= " << step(); /* cout << " strobe= " << Strobe(); cout << " Keq values: " << Keq(0) << " " << Keq(1) << " " << Keq(2) << " " << Keq(3) << " " << Keq(4) << " " << Keq(5) << endl; */ cout << endl; }
void DTBtiTrigData::setCode | ( | int | code | ) | [inline] |
Set trigger code.
Definition at line 62 of file DTBtiTrigData.h.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setCode().
void DTBtiTrigData::setEq | ( | int | eq | ) | [inline] |
Set triggering equation.
Definition at line 77 of file DTBtiTrigData.h.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setEq().
void DTBtiTrigData::setK | ( | int | k | ) | [inline] |
Set trigger K parameter.
Definition at line 67 of file DTBtiTrigData.h.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setK().
void DTBtiTrigData::setKeq | ( | int | num, |
float | Keq | ||
) | [inline] |
Set trigger _Keq.
Definition at line 87 of file DTBtiTrigData.h.
Referenced by DTBtiTrig::DTBtiTrig().
void DTBtiTrigData::setParent | ( | DTBtiId | btiid | ) | [inline] |
Set the parent BTI identifier.
Definition at line 52 of file DTBtiTrigData.h.
References _btiid.
Referenced by DTBtiTrig::DTBtiTrig().
{ _btiid = btiid; }
void DTBtiTrigData::setStep | ( | int | step | ) | [inline] |
Set trigger step.
Definition at line 57 of file DTBtiTrigData.h.
Referenced by DTBtiTrig::DTBtiTrig(), and DTBtiTrig::setStep().
void DTBtiTrigData::setStrobe | ( | int | str | ) | [inline] |
Set trigger strobe.
Definition at line 82 of file DTBtiTrigData.h.
References _str.
Referenced by DTBtiTrig::DTBtiTrig().
{ _str = str; }
void DTBtiTrigData::setX | ( | int | x | ) | [inline] |
Set trigger X parameter.
Definition at line 72 of file DTBtiTrigData.h.
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 setStep(), DTBtiTrig::step(), and DTBtiCard::storeTrigger().
{ return _step; }
int DTBtiTrigData::Strobe | ( | ) | const [inline] |
Return trigger strobe.
Definition at line 157 of file DTBtiTrigData.h.
References _str.
{ return _str; }
int DTBtiTrigData::X | ( | ) | const [inline] |
Return trigger X parameter.
Definition at line 147 of file DTBtiTrigData.h.
References _Xval.
Referenced by DTTracoCand::DTTracoCand(), DTBtiCard::localPosition(), DTTracoCand::print(), and DTBtiTrig::X().
{ return _Xval; }
DTBtiId DTBtiTrigData::_btiid [private] |
Definition at line 169 of file DTBtiTrigData.h.
Referenced by btiNumber(), btiSL(), ChamberId(), parentId(), setParent(), and SLId().
myint8 DTBtiTrigData::_code [private] |
Definition at line 172 of file DTBtiTrigData.h.
myint8 DTBtiTrigData::_eq [private] |
Definition at line 177 of file DTBtiTrigData.h.
float DTBtiTrigData::_Keq[6] [private] |
Definition at line 179 of file DTBtiTrigData.h.
int DTBtiTrigData::_Kval [private] |
Definition at line 173 of file DTBtiTrigData.h.
myint8 DTBtiTrigData::_step [private] |
Definition at line 176 of file DTBtiTrigData.h.
int DTBtiTrigData::_str [private] |
Definition at line 178 of file DTBtiTrigData.h.
Referenced by clear(), setStrobe(), and Strobe().
myint8 DTBtiTrigData::_Xval [private] |
Definition at line 174 of file DTBtiTrigData.h.