CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes

DTConfigTSPhi Class Reference

#include <DTConfigTSPhi.h>

Inheritance diagram for DTConfigTSPhi:
DTConfig

List of all members.

Public Member Functions

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

Static Public Attributes

static const int NTSMD = 2
 Constant: number of TSMD.
static const int NTSSTSM = 7
 Constant: maximum number of TSS in input to the TSM.
static const int NTSSTSMD = 3
 Constant: maximum number of TSS in input to a single TSMD.

Private Member Functions

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

Private Attributes

bool m_debug
short int m_ntsm
short int m_ntss
unsigned short int m_ntsstsmd
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.

References debug(), print(), and setDefaults().

                                                      { 

  setDefaults(ps);
  if (debug()) print();
}
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.

References gather_cfg::cout, debug(), i, m_debug, m_ntsm, m_ntss, setTsmCarryFlag(), setTsmCorrEna(), setTsmCorrEnaCarry(), setTsmGhost1Corr(), setTsmGhost1Flag(), setTsmGhost2Corr(), setTsmGhost2Flag(), setTsmHtrigEna(), setTsmHtrigEnaCarry(), setTsmInOutEna(), setTsmInOutEnaCarry(), setTsmMasking(), setTsmStatus(), setTssCorrEna(), setTssCorrEnaCarry(), setTssGhost1Corr(), setTssGhost1Flag(), setTssGhost2Corr(), setTssGhost2Flag(), setTssHtrigEna(), setTssHtrigEnaCarry(), setTssInOutEna(), setTssInOutEnaCarry(), setTssMasking(), and setUsedTraco().

                                                                                                                           { 

  m_ntss = 0;
  m_ntsm = 0;

  if (ntss == 0)
    return;

  m_debug = debugTS;

  bool tstren[24];
  bool tsscgs2, tsscgs1, tsscce1, tsshte1, tssnoe1, carrytss; 
  bool tsscce2, tsshte2, tssnoe2, tssccec, tsshtec, tssnoec;
  unsigned short  tssgs1, tssgs2, tssmsk1, tssmsk2;

  tsscgs2 = tsscgs1 = tsscce1 = tsshte1 = tssnoe1 = carrytss = 0;
  tsscce2 = tsshte2 = tssnoe2 = tssccec = tsshtec = tssnoec  = 0;
  tssgs1 = tssgs2 = tssmsk1 = tssmsk2 = 0;

  memset(tstren,true,24*sizeof(bool));

  // TSS unpacking
  for (int itss=0; itss<ntss; itss++) {     
    unsigned short int memory_tss[27];

    for(int ts=0;ts<27;ts++){
      memory_tss[ts] = tss_buffer[itss][ts+4];
      //std::cout << std::hex << memory_tss[ts] << " ";
    }
      
    tstren[itss*4]   = !(memory_tss[1]&0x08);
    tstren[itss*4+1] = !(memory_tss[1]&0x80);
    tstren[itss*4+2] = !(memory_tss[2]&0x08);
    tstren[itss*4+3] = !(memory_tss[2]&0x80);

    if(!itss) {
      tsscgs2 = !(memory_tss[0]&0x08);
      tssgs2  = memory_tss[0]&0x04 ? 0 : 1;
      tsscgs1 = !(memory_tss[0]&0x02);
      tssgs1  = memory_tss[0]&0x01 ? 0 : 1;
      tsscce1 = !(memory_tss[4]&0x04); 
      tsshte1 = !(memory_tss[4]&0x02); 
      tssnoe1 = !(memory_tss[4]&0x01);
      tsscce2 = !(memory_tss[3]&0x40); 
      tsshte2 = !(memory_tss[3]&0x20); 
      tssnoe2 = !(memory_tss[3]&0x10); 
      tssccec = !(memory_tss[3]&0x04); 
      tsshtec = !(memory_tss[3]&0x02); 
      tssnoec = !(memory_tss[3]&0x01);
      carrytss= !(memory_tss[4]&0x40);
      tssmsk1  = memory_tss[4]&0x10 ? 132 : 312;
      tssmsk2  = memory_tss[4]&0x20 ? 132 : 312;
    }
    
    m_ntss++;

  }

  // TSM unpacking
  unsigned short int memory_tsms[2], memory_tsmdu[2], memory_tsmdd[2];

  for(int ts=0;ts<2;ts++){
    memory_tsms[ts]  = tsm_buffer[ts+3];
    memory_tsmdu[ts] = tsm_buffer[ts+5];
    memory_tsmdd[ts] = tsm_buffer[ts+7];
    //std::cout << std::hex << memory_tsms[ts] << " " 
    //<< memory_tsmdu[ts] << " " << memory_tsmdd[ts] << " " << std::endl;
  }

  bool tsmcgs1 = true;
  unsigned short  tsmgs1  = memory_tsms[1]&0x02 ? 0 : 1;
  bool tsmcgs2 = true;
  unsigned short  tsmgs2  = 1;
  bool tsmcce1 = true; 
  bool tsmhte1 = true;  
  bool tsmnoe1 = true; 
  bool tsmcce2 = true; 
  bool tsmhte2 = true; 
  bool tsmnoe2 = true;
  bool tsmccec = true; 
  bool tsmhtec = true; 
  bool tsmnoec = true;
  bool carrytsms = !(memory_tsms[1]&0x01);
  unsigned short tsmmsk1  = memory_tsms[1]&0x08 ? 321 : 312;
  unsigned short tsmmsk2  = tsmmsk1;
  bool tsmword[8];
  tsmword[0] = !((memory_tsmdu[0]&0x80)&&(memory_tsmdd[0]&0x80)); 
  tsmword[1] = !(memory_tsms[0]&0x01); 
  tsmword[2] = !(memory_tsms[0]&0x02);
  tsmword[3] = !(memory_tsms[0]&0x04);
  tsmword[4] = !(memory_tsms[0]&0x08); 
  tsmword[5] = !(memory_tsms[0]&0x10);
  tsmword[6] = !(memory_tsms[0]&0x20); 
  tsmword[7] = !(memory_tsms[0]&0x40); 
  bool carrytsmd = !((memory_tsmdu[0]&0x10)&&(memory_tsmdd[0]&0x10));
    
  unsigned short tsmhsp = carrytss && carrytsms && carrytsmd;

  m_ntsm++;

  if (debug()) {
    std::cout << "TSS :" << std::dec << std::endl << "tstren= " ;
    for (int i=0; i<24 ;i++) std::cout << tstren[i] << " ";
    std::cout << " tsscgs1="  << tsscgs1
              << " tssgs1="   << tssgs1
              << " tsscgs2="  << tsscgs2
              << " tssgs2="   << tssgs2
              << " tsscce1="  << tsscce1
              << " tsshte1="  << tsshte1
              << " tssnoe1="  << tssnoe1
              << " tsscce2="  << tsscce2
              << " tsshte2="  << tsshte2
              << " tssnoe2="  << tssnoe2
              << " tssccec="  << tssccec
              << " tsshtec="  << tsshtec
              << " tssnoec="  << tssnoec
              << " carrytss=" << carrytss
              << " tssmsk1="  << tssmsk1
              << " tssmsk2="  << tssmsk2 << std::endl;

    std::cout << "TSM : "<< std::endl
              << "tsmcgs1="  << tsmcgs1
              << " tsmgs1="   << tsmgs1
              << " tsmcgs2="  << tsmcgs2
              << " tsmgs2="   << tsmgs2
              << " tsmcce1="  << tsmcce1
              << " tsmhte1="  << tsmhte1
              << " tsmnoe1="  << tsmnoe1
              << " tsmcce2="  << tsmcce2
              << " tsmhte2="  << tsmhte2
              << " tsmnoe2="  << tsmnoe2
              << " tsmccec="  << tsmccec
              << " tsmhtec="  << tsmhtec
              << " tsmnoec="  << tsmnoec
              << " tsmhsp=" << tsmhsp
              << " carrytsms=" << carrytsms
              << " carrytsmd=" << carrytsmd
              << " tsmword="; 
    for (int i=0;i<8;i++) std::cout << tsmword[i] << " ";
    std::cout << " tsmmsk1="  << tsmmsk1
              << " tsmmsk2="  << tsmmsk2 << std::endl;
  }

  setTssMasking(tssmsk1,1);
  setTssMasking(tssmsk2,2);
  setTssHtrigEna(tsshte1,1);
  setTssHtrigEna(tsshte2,2);
  setTssHtrigEnaCarry(tsshtec);
  setTssInOutEna(tssnoe1,1);
  setTssInOutEna(tssnoe2,2);
  setTssInOutEnaCarry(tssnoec);
  setTssCorrEna(tsscce1,1);
  setTssCorrEna(tsscce2,2);
  setTssCorrEnaCarry(tssccec);
  setTssGhost1Flag(tssgs1);
  setTssGhost2Flag(tssgs2);
  setTssGhost1Corr(tsscgs1);
  setTssGhost2Corr(tsscgs2);

  setTsmMasking(tsmmsk1,1);
  setTsmMasking(tsmmsk2,2);
  setTsmHtrigEna(tsmhte1,1);
  setTsmHtrigEna(tsmhte2,2);
  setTsmHtrigEnaCarry(tsmhtec);
  setTsmInOutEna(tsmnoe1,1);
  setTsmInOutEna(tsmnoe2,2);
  setTsmInOutEnaCarry(tsmnoec);
  setTsmCorrEna(tsmcce1,1);
  setTsmCorrEna(tsmcce2,2);
  setTsmCorrEnaCarry(tsmccec);
  setTsmGhost1Flag(tsmgs1);
  setTsmGhost2Flag(tsmgs2);
  setTsmGhost1Corr(tsmcgs1);
  setTsmGhost2Corr(tsmcgs2);
  setTsmCarryFlag(tsmhsp);

  for (int i=0;i<24;i++) setUsedTraco(i,tstren[i]);
  for (int i=0;i<8;i++) setTsmStatus(i,tsmword[i]);
  
    
}
DTConfigTSPhi::~DTConfigTSPhi ( )

