Go to the documentation of this file.
13 #ifndef DT_TRACO_TRIG_DATA_H
14 #define DT_TRACO_TRIG_DATA_H
153 void print()
const override;
int pvCorr() const
Return the preview correaltion bit.
int tracoNumber() const
Return parent TRACO number.
void setK(int k)
Set trigger K parameter.
void setCodeIn(int code)
Set trigger code inner layer.
void setStep(int step)
Set trigger step.
int pvCode() const
Return the preview code.
void setParent(DTTracoId tracoid)
Set the parent TRACO Identifier.
int isFirst() const
Return non 0 if the track is a first track.
void setCodeOut(int code)
Set trigger code outer layer.
void resetVar()
Reset all variables but preview.
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 pvIO() const
Return the preview i/o bit.
DTTracoId parentId() const
Return parent TRACO identifier.
int eqOut() const
Return bti trigger equation of outer segment.
~DTTracoTrigData() override
Destructor.
void setPosIn(int pos)
Set position of segment, inner layer.
int psiR() const
Return trigger X parameter converted to angle.
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.
void setPosOut(int pos)
Set position of segment, outer layer.
int X() const
Return trigger X parameter.
bool eq(const ELstring &s1, const ELstring s2)
void print() const override
print
void setPV(int first, int code, int K, int ioflag)
Set trigger preview parameters.
DTChamberId ChamberId() const override
Return chamber identifier.
int code() const
Return trigger code.
std::map< std::string, int, std::less< std::string > > psi
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.
DTChamberId ChamberId() const
Returns the chamber id.
int traco() const
Returns the traco.
void setPVCorr(int ic)
Set trigger preview correlation bit.
int step() const
Return step.
void setEqOut(int eq)
Set bti trigger equation of segment, outer layer.
int DeltaPsiR() const
Return DeltaPsiR.
DTTracoTrigData()
Constructor.
void setEqIn(int eq)
Set bti trigger equation of segment, inner layer.
int posOut() const
Return the position of outer segment.