CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
DTConfigTSPhi Class Reference

#include <DTConfigTSPhi.h>

Inheritance diagram for DTConfigTSPhi:
DTConfig

Public Member Functions

bool debug () const
 Return the debug flag. More...
 
 DTConfigTSPhi (const edm::ParameterSet &ps)
 Constructor. More...
 
 DTConfigTSPhi ()
 Constructor. More...
 
 DTConfigTSPhi (bool debug, unsigned short int tss_buffer[7][31], int ntss, unsigned short int tsm_buffer[9])
 Constructor. More...
 
int nValidTSM () const
 Number of correctly configured TSS. More...
 
int nValidTSS () const
 Number of correctly configured TSS. More...
 
void print () const
 Print the setup. More...
 
void setDebug (bool debug)
 Set debug flag. More...
 
void setTsmCarryFlag (unsigned short tsmhsp)
 Handling of second track (carry) in case of pile-up, in TSM. More...
 
void setTsmCorrEna (bool tsmcce, int i)
 Enable Correlation checking in TSM for sort1/2. More...
 
void setTsmCorrEnaCarry (bool tsmcce)
 Enable Correlation checking in TSM for carry. More...
 
void setTsmGhost1Corr (bool tsmcgs1)
 Correlated ghost 1 suppression option in TSM. More...
 
void setTsmGhost1Flag (unsigned short tsmgs1)
 Ghost 1 suppression option in TSM. More...
 
void setTsmGhost2Corr (bool tsmcgs2)
 Correlated ghost 2 suppression option in TSM. More...
 
void setTsmGhost2Flag (unsigned short tsmgs2)
 Ghost 2 suppression option in TSM. More...
 
void setTsmHtrigEna (bool tsmhte, int i)
 Enable Htrig checking in TSM for sort1/2. More...
 
void setTsmHtrigEnaCarry (bool tsmhte)
 Enable Htrig checking in TSM for carry. More...
 
void setTsmInOutEna (bool tsmnoe, int i)
 Enable Inner SL checking in TSM for sort1/2. More...
 
void setTsmInOutEnaCarry (bool tsmnoe)
 Enable Inner SL checking in TSM for carry. More...
 
void setTsmMasking (unsigned short int tsmmsk, int i)
 Order of quality bits in TSM for sort1/2. More...
 
void setTsmStatus (int i, int val)
 TSM status. More...
 
void setTssCorrEna (bool tsscce, int i)
 Enable Correlation checking in TSS for sort1/2. More...
 
void setTssCorrEnaCarry (bool tsscce)
 Enable Correlation checking in TSS for. More...
 
void setTssGhost1Corr (bool tsscgs1)
 Correlated ghost 1 suppression option in TSS. More...
 
void setTssGhost1Flag (unsigned short tssgs1)
 Ghost 1 suppression option in TSS. More...
 
void setTssGhost2Corr (bool tsscgs2)
 Correlated ghost 2 suppression option in TSS. More...
 
void setTssGhost2Flag (unsigned short tssgs2)
 Ghost 2 suppression option in TSS. More...
 
void setTssHtrigEna (bool tsshte, int i)
 Enable Htrig checking in TSS for sort1/2. More...
 
void setTssHtrigEnaCarry (bool tsshte)
 Enable Htrig checking in TSS for carry. More...
 
void setTssInOutEna (bool tssnoe, int i)
 Enable Inner SL checking in TSS for sort1/2. More...
 
void setTssInOutEnaCarry (bool tssnoe)
 Enable Inner SL checking in TSS for carry. More...
 
void setTssMasking (unsigned short int tssmsk, int i)
 Order of quality bits in TSS for sort1/2. More...
 
void setUsedTraco (int i, int val)
 Enabled TRACOs in TS. More...
 
bool TsmCorrEna (int i) const
 Enable Correlation checking in TSM for sort1/2. More...
 
bool TsmCorrEnaCarry () const
 Enable Correlation checking in TSM for carry. More...
 
int TsmGetCarryFlag () const
 Handling of second track (carry) in case of pile-up, in TSM. More...
 
bool TsmGhost1Corr () const
 Correlated ghost 1 suppression option in TSM. More...
 
int TsmGhost1Flag () const
 Ghost 1 suppression option in TSM. More...
 
bool TsmGhost2Corr () const
 Correlated ghost 2 suppression option in TSM. More...
 
int TsmGhost2Flag () const
 Ghost 2 suppression option in TSM. More...
 
bool TsmHtrigEna (int i) const
 Enable Htrig checking in TSM for sort1/2. More...
 
bool TsmHtrigEnaCarry () const
 Enable Htrig checking in TSM for carry. More...
 
bool TsmInOutEna (int i) const
 Enable Inner SL checking in TSM for sort1/2. More...
 