Destructor.

Definition at line 225 of file DTConfigTSPhi.cc.

{}

Member Function Documentation

bool DTConfigTSPhi::checkMask ( unsigned short  msk) [private]

Check mask correctness.

Definition at line 490 of file DTConfigTSPhi.cc.

References i.

Referenced by nValidTSM(), nValidTSS(), and setDefaults().

                                          {
  
  bool hasone = false;
  bool hastwo = false;
  bool hasthree = false;
  for(int i=0;i<3;i++){
    int mynum = msk%10;
    switch (mynum){
    case 1:
      hasone = true;
      break;
    case 2:
      hastwo = true;
      break;
    case 3:
      hasthree =true;
      break;
    }
    msk /= 10;
  }
  if (hasone==true && hastwo==true && hasthree==true) return true;
  return false;

}
bool DTConfigTSPhi::debug ( ) const [inline]

Return the debug flag.

Definition at line 63 of file DTConfigTSPhi.h.

References m_debug.

Referenced by DTConfigTSPhi(), print(), DTTSPhi::runTSPhi(), and setDebug().

{ return m_debug; }
int DTConfigTSPhi::nValidTSM ( )

Number of correctly configured TSS.

Definition at line 478 of file DTConfigTSPhi.cc.

References checkMask(), m_ntsm, TsmGetCarryFlag(), TsmGhost1Flag(), TsmGhost2Flag(), and TsmMasking().

