17 #ifndef DT_TRACO_TRIG_H
18 #define DT_TRACO_TRIG_H
220 inline int K()
const {
225 inline int X()
const {
void resetVar()
Reset all variables but preview.
void setPosIn(int pos)
Set position of segments, inner.
DTChamberId ChamberId() const
Return chamber identifier.
DTTracoTrigData data() const
Return the data part.
void setAngles(int psi, int psir, int dpsir)
Set trigger angles.
void setX(int x)
Set trigger X parameter.
void setK(int k)
Set trigger K parameter.
int posIn() const
Return the position of inner segment.
int posOut() const
Return the position of outer segment.
void setEqOut(int eq)
Set bti trigger equation of segment, outer layer.
int posOut() const
Return the position of outer segment.
int psiR() const
Return trigger X parameter converted to angle.
void resetVar()
Reset all variables but preview.
std::vector< const DTBtiTrigData * > btiTrigList() const
Return the BTI Triggers list.
int step() const
Return step.
void setPosOut(int pos)
Set position of segment, outer layer.
int posMask() const
Return correlator output code (position of segments)
int tracoNumber() const
Return parent TRACO number.
void setX(int x)
Set trigger X parameter.
int pvCorr() const
Return the preview correaltion bit.
int X() const
Return trigger X parameter.
void setPosIn(int pos)
Set position of segment, inner layer.
void setCodeIn(int code)
Set trigger code, inner segment.
int eqIn()
Return bti trigger equation of segments, inner.
void setK(int k)
Set trigger K parameter.
std::map< std::string, int, std::less< std::string > > psi
void setPosOut(int pos)
Set position of segments, outer.
void resetPV()
Reset preview variables.
int posMask() const
Return correlator output code (position of segments)
DTChamberId ChamberId() const
Return chamber identifier.
int step() const
Return step.
void setCodeOut(int code)
Set trigger code outer layer.
DTTracoTrig()
Constructors.
int psi() const
Return trigger K parameter converted to angle.
int isFirst() const
Return non 0 if the track is a first track.
void setCodeOut(int code)
Set trigger code, outer segment.
int pvK() const
Return the preview K.
void setPVCorr(int ic)
Set trigger preview correlation bit.
int DeltaPsiR() const
Return DeltaPsiR.
void setEqOut(int eq)
Set bti trigger equation of segments, outer.
int pvCode() const
Return the preview code.
DTTracoChip * tParent() const
Return parent TRACO pointer.
void addDTBtiTrig(const DTBtiTrigData *btitrig)
Add a BTI trigger to the list.
void setAngles(int psi, int psir, int dpsir)
Set trigger angles.
int psi() const
Return trigger K parameter converted to angle.
int eqOut() const
Return bti trigger equation of outer segment.
int pvCode() const
Return the preview code.
void setParent(DTTracoChip *parent)
Set the parent TRACO.
int pvCorr() const
Return the preview correaltion bit.
void setCodeIn(int code)
Set trigger code inner layer.
int qdec() const
Return the trigger code in new format.
int psiR() const
Return trigger X parameter converted to angle.
int posIn() const
Return the position of inner segment.
int isFirst() const
Return non 0 if the track is a first track.
int pvK() const
Return the preview K.
void setPV(int first, int code, int K, int ioflag)
Set trigger preview parameters.
void setPVCorr(int ic)
Set trigger preview correlation bit.
int qdec() const
Return the trigger code in new format.
void print() const
Print.
std::vector< const DTBtiTrigData * > _btitrig
int code() const
Return trigger code.
int X() const
Return trigger X parameter.
void setEqIn(int eq)
Set bti trigger equation of segments, inner.
int K() const
Return trigger K parameter.
int tracoNumber() const
Return parent TRACO number.
bool operator==(const DTTracoTrig &) const
comparison operator
void setEqIn(int eq)
Set bti trigger equation of segment, inner layer.
void setPV(int first, int code, int K, int io)
Set trigger preview parameters.
int eqIn() const
Return bti trigger equation of inner segment.
void resetPV()
Reset preview variables.
~DTTracoTrig()
Destructor.
int code() const
Return trigger code.
int K() const
Return trigger K parameter.
int DeltaPsiR() const
Return DeltaPsiR.
int eqOut()
Return bti trigger equation of segments, outer.