bool TsmInOutEnaCarry () const
 Enable Inner SL checking in TSM for carry. More...
 
int TsmMasking (int i) const
 Order of quality bits in TSM for sort1/2. More...
 
BitArray< 8 > TsmStatus () const
 TSM status. More...
 
bool TssCorrEna (int i) const
 Enable Correlation checking in TSS for sort1/2. More...
 
bool TssCorrEnaCarry () const
 Enable Correlation checking in TSS for carry. More...
 
bool TssGhost1Corr () const
 Correlated ghost 1 suppression option in TSS. More...
 
int TssGhost1Flag () const
 Ghost 1 suppression option in TSS. More...
 
bool TssGhost2Corr () const
 Correlated ghost 2 suppression option in TSS. More...
 
int TssGhost2Flag () const
 Ghost 2 suppression option in TSS. More...
 
bool TssHtrigEna (int i) const
 Enable Htrig checking in TSS for sort1/2. More...
 
bool TssHtrigEnaCarry () const
 Enable Htrig checking in TSS for carry. More...
 
bool TssInOutEna (int i) const
 Enable Inner SL checking in TSS for sort1/2. More...
 
bool TssInOutEnaCarry () const
 Enable Inner SL checking in TSS for carry. More...
 
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) More...
 
int TssMasking (int i) const
 Order of quality bits in TSS for sort1/2. More...
 
bool usedTraco (int i) const
 Enabled TRACOs in TS. More...
 
 ~DTConfigTSPhi ()
 Destructor. More...
 
- Public Member Functions inherited from DTConfig
 DTConfig ()
 Constructor. More...
 
virtual ~DTConfig ()
 Destructor. More...
 

Static Public Attributes

static const int NTSMD = 2
 Constant: number of TSMD. More...
 
static const int NTSSTSM = 7
 Constant: maximum number of TSS in input to the TSM. More...
 
static const int NTSSTSMD = 3
 Constant: maximum number of TSS in input to a single TSMD. More...
 
- Static Public Attributes inherited from DTConfig
static const int NBTITC =4
 
static const int NSTEPF =9
 
static const int NSTEPL =24
 Constants: first and last step to start trigger finding. More...
 
static const int NTCTSS = 4
 Constant: number of TRACOs in input to a TSS. More...
 

Private Member Functions

bool checkMask (unsigned short) const
 Check mask correctness. More...
 
void setDefaults (const edm::ParameterSet &ps)
 Load pset values into class variables. More...
 

Private Attributes

bool m_debug
 
short int m_ntsm
 
short int m_ntss
 
bool m_tsmcce [3]
 
bool m_tsmcgs1
 
bool m_tsmcgs2
 
unsigned short int m_tsmgs1
 
unsigned short int m_tsmgs2
 
unsigned short int m_tsmhsp
 
bool m_tsmhte [3]
 
unsigned short int m_tsmmsk [2]
 
bool m_tsmnoe [3]
 
BitArray< 8 > m_tsmword
 
bool m_tsscce [3]
 
bool m_tsscgs1
 
bool m_tsscgs2
 
unsigned short int m_tssgs1
 
unsigned short int m_tssgs2
 
bool m_tsshte [3]
 
unsigned short int m_tssmsk [2]
 
bool m_tssnoe [3]
 
BitArray< 24 > m_tstren
 

Detailed Description

Configurable parameters and constants for Level-1 Muon DT Trigger - TS Phi

Author
C. Battilana

Definition at line 37 of file DTConfigTSPhi.h.

Constructor & Destructor Documentation

DTConfigTSPhi::DTConfigTSPhi ( const edm::ParameterSet ps)

Constructor.

Definition at line 34 of file DTConfigTSPhi.cc.

DTConfigTSPhi::DTConfigTSPhi ( )
inline

Constructor.

Definition at line 54 of file DTConfigTSPhi.h.

DTConfigTSPhi::DTConfigTSPhi ( bool  debug,
unsigned short int  tss_buffer[7][31],
int  ntss,
unsigned short int  tsm_buffer[9] 
)

Constructor.

Definition at line 40 of file DTConfigTSPhi.cc.

DTConfigTSPhi::~DTConfigTSPhi ( )

Destructor.

Definition at line 225 of file DTConfigTSPhi.cc.

Member Function Documentation

bool DTConfigTSPhi::checkMask ( unsigned short  msk) const
private

Check mask correctness.

Definition at line 486 of file DTConfigTSPhi.cc.

bool DTConfigTSPhi::debug ( ) const
inline

Return the debug flag.

Definition at line 63 of file DTConfigTSPhi.h.

int DTConfigTSPhi::nValidTSM ( ) const

Number of correctly configured TSS.

Definition at line 474 of file DTConfigTSPhi.cc.