Referenced by DTConfigDBProducer::checkDTCCBConfig().

                         {

  bool isMaskValid = checkMask( TsmMasking(0)) && checkMask(TsmMasking(1));
  bool isGsValid = (TsmGhost1Flag()>=0 && TsmGhost1Flag()<3) && (TsmGhost2Flag()>=0 &&  TsmGhost2Flag()<5);
  bool isCarryValid =  TsmGetCarryFlag()>=0 && TsmGetCarryFlag()<3;
  int nValidTSM = static_cast<int>(isMaskValid && isGsValid && isCarryValid ? m_ntsm : 0); 
  
  return nValidTSM;

}
int DTConfigTSPhi::nValidTSS ( )

Number of correctly configured TSS.

Definition at line 468 of file DTConfigTSPhi.cc.

References checkMask(), m_ntss, TssGhost1Flag(), TssGhost2Flag(), and TssMasking().

Referenced by DTConfigDBProducer::checkDTCCBConfig().

                         {

  bool isMaskValid = checkMask(TssMasking(0)) && checkMask(TssMasking(1));
  bool isGsValid = (TssGhost1Flag()>=0 && TssGhost1Flag()<3) && (TssGhost2Flag()>=0 &&  TssGhost2Flag()<5);
  int nValidTSS = static_cast<int>(isMaskValid && isGsValid ? m_ntss : 0);   

  return nValidTSS;
}
void DTConfigTSPhi::print ( void  ) const

Print the setup.

Definition at line 433 of file DTConfigTSPhi.cc.

References gather_cfg::cout, debug(), i, BitArray< N >::print(), TsmCorrEna(), TsmCorrEnaCarry(), TsmGetCarryFlag(), TsmGhost1Corr(), TsmGhost1Flag(), TsmGhost2Corr(), TsmGhost2Flag(), TsmHtrigEna(), TsmHtrigEnaCarry(), TsmInOutEna(), TsmInOutEnaCarry(), TsmMasking(), TsmStatus(), TssCorrEna(), TssCorrEnaCarry(), TssGhost1Corr(), TssGhost1Flag(), TssGhost2Corr(), TssGhost2Flag(), TssHtrigEna(), TssHtrigEnaCarry(), TssInOutEna(), TssInOutEnaCarry(), TssMasking(), and usedTraco().

Referenced by DTConfigTSPhi().

                           {

  std::cout << "******************************************************************************" << std::endl;
  std::cout << "*              DTTrigger configuration : TSPhi chips                         *" << std::endl;
  std::cout << "******************************************************************************" << std::endl << std::endl;
  std::cout << "Debug flag : " <<  debug() << std::endl;
  std::cout << "               TSS Parameters:" << std::endl;
  std::cout <<  "TSSMSK 1/2:" << TssMasking(0) << " " <<  TssMasking(1) << std::endl;
  std::cout << "TSSHTE 1/2/carry :" << TssHtrigEna(0) << " " << TssHtrigEna(1) << " " << TssHtrigEnaCarry() << std::endl;
  std::cout << "TSSNOE 1/2/carry :" << TssInOutEna(0) << " " << TssInOutEna(1) << " " << TssInOutEnaCarry() << std::endl;
  std::cout << "TSSCCE 1/2/carry :" << TssCorrEna(0)  << " " << TssCorrEna(1)  << " " << TssCorrEnaCarry()  << std::endl;
  std::cout << "TSSGS 1/2:" << TssGhost1Flag() << " " << TssGhost2Flag() << std::endl;
  std::cout << "TSSCGS 1/2:" << TssGhost1Corr() << " " << TssGhost2Corr() << std::endl;
  std::cout << "               TSM Parameters:" << std::endl;
  std::cout << "TSMMSK 1/2:" << TsmMasking(0) << " " <<  TsmMasking(1) << std::endl;
  std::cout << "TSMHTE 1/2/carry :" << TsmHtrigEna(0) << " " << TsmHtrigEna(1) << " " << TsmHtrigEnaCarry() << std::endl;
  std::cout << "TSMNOE 1/2/carry :" << TsmInOutEna(0) << " " << TsmInOutEna(1) << " " << TsmInOutEnaCarry() << std::endl;
  std::cout << "TSMCCE 1/2/carry :" << TsmCorrEna(0)  << " " << TsmCorrEna(1)  << " " << TsmCorrEnaCarry()  << std::endl;
  std::cout << "TSMGS 1/2:" <<  TsmGhost1Flag() << " " << TsmGhost2Flag() << std::endl;
  std::cout << "TSMCGS 1/2:" <<  TsmGhost1Corr() << " " << TsmGhost2Corr() << std::endl;
  std::cout << "TSMHSP :" << TsmGetCarryFlag() << std::endl;
  std::cout << "TSTREN[i] :";
  for (int i=1;i<25;i++) std::cout << usedTraco(i) << " ";
  std::cout << std::endl;
  std::cout << "TSMWORD :";
  TsmStatus().print();
  std::cout << std::endl;
//   int stat=4, sect=5;
//   std::cout << "TSSTSMD(4,14 :" <<  TSSinTSMD(stat,sect) << std::endl;
  std::cout << "******************************************************************************" << std::endl;

}
void DTConfigTSPhi::setDebug ( bool  debug) [inline]

