Go to the documentation of this file.
14 #ifndef DT_CONFIG_TSPHI_H
15 #define DT_CONFIG_TSPHI_H
54 DTConfigTSPhi(
bool debug,
unsigned short int tss_buffer[7][31],
int ntss,
unsigned short int tsm_buffer[9]);
void setTsmGhost2Flag(unsigned short tsmgs2)
Ghost 2 suppression option in TSM.
int TsmMasking(int i) const
Order of quality bits in TSM for sort1/2.
int TssMasking(int i) const
Order of quality bits in TSS for sort1/2.
void print() const
Print the setup.
void setTsmCorrEna(bool tsmcce, int i)
Enable Correlation checking in TSM for sort1/2.
static const int NTSMD
Constant: number of TSMD.
unsigned short int m_tssgs1
bool TsmCorrEna(int i) const
Enable Correlation checking in TSM for sort1/2.
int TsmGhost2Flag() const
Ghost 2 suppression option in TSM.
int nValidTSS() const
Number of correctly configured TSS.
int TsmGhost1Flag() const
Ghost 1 suppression option in TSM.
unsigned short int m_tsmgs2
void setUsedTraco(int i, int val)
Enabled TRACOs in TS.
void setTsmMasking(unsigned short int tsmmsk, int i)
Order of quality bits in TSM for sort1/2.
bool TsmInOutEna(int i) const
Enable Inner SL checking in TSM for sort1/2.
void setTssInOutEna(bool tssnoe, int i)
Enable Inner SL checking in TSS for sort1/2.
void setTsmInOutEna(bool tsmnoe, int i)
Enable Inner SL checking in TSM for sort1/2.
bool TsmGhost1Corr() const
Correlated ghost 1 suppression option in TSM.
int TsmGetCarryFlag() const
Handling of second track (carry) in case of pile-up, in TSM.
void setTssHtrigEnaCarry(bool tsshte)
Enable Htrig checking in TSS for carry.
unsigned short int m_tsmgs1
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.
bool TssGhost2Corr() const
Correlated ghost 2 suppression option in TSS.
void setTsmCorrEnaCarry(bool tsmcce)
Enable Correlation checking in TSM for carry.
void setDebug(bool debug)
Set debug flag.
unsigned short int m_tsmhsp
unsigned short int m_tssmsk[2]
void setTssHtrigEna(bool tsshte, int i)
Enable Htrig checking in TSS for sort1/2.
void setTsmGhost1Corr(bool tsmcgs1)
Correlated ghost 1 suppression option in TSM.
bool TssCorrEna(int i) const
Enable Correlation checking in TSS for sort1/2.
void setTssGhost1Corr(bool tsscgs1)
Correlated ghost 1 suppression option in TSS.
bool TsmHtrigEnaCarry() const
Enable Htrig checking in TSM for carry.
int element(const int pos) const
bool usedTraco(int i) const
Enabled TRACOs in TS.
bool TsmHtrigEna(int i) const
Enable Htrig checking in TSM for sort1/2.
bool checkMask(unsigned short) const
Check mask correctness.
void setTsmStatus(int i, int val)
TSM status.
static const int NTSSTSM
Constant: maximum number of TSS in input to the TSM.
bool TsmInOutEnaCarry() const
Enable Inner SL checking in TSM for carry.
unsigned short int m_tssgs2
bool TssHtrigEnaCarry() const
Enable Htrig checking in TSS for carry.
bool TssCorrEnaCarry() const
Enable Correlation checking in TSS for carry.
void setTsmHtrigEnaCarry(bool tsmhte)
Enable Htrig checking in TSM for carry.
~DTConfigTSPhi() override
Destructor.
bool TssInOutEna(int i) const
Enable Inner SL checking in TSS for sort1/2.
int TSSinTSMD(int stat, int sect) const
Return the max nb. of TSSs in input to a single TSMD (called ONLY in back-up mode)
void setTssCorrEnaCarry(bool tsscce)
Enable Correlation checking in TSS for.
unsigned short int m_tsmmsk[2]
void setTssMasking(unsigned short int tssmsk, int i)
Order of quality bits in TSS for sort1/2.
void setTsmCarryFlag(unsigned short tsmhsp)
Handling of second track (carry) in case of pile-up, in TSM.
void setTsmInOutEnaCarry(bool tsmnoe)
Enable Inner SL checking in TSM for carry.
void setTssGhost2Corr(bool tsscgs2)
Correlated ghost 2 suppression option in TSS.
void setTsmGhost2Corr(bool tsmcgs2)
Correlated ghost 2 suppression option in TSM.
DTConfigTSPhi()
Constructor.
void setTssGhost2Flag(unsigned short tssgs2)
Ghost 2 suppression option in TSS.
bool TssGhost1Corr() const
Correlated ghost 1 suppression option in TSS.
bool TssInOutEnaCarry() const
Enable Inner SL checking in TSS for carry.
BitArray< 8 > TsmStatus() const
TSM status.
bool TsmGhost2Corr() const
Correlated ghost 2 suppression option in TSM.
int TssGhost1Flag() const
Ghost 1 suppression option in TSS.
int TssGhost2Flag() const
Ghost 2 suppression option in TSS.
void setTssInOutEnaCarry(bool tssnoe)
Enable Inner SL checking in TSS for carry.
int nValidTSM() const
Number of correctly configured TSS.
void setTsmHtrigEna(bool tsmhte, int i)
Enable Htrig checking in TSM for sort1/2.
void setTssCorrEna(bool tsscce, int i)
Enable Correlation checking in TSS for sort1/2.
bool debug() const
Return the debug flag.
void setTsmGhost1Flag(unsigned short tsmgs1)
Ghost 1 suppression option in TSM.
void setTssGhost1Flag(unsigned short tssgs1)
Ghost 1 suppression option in TSS.
bool TssHtrigEna(int i) const
Enable Htrig checking in TSS for sort1/2.
bool TsmCorrEnaCarry() const
Enable Correlation checking in TSM for carry.
static const int NTSSTSMD
Constant: maximum number of TSS in input to a single TSMD.