int DTConfigTSPhi::nValidTSS ( ) const

Number of correctly configured TSS.

Definition at line 464 of file DTConfigTSPhi.cc.

void DTConfigTSPhi::print ( void  ) const

Print the setup.

Definition at line 429 of file DTConfigTSPhi.cc.

void DTConfigTSPhi::setDebug ( bool  debug)
inline

Set debug flag.

Definition at line 146 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setDefaults ( const edm::ParameterSet ps)
private

Load pset values into class variables.

Enabled TRACOs in TS

Definition at line 232 of file DTConfigTSPhi.cc.

void DTConfigTSPhi::setTsmCarryFlag ( unsigned short  tsmhsp)
inline

Handling of second track (carry) in case of pile-up, in TSM.

Definition at line 215 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmCorrEna ( bool  tsmcce,
int  i 
)
inline

Enable Correlation checking in TSM for sort1/2.

Definition at line 185 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmCorrEnaCarry ( bool  tsmcce)
inline

Enable Correlation checking in TSM for carry.

Definition at line 188 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmGhost1Corr ( bool  tsmcgs1)
inline

Correlated ghost 1 suppression option in TSM.

Definition at line 209 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmGhost1Flag ( unsigned short  tsmgs1)
inline

Ghost 1 suppression option in TSM.

Definition at line 197 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmGhost2Corr ( bool  tsmcgs2)
inline

Correlated ghost 2 suppression option in TSM.

Definition at line 212 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmGhost2Flag ( unsigned short  tsmgs2)
inline

Ghost 2 suppression option in TSM.

Definition at line 200 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmHtrigEna ( bool  tsmhte,
int  i 
)
inline

Enable Htrig checking in TSM for sort1/2.

Definition at line 173 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmHtrigEnaCarry ( bool  tsmhte)
inline

Enable Htrig checking in TSM for carry.

Definition at line 176 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmInOutEna ( bool  tsmnoe,
int  i 
)
inline

Enable Inner SL checking in TSM for sort1/2.

Definition at line 179 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmInOutEnaCarry ( bool  tsmnoe)
inline

Enable Inner SL checking in TSM for carry.

Definition at line 182 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmMasking ( unsigned short int  tsmmsk,
int  i 
)
inline

Order of quality bits in TSM for sort1/2.

Definition at line 170 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTsmStatus ( int  i,
int  val 
)
inline

TSM status.

Definition at line 221 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssCorrEna ( bool  tsscce,
int  i 
)
inline

Enable Correlation checking in TSS for sort1/2.

Definition at line 164 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssCorrEnaCarry ( bool  tsscce)
inline

Enable Correlation checking in TSS for.

Definition at line 167 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssGhost1Corr ( bool  tsscgs1)
inline

Correlated ghost 1 suppression option in TSS.

Definition at line 203 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssGhost1Flag ( unsigned short  tssgs1)
inline

Ghost 1 suppression option in TSS.

Definition at line 191 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssGhost2Corr ( bool  tsscgs2)
inline

Correlated ghost 2 suppression option in TSS.

Definition at line 206 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssGhost2Flag ( unsigned short  tssgs2)
inline

Ghost 2 suppression option in TSS.

Definition at line 194 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssHtrigEna ( bool  tsshte,
int  i 
)
inline

Enable Htrig checking in TSS for sort1/2.

Definition at line 152 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssHtrigEnaCarry ( bool  tsshte)
inline

Enable Htrig checking in TSS for carry.

Definition at line 155 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssInOutEna ( bool  tssnoe,
int  i 
)
inline

Enable Inner SL checking in TSS for sort1/2.

Definition at line 158 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssInOutEnaCarry ( bool  tssnoe)
inline

Enable Inner SL checking in TSS for carry.

Definition at line 161 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setTssMasking ( unsigned short int  tssmsk,
int  i 
)
inline

Order of quality bits in TSS for sort1/2.

Definition at line 149 of file DTConfigTSPhi.h.

void DTConfigTSPhi::setUsedTraco ( int  i,
int  val 
)
inline

Enabled TRACOs in TS.

Definition at line 218 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmCorrEna ( int  i) const
inline

Enable Correlation checking in TSM for sort1/2.

Definition at line 102 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmCorrEnaCarry ( ) const
inline

Enable Correlation checking in TSM for carry.

Definition at line 105 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TsmGetCarryFlag ( ) const
inline

Handling of second track (carry) in case of pile-up, in TSM.

Definition at line 132 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmGhost1Corr ( ) const
inline

Correlated ghost 1 suppression option in TSM.

Definition at line 126 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TsmGhost1Flag ( ) const
inline

Ghost 1 suppression option in TSM.

Definition at line 114 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmGhost2Corr ( ) const
inline