Set debug flag.

Definition at line 146 of file DTConfigTSPhi.h.

References debug(), and m_debug.

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.

References checkMask(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, m_debug, m_ntsm, m_ntss, m_tsmcce, m_tsmcgs1, m_tsmcgs2, m_tsmgs1, m_tsmgs2, m_tsmhsp, m_tsmhte, m_tsmmsk, m_tsmnoe, m_tsmword, m_tsscce, m_tsscgs1, m_tsscgs2, m_tssgs1, m_tssgs2, m_tsshte, m_tssmsk, m_tssnoe, m_tstren, BitArray< N >::one(), and BitArray< N >::unset().

Referenced by DTConfigTSPhi().

                                                    {

  m_ntss = 1; //dummy param used only in DB config
  m_ntsm = 1; //dummy param used only in DB config

  // Debug flag 
  m_debug = ps.getUntrackedParameter<bool>("Debug");
  
  // Order of quaity bits in TSS for sort1
  int mymsk = ps.getParameter<int>("TSSMSK1");
  if (checkMask(mymsk)) 
    m_tssmsk[0] = mymsk;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSSMSK1 not in correct form: " << mymsk << std::endl;
  }
  
  // Order of quaity bits in TSS for sort2
  mymsk= ps.getParameter<int>("TSSMSK2");  
  if (checkMask(mymsk)) 
    m_tssmsk[1] = mymsk;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSSMSK2 not in correct form: " << mymsk << std::endl;
  }
  
  // Htrig checking in TSS for sort1
  m_tsshte[0] = ps.getParameter<bool>("TSSHTE1");
  
  // Htrig checking in TSS for sort2
  m_tsshte[1] = ps.getParameter<bool>("TSSHTE2");

  // Htrig checking in TSS for carry
  m_tsshte[2] = ps.getParameter<bool>("TSSHTEC");

  // Inner SL checking in TSS for sort1
  m_tssnoe[0] = ps.getParameter<bool>("TSSNOE1");
  
  // Inner SL checking in TSS for sort2
  m_tssnoe[1] = ps.getParameter<bool>("TSSNOE2");
 
  // Inner SL checking in TSS for carry
  m_tssnoe[2] = ps.getParameter<bool>("TSSNOEC");

  // Correlation checking in TSS for sort1
  m_tsscce[0] = ps.getParameter<bool>("TSSCCE1");

  // Correlation checking in TSS for sort2
  m_tsscce[1] = ps.getParameter<bool>("TSSCCE2");
 
  // Correlation checking in TSS for carry
  m_tsscce[2] = ps.getParameter<bool>("TSSCCEC");

  // Ghost 1 supperssion option in TSS
  int mygs = ps.getParameter<int>("TSSGS1");
  if (mygs>=0 && mygs<3)
    m_tssgs1 = mygs;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSSGS1 value is not correct: " << mygs << std::endl;
  }
  
  // Ghost 2 supperssion option in TSS
  mygs= ps.getParameter<int>("TSSGS2");
  if (mygs>=0 && mygs<5)
    m_tssgs2 = mygs;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSSGS2 value is not correct: " << mygs << std::endl;
  }

  // Correlated ghost 1 supperssion option in TSS
  m_tsscgs1 = ps.getParameter<bool>("TSSCGS1");
  
  // Correlated ghost 2 supperssion option in TSS
  m_tsscgs2 = ps.getParameter<bool>("TSSCGS2");

  // Order of quaity bits in TSM for sort1
  mymsk = ps.getParameter<int>("TSMMSK1");
  if (checkMask(mymsk)) 
    m_tsmmsk[0] = mymsk;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMMSK1 not in correct form: " << mymsk << std::endl;
  }

  // Order of quaity bits in TSM for sort2
  mymsk= ps.getParameter<int>("TSMMSK2");
  if (checkMask(mymsk)) 
    m_tsmmsk[1] = mymsk;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMMSK2 not in correct form: " << mymsk << std::endl;
  }
  
  // Htrig checking in TSM for sort1
  m_tsmhte[0] = ps.getParameter<bool>("TSMHTE1");
  
  // Htrig checking in TSM for sort2
  m_tsmhte[1] = ps.getParameter<bool>("TSMHTE2");
 
  // Htrig checking in TSM for carry
  m_tsmhte[2] = ps.getParameter<bool>("TSMHTEC");
  
  // Inner SL checking in TSM for sort1
  m_tsmnoe[0] = ps.getParameter<bool>("TSMNOE1");
  
  // Inner SL checking in TSM for sort2
  m_tsmnoe[1] = ps.getParameter<bool>("TSMNOE2");
 
  // Inner SL checking in TSM for carry
  m_tsmnoe[2] = ps.getParameter<bool>("TSMNOEC");

  // Correlation checking in TSM for sort1
  m_tsmcce[0] = ps.getParameter<bool>("TSMCCE1");
  
  // Correlation checking in TSM for sort2
  m_tsmcce[1] = ps.getParameter<bool>("TSMCCE2");
 
  // Correlation checking in TSM for carry
  m_tsmcce[2] = ps.getParameter<bool>("TSMCCEC");

  // Ghost 1 supperssion option in TSM
  mygs = ps.getParameter<int>("TSMGS1");
  if (mygs>=0 && mygs<3)
    m_tsmgs1 = mygs;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMGS1 value is not correct: " << mygs << std::endl;
  }

  // Ghost 2 supperssion option in TSM
  mygs= ps.getParameter<int>("TSMGS2");
  if (mygs>=0 && mygs<5)
    m_tsmgs2 = mygs;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMGS2 value is not correct: " << mygs << std::endl;
  }

  // Correlated ghost 1 supperssion option in TSM
  m_tsmcgs1 = ps.getParameter<bool>("TSMCGS1");
  
  // Correlated ghost 2 supperssion option in TSM
  m_tsmcgs2 = ps.getParameter<bool>("TSMCGS2");

  // Handling carry in case of pile-up
  int myhsp = ps.getParameter<int>("TSMHSP");
  if (myhsp>=0 && myhsp<3)
    m_tsmhsp = myhsp;
  else {
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMHSP value is not correct: " << myhsp << std::endl;
  }

  // Handling TSMS masking parameters
  m_tsmword.one();
  int word = ps.getParameter<int>("TSMWORD");
  if (word<0 || word>255){
    edm::LogVerbatim("DTTPG") << "DTConfigTSPhi::setDefaults : TSMWORD value is not correct: " << word << std::endl;
  }
  for (int i=0;i<7;i++){
    short int bit = word%2;
    word /= 2;
    if (bit==0) m_tsmword.unset(i);
  }

  m_tstren.one();
  for (int i=0;i<24;i++){
    std::stringstream os;
    os << "TSTREN" << i;
    if (ps.getParameter<bool>(os.str())== 0)
      m_tstren.unset(i);
  }
                  
}
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.

