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