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