References m_tsmhsp.

Referenced by DTConfigTSPhi().

{ m_tsmhsp = tsmhsp; }
void DTConfigTSPhi::setTsmCorrEna ( bool  tsmcce,
int  i 
) [inline]

Enable Correlation checking in TSM for sort1/2.

Definition at line 185 of file DTConfigTSPhi.h.

References m_tsmcce.

Referenced by DTConfigTSPhi().

{ m_tsmcce[i-1] = tsmcce; }
void DTConfigTSPhi::setTsmCorrEnaCarry ( bool  tsmcce) [inline]

Enable Correlation checking in TSM for carry.

Definition at line 188 of file DTConfigTSPhi.h.

References m_tsmcce.

Referenced by DTConfigTSPhi().

{ m_tsmcce[2] = tsmcce; }
void DTConfigTSPhi::setTsmGhost1Corr ( bool  tsmcgs1) [inline]

Correlated ghost 1 suppression option in TSM.

Definition at line 209 of file DTConfigTSPhi.h.

References m_tsmcgs1.

Referenced by DTConfigTSPhi().

{ m_tsmcgs1 = tsmcgs1; }
void DTConfigTSPhi::setTsmGhost1Flag ( unsigned short  tsmgs1) [inline]

Ghost 1 suppression option in TSM.

Definition at line 197 of file DTConfigTSPhi.h.

References m_tsmgs1.

Referenced by DTConfigTSPhi().

{ m_tsmgs1 = tsmgs1; }
void DTConfigTSPhi::setTsmGhost2Corr ( bool  tsmcgs2) [inline]

Correlated ghost 2 suppression option in TSM.

Definition at line 212 of file DTConfigTSPhi.h.

References m_tsmcgs2.

Referenced by DTConfigTSPhi().

{ m_tsmcgs2 = tsmcgs2; }
void DTConfigTSPhi::setTsmGhost2Flag ( unsigned short  tsmgs2) [inline]

Ghost 2 suppression option in TSM.

Definition at line 200 of file DTConfigTSPhi.h.

References m_tsmgs2.

Referenced by DTConfigTSPhi().

{ m_tsmgs2 = tsmgs2; }
void DTConfigTSPhi::setTsmHtrigEna ( bool  tsmhte,
int  i 
) [inline]

Enable Htrig checking in TSM for sort1/2.

Definition at line 173 of file DTConfigTSPhi.h.

References m_tsmhte.

Referenced by DTConfigTSPhi().

{ m_tsmhte[i-1] = tsmhte; }
void DTConfigTSPhi::setTsmHtrigEnaCarry ( bool  tsmhte) [inline]

Enable Htrig checking in TSM for carry.

Definition at line 176 of file DTConfigTSPhi.h.

References m_tsmhte.

Referenced by DTConfigTSPhi().

{ m_tsmhte[2] = tsmhte; }
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.

References m_tsmnoe.

Referenced by DTConfigTSPhi().

{ m_tsmnoe[i-1] = tsmnoe; }
void DTConfigTSPhi::setTsmInOutEnaCarry ( bool  tsmnoe) [inline]

Enable Inner SL checking in TSM for carry.

