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