Correlated ghost 2 suppression option in TSM.

Definition at line 129 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TsmGhost2Flag ( ) const
inline

Ghost 2 suppression option in TSM.

Definition at line 117 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmHtrigEna ( int  i) const
inline

Enable Htrig checking in TSM for sort1/2.

Definition at line 90 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmHtrigEnaCarry ( ) const
inline

Enable Htrig checking in TSM for carry.

Definition at line 93 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmInOutEna ( int  i) const
inline

Enable Inner SL checking in TSM for sort1/2.

Definition at line 96 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TsmInOutEnaCarry ( ) const
inline

Enable Inner SL checking in TSM for carry.

Definition at line 99 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TsmMasking ( int  i) const
inline

Order of quality bits in TSM for sort1/2.

Definition at line 87 of file DTConfigTSPhi.h.

BitArray<8> DTConfigTSPhi::TsmStatus ( ) const
inline

TSM status.

Definition at line 138 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssCorrEna ( int  i) const
inline

Enable Correlation checking in TSS for sort1/2.

Definition at line 81 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssCorrEnaCarry ( ) const
inline

Enable Correlation checking in TSS for carry.

Definition at line 84 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssGhost1Corr ( ) const
inline

Correlated ghost 1 suppression option in TSS.

Definition at line 120 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TssGhost1Flag ( ) const
inline

Ghost 1 suppression option in TSS.

Definition at line 108 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssGhost2Corr ( ) const
inline

Correlated ghost 2 suppression option in TSS.

Definition at line 123 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TssGhost2Flag ( ) const
inline

Ghost 2 suppression option in TSS.

Definition at line 111 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssHtrigEna ( int  i) const
inline

Enable Htrig checking in TSS for sort1/2.

Definition at line 69 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssHtrigEnaCarry ( ) const
inline

Enable Htrig checking in TSS for carry.

Definition at line 72 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssInOutEna ( int  i) const
inline

Enable Inner SL checking in TSS for sort1/2.

Definition at line 75 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::TssInOutEnaCarry ( ) const
inline

Enable Inner SL checking in TSS for carry.

Definition at line 78 of file DTConfigTSPhi.h.

int DTConfigTSPhi::TSSinTSMD ( int  stat,
int  sect 
) const

Return the max nb. of TSSs in input to a single TSMD (called ONLY in back-up mode)

Definition at line 402 of file DTConfigTSPhi.cc.

int DTConfigTSPhi::TssMasking ( int  i) const
inline

Order of quality bits in TSS for sort1/2.

Definition at line 66 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::usedTraco ( int  i) const
inline

Enabled TRACOs in TS.

Definition at line 135 of file DTConfigTSPhi.h.

Member Data Documentation

bool DTConfigTSPhi::m_debug
private

Definition at line 240 of file DTConfigTSPhi.h.

short int DTConfigTSPhi::m_ntsm
private

Definition at line 269 of file DTConfigTSPhi.h.

short int DTConfigTSPhi::m_ntss
private

Definition at line 268 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsmcce[3]
private

Definition at line 256 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsmcgs1
private

Definition at line 259 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsmcgs2
private

Definition at line 260 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tsmgs1
private

Definition at line 257 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tsmgs2
private

Definition at line 258 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tsmhsp
private

Definition at line 261 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsmhte[3]
private

Definition at line 254 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tsmmsk[2]
private

Definition at line 253 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsmnoe[3]
private

Definition at line 255 of file DTConfigTSPhi.h.

BitArray<8> DTConfigTSPhi::m_tsmword
private

Definition at line 265 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsscce[3]
private

Definition at line 246 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsscgs1
private

Definition at line 249 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsscgs2
private

Definition at line 250 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tssgs1
private

Definition at line 247 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tssgs2
private

Definition at line 248 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tsshte[3]
private

Definition at line 244 of file DTConfigTSPhi.h.

unsigned short int DTConfigTSPhi::m_tssmsk[2]
private

Definition at line 243 of file DTConfigTSPhi.h.

bool DTConfigTSPhi::m_tssnoe[3]
private

Definition at line 245 of file DTConfigTSPhi.h.

BitArray<24> DTConfigTSPhi::m_tstren
private

Definition at line 264 of file DTConfigTSPhi.h.

const int DTConfigTSPhi::NTSMD = 2
static

Constant: number of TSMD.

Definition at line 45 of file DTConfigTSPhi.h.

const int DTConfigTSPhi::NTSSTSM = 7
static

Constant: maximum number of TSS in input to the TSM.

Definition at line 42 of file DTConfigTSPhi.h.

const int DTConfigTSPhi::NTSSTSMD = 3
static

Constant: maximum number of TSS in input to a single TSMD.

Definition at line 48 of file DTConfigTSPhi.h.