Definition at line 182 of file DTConfigTSPhi.h.

References m_tsmnoe.

Referenced by DTConfigTSPhi().

{ m_tsmnoe[2] = tsmnoe; }
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.

References m_tsmmsk.

Referenced by DTConfigTSPhi().

{ m_tsmmsk[i-1] = tsmmsk; }
void DTConfigTSPhi::setTsmStatus ( int  i,
int  val 
) [inline]

TSM status.

Definition at line 221 of file DTConfigTSPhi.h.

References m_tsmword, and BitArray< N >::set().

Referenced by DTConfigTSPhi().

{ m_tsmword.set(i,val); };
void DTConfigTSPhi::setTssCorrEna ( bool  tsscce,
int  i 
) [inline]

Enable Correlation checking in TSS for sort1/2.

Definition at line 164 of file DTConfigTSPhi.h.

References m_tsscce.

Referenced by DTConfigTSPhi().

{ m_tsscce[i-1] = tsscce; }
void DTConfigTSPhi::setTssCorrEnaCarry ( bool  tsscce) [inline]

Enable Correlation checking in TSS for.

Definition at line 167 of file DTConfigTSPhi.h.

References m_tsscce.

Referenced by DTConfigTSPhi().

{ m_tsscce[2] = tsscce; }
void DTConfigTSPhi::setTssGhost1Corr ( bool  tsscgs1) [inline]

Correlated ghost 1 suppression option in TSS.

Definition at line 203 of file DTConfigTSPhi.h.

References m_tsscgs1.

Referenced by DTConfigTSPhi().

{ m_tsscgs1 = tsscgs1; }
void DTConfigTSPhi::setTssGhost1Flag ( unsigned short  tssgs1) [inline]

Ghost 1 suppression option in TSS.

Definition at line 191 of file DTConfigTSPhi.h.

References m_tssgs1.

Referenced by DTConfigTSPhi().

{ m_tssgs1 = tssgs1; }
void DTConfigTSPhi::setTssGhost2Corr ( bool  tsscgs2) [inline]

Correlated ghost 2 suppression option in TSS.

Definition at line 206 of file DTConfigTSPhi.h.

References m_tsscgs2.

Referenced by DTConfigTSPhi().

{ m_tsscgs2 = tsscgs2; }
void DTConfigTSPhi::setTssGhost2Flag ( unsigned short  tssgs2) [inline]

Ghost 2 suppression option in TSS.

Definition at line 194 of file DTConfigTSPhi.h.

References m_tssgs2.

Referenced by DTConfigTSPhi().

{ m_tssgs2 = tssgs2; }
void DTConfigTSPhi::setTssHtrigEna ( bool  tsshte,
int  i 
) [inline]

Enable Htrig checking in TSS for sort1/2.

Definition at line 152 of file DTConfigTSPhi.h.

References m_tsshte.

Referenced by DTConfigTSPhi().

{ m_tsshte[i-1] = tsshte; }
void DTConfigTSPhi::setTssHtrigEnaCarry ( bool  tsshte) [inline]

Enable Htrig checking in TSS for carry.

Definition at line 155 of file DTConfigTSPhi.h.

References m_tsshte.

Referenced by DTConfigTSPhi().

{ m_tsshte[2] = tsshte; }
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.

References m_tssnoe.

Referenced by DTConfigTSPhi().

{ m_tssnoe[i-1] = tssnoe; }
void DTConfigTSPhi::setTssInOutEnaCarry ( bool  tssnoe) [inline]

Enable Inner SL checking in TSS for carry.

Definition at line 161 of file DTConfigTSPhi.h.

References m_tssnoe.

Referenced by DTConfigTSPhi().

{ m_tssnoe[2] = tssnoe; }
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.

References m_tssmsk.

Referenced by DTConfigTSPhi().

{ m_tssmsk[i-1] = tssmsk; }
void DTConfigTSPhi::setUsedTraco ( int  i,
int  val 
) [inline]

Enabled TRACOs in TS.

Definition at line 218 of file DTConfigTSPhi.h.

References m_tstren, and BitArray< N >::set().

Referenced by DTConfigTSPhi().

{ m_tstren.set(i,val); }
bool DTConfigTSPhi::TsmCorrEna ( int  i) const [inline]

Enable Correlation checking in TSM for sort1/2.

Definition at line 102 of file DTConfigTSPhi.h.

References i, and m_tsmcce.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmcce[i]; }
bool DTConfigTSPhi::TsmCorrEnaCarry ( ) const [inline]

Enable Correlation checking in TSM for carry.

Definition at line 105 of file DTConfigTSPhi.h.

References m_tsmcce.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmcce[2]; }
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.

References m_tsmhsp.

Referenced by nValidTSM(), print(), and DTTSPhi::runTSPhi().

{ return (int)m_tsmhsp; }
bool DTConfigTSPhi::TsmGhost1Corr ( ) const [inline]

Correlated ghost 1 suppression option in TSM.

Definition at line 126 of file DTConfigTSPhi.h.

References m_tsmcgs1.

Referenced by print().

{ return m_tsmcgs1; }
int DTConfigTSPhi::TsmGhost1Flag ( ) const [inline]

Ghost 1 suppression option in TSM.

Definition at line 114 of file DTConfigTSPhi.h.

References m_tsmgs1.

Referenced by nValidTSM(), print(), and DTTSM::sortTSM1().

{ return (int)m_tsmgs1; }
bool DTConfigTSPhi::TsmGhost2Corr ( ) const [inline]

Correlated ghost 2 suppression option in TSM.

Definition at line 129 of file DTConfigTSPhi.h.

References m_tsmcgs2.

Referenced by print(), and DTTSM::sortTSM2().

{ return m_tsmcgs2; }
int DTConfigTSPhi::TsmGhost2Flag ( ) const [inline]

Ghost 2 suppression option in TSM.

Definition at line 117 of file DTConfigTSPhi.h.

References m_tsmgs2.

Referenced by nValidTSM(), print(), and DTTSM::sortTSM2().

{ return (int)m_tsmgs2; }
bool DTConfigTSPhi::TsmHtrigEna ( int  i) const [inline]

Enable Htrig checking in TSM for sort1/2.

Definition at line 90 of file DTConfigTSPhi.h.

References i, and m_tsmhte.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmhte[i]; }
bool DTConfigTSPhi::TsmHtrigEnaCarry ( ) const [inline]

Enable Htrig checking in TSM for carry.

Definition at line 93 of file DTConfigTSPhi.h.

References m_tsmhte.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmhte[2]; }
bool DTConfigTSPhi::TsmInOutEna ( int  i) const [inline]

Enable Inner SL checking in TSM for sort1/2.

Definition at line 96 of file DTConfigTSPhi.h.

References i, and m_tsmnoe.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmnoe[i]; }
bool DTConfigTSPhi::TsmInOutEnaCarry ( ) const [inline]

Enable Inner SL checking in TSM for carry.

Definition at line 99 of file DTConfigTSPhi.h.

References m_tsmnoe.

Referenced by print(), and DTTSCand::setBitsTsm().

{ return m_tsmnoe[2]; }
int DTConfigTSPhi::TsmMasking ( int  i) const [inline]

Order of quality bits in TSM for sort1/2.

Definition at line 87 of file DTConfigTSPhi.h.

References i, and m_tsmmsk.

Referenced by nValidTSM(), print(), and DTTSCand::setBitsTsm().

{ return (int)m_tsmmsk[i]; }
BitArray<8> DTConfigTSPhi::TsmStatus ( ) const [inline]

TSM status.

Definition at line 138 of file DTConfigTSPhi.h.

References m_tsmword.

Referenced by DTTSPhi::ignoreSecondTrack(), print(), and DTTSPhi::runTSPhi().

{ return m_tsmword; };
bool DTConfigTSPhi::TssCorrEna ( int  i) const [inline]

Enable Correlation checking in TSS for sort1/2.

Definition at line 81 of file DTConfigTSPhi.h.

References i, and m_tsscce.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tsscce[i]; }
bool DTConfigTSPhi::TssCorrEnaCarry ( ) const [inline]

Enable Correlation checking in TSS for carry.

Definition at line 84 of file DTConfigTSPhi.h.

References m_tsscce.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tsscce[2]; }
bool DTConfigTSPhi::TssGhost1Corr ( ) const [inline]

Correlated ghost 1 suppression option in TSS.

Definition at line 120 of file DTConfigTSPhi.h.

References m_tsscgs1.

Referenced by print(), and DTTSS::sortTSS1().

{ return m_tsscgs1; }
int DTConfigTSPhi::TssGhost1Flag ( ) const [inline]

Ghost 1 suppression option in TSS.

Definition at line 108 of file DTConfigTSPhi.h.

References m_tssgs1.

Referenced by nValidTSS(), and print().

{ return (int)m_tssgs1; }
bool DTConfigTSPhi::TssGhost2Corr ( ) const [inline]

Correlated ghost 2 suppression option in TSS.

Definition at line 123 of file DTConfigTSPhi.h.

References m_tsscgs2.

Referenced by print(), and DTTSS::sortTSS2().

{ return m_tsscgs2; }
int DTConfigTSPhi::TssGhost2Flag ( ) const [inline]

Ghost 2 suppression option in TSS.

Definition at line 111 of file DTConfigTSPhi.h.

References m_tssgs2.

Referenced by nValidTSS(), print(), and DTTSS::sortTSS2().

{ return (int)m_tssgs2; }
bool DTConfigTSPhi::TssHtrigEna ( int  i) const [inline]

Enable Htrig checking in TSS for sort1/2.

Definition at line 69 of file DTConfigTSPhi.h.

References i, and m_tsshte.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tsshte[i]; }
bool DTConfigTSPhi::TssHtrigEnaCarry ( ) const [inline]

Enable Htrig checking in TSS for carry.

Definition at line 72 of file DTConfigTSPhi.h.

References m_tsshte.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tsshte[2]; }
bool DTConfigTSPhi::TssInOutEna ( int  i) const [inline]

Enable Inner SL checking in TSS for sort1/2.

Definition at line 75 of file DTConfigTSPhi.h.

References i, and m_tssnoe.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tssnoe[i]; }
bool DTConfigTSPhi::TssInOutEnaCarry ( ) const [inline]

Enable Inner SL checking in TSS for carry.

Definition at line 78 of file DTConfigTSPhi.h.

References m_tssnoe.

Referenced by print(), and DTTSCand::setBitsTss().

{ return m_tssnoe[2]; }
int DTConfigTSPhi::TSSinTSMD ( int  stat,
int  sect 
)

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.

References m_ntsstsmd.

Referenced by DTTSPhi::ignoreSecondTrack(), and DTTSPhi::runTSPhi().

                                           { //CB it should set value when constructor is called (it should be done when we have station by station config)  

  // Number of TSS for each TSMD (it changes from station to station) The DT stations are indicated in parenthesis
  // in the DT column.
  //
  //      MB                    nb.TSS        nb.TTS per TSMD
  //      1                       3             2   
  //      2                       4             2  
  //      3                       5             3  
  //      4(1,2,3,5,6,7)          6             3   
  //      4(8,12)                 6             3   
  //      4(9,11)                 3             2     
  //      4(4L)                   5             3    
  //      4(4R)                   5             3    
  //      4(10L)                  4             2     
  //      4(10R)                  4             2     
  
  if( stat==1 ||
      stat==2 ||
      ( stat==4 && (sect==9 || sect==11 ||
                    sect==10))) {
    m_ntsstsmd = 2;
  } else {
    m_ntsstsmd = 3;
  }

  return (int)m_ntsstsmd;

}
int DTConfigTSPhi::TssMasking ( int  i) const [inline]

Order of quality bits in TSS for sort1/2.

Definition at line 66 of file DTConfigTSPhi.h.

References i, and m_tssmsk.

Referenced by nValidTSS(), print(), DTTSCand::setBitsTsm(), and DTTSCand::setBitsTss().

{ return (int)m_tssmsk[i]; }
bool DTConfigTSPhi::usedTraco ( int  i) const [inline]

Enabled TRACOs in TS.

Definition at line 135 of file DTConfigTSPhi.h.

References BitArray< N >::element(), and m_tstren.

Referenced by DTTSPhi::loadTSPhi(), and print().

{ return (bool) m_tstren.element(i-1); }

Member Data Documentation

bool DTConfigTSPhi::m_debug [private]

Definition at line 240 of file DTConfigTSPhi.h.

Referenced by debug(), DTConfigTSPhi(), setDebug(), and setDefaults().

short int DTConfigTSPhi::m_ntsm [private]

Definition at line 269 of file DTConfigTSPhi.h.

Referenced by DTConfigTSPhi(), nValidTSM(), and setDefaults().

short int DTConfigTSPhi::m_ntss [private]

Definition at line 268 of file DTConfigTSPhi.h.

Referenced by DTConfigTSPhi(), nValidTSS(), and setDefaults().

unsigned short int DTConfigTSPhi::m_ntsstsmd [private]

Definition at line 266 of file DTConfigTSPhi.h.

Referenced by TSSinTSMD().

bool DTConfigTSPhi::m_tsmcce[3] [private]
bool DTConfigTSPhi::m_tsmcgs1 [private]

Definition at line 259 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmGhost1Corr(), and TsmGhost1Corr().

bool DTConfigTSPhi::m_tsmcgs2 [private]

Definition at line 260 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmGhost2Corr(), and TsmGhost2Corr().

unsigned short int DTConfigTSPhi::m_tsmgs1 [private]

Definition at line 257 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmGhost1Flag(), and TsmGhost1Flag().

unsigned short int DTConfigTSPhi::m_tsmgs2 [private]

Definition at line 258 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmGhost2Flag(), and TsmGhost2Flag().

unsigned short int DTConfigTSPhi::m_tsmhsp [private]

Definition at line 261 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmCarryFlag(), and TsmGetCarryFlag().

bool DTConfigTSPhi::m_tsmhte[3] [private]
unsigned short int DTConfigTSPhi::m_tsmmsk[2] [private]

Definition at line 253 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmMasking(), and TsmMasking().

bool DTConfigTSPhi::m_tsmnoe[3] [private]

Definition at line 265 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTsmStatus(), and TsmStatus().

bool DTConfigTSPhi::m_tsscce[3] [private]
bool DTConfigTSPhi::m_tsscgs1 [private]

Definition at line 249 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTssGhost1Corr(), and TssGhost1Corr().

bool DTConfigTSPhi::m_tsscgs2 [private]

Definition at line 250 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTssGhost2Corr(), and TssGhost2Corr().

unsigned short int DTConfigTSPhi::m_tssgs1 [private]

Definition at line 247 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTssGhost1Flag(), and TssGhost1Flag().

unsigned short int DTConfigTSPhi::m_tssgs2 [private]

Definition at line 248 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTssGhost2Flag(), and TssGhost2Flag().

bool DTConfigTSPhi::m_tsshte[3] [private]
unsigned short int DTConfigTSPhi::m_tssmsk[2] [private]

Definition at line 243 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setTssMasking(), and TssMasking().

bool DTConfigTSPhi::m_tssnoe[3] [private]

Definition at line 264 of file DTConfigTSPhi.h.

Referenced by setDefaults(), setUsedTraco(), and usedTraco().

const int DTConfigTSPhi::NTSMD = 2 [static]

Constant: number of TSMD.

Definition at line 45 of file DTConfigTSPhi.h.

Referenced by DTTSPhi::DTTSPhi(), and DTTSPhi::runTSPhi().

const int DTConfigTSPhi::NTSSTSM = 7 [static]

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

Definition at line 42 of file DTConfigTSPhi.h.

Referenced by DTTSPhi::addTracoT(), DTTSM::DTTSM(), DTTSPhi::DTTSPhi(), and DTTSPhi::ignoreSecondTrack().

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.

Referenced by DTTSPhi::runTSPhi().