CMS 3D CMS Logo

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

L1MuDTTFConfig Class Reference

#include <L1MuDTTFConfig.h>

List of all members.

Public Member Functions

 L1MuDTTFConfig (const edm::ParameterSet &ps)
 constructor
virtual ~L1MuDTTFConfig ()
 destructor

Static Public Member Functions

static bool Debug ()
static bool Debug (int level)
static int getBxMax ()
static int getBxMin ()
static edm::InputTag getCSCTrSInputTag ()
static int getDebugLevel ()
static edm::InputTag getDTDigiInputTag ()
static bool getEtaTF ()
static int getExtTSFilter ()
static int getNbitsExtPhi ()
static int getNbitsExtPhib ()
static int getNbitsPhiPhi ()
static int getNbitsPhiPhib ()
static int getNbitsPtaPhi ()
static int getNbitsPtaPhib ()
static bool getopenLUTs ()
static bool getTSOutOfTimeFilter ()
static int getTSOutOfTimeWindow ()
static bool getUseEX21 ()
static bool overlap ()
static void setDebugLevel (int level)

Private Member Functions

void setDefaults ()

Private Attributes

const edm::ParameterSetm_ps

Static Private Attributes

static int m_BxMax = 7
static int m_BxMin = -9
static edm::InputTag m_CSCTrSInputTag = edm::InputTag()
static int m_dbgLevel = -1
static bool m_debug = false
static edm::InputTag m_DTDigiInputTag = edm::InputTag()
static bool m_etaTF = true
static int m_extTSFilter = 1
static int m_NbitsExtPhi = 8
static int m_NbitsExtPhib = 8
static int m_NbitsPhiPhi = 10
static int m_NbitsPhiPhib = 10
static int m_NbitsPtaPhi = 12
static int m_NbitsPtaPhib = 10
static bool m_openLUTs = false
static bool m_overlap = true
static bool m_TSOutOfTimeFilter = false
static int m_TSOutOfTimeWindow = 1
static bool m_useEX21 = false

Detailed Description

Configuration parameters for L1MuDTTrackFinder

Date:
2010/02/11 00:12:32
Revision:
1.5

N. Neumeister CERN EP

Definition at line 39 of file L1MuDTTFConfig.h.


Constructor & Destructor Documentation

L1MuDTTFConfig::L1MuDTTFConfig ( const edm::ParameterSet ps)

constructor

Definition at line 44 of file L1MuDTTFConfig.cc.

                                                         { 
    
    m_ps = &ps;
    setDefaults(); 

}
L1MuDTTFConfig::~L1MuDTTFConfig ( ) [virtual]

destructor

Definition at line 55 of file L1MuDTTFConfig.cc.

{}

Member Function Documentation

static bool L1MuDTTFConfig::Debug ( ) [inline, static]
static bool L1MuDTTFConfig::Debug ( int  level) [inline, static]

Definition at line 53 of file L1MuDTTFConfig.h.

References m_dbgLevel, and m_debug.

{ return (m_debug && m_dbgLevel >= level); }
static int L1MuDTTFConfig::getBxMax ( ) [inline, static]

Definition at line 59 of file L1MuDTTFConfig.h.

References m_BxMax.

Referenced by CSCTFDTReceiver::process(), and L1MuDTTrackFinder::run().

{ return m_BxMax; }
static int L1MuDTTFConfig::getBxMin ( ) [inline, static]

Definition at line 58 of file L1MuDTTFConfig.h.

References m_BxMin.

Referenced by CSCTFDTReceiver::process(), and L1MuDTTrackFinder::run().

{ return m_BxMin; }
static edm::InputTag L1MuDTTFConfig::getCSCTrSInputTag ( ) [inline, static]

Definition at line 50 of file L1MuDTTFConfig.h.

References m_CSCTrSInputTag.

Referenced by L1MuDTSectorReceiver::receiveCSCData().

{ return m_CSCTrSInputTag; }
static int L1MuDTTFConfig::getDebugLevel ( ) [inline, static]

Definition at line 56 of file L1MuDTTFConfig.h.

References m_dbgLevel.

{ return m_dbgLevel; }
static edm::InputTag L1MuDTTFConfig::getDTDigiInputTag ( ) [inline, static]
static bool L1MuDTTFConfig::getEtaTF ( ) [inline, static]

Definition at line 64 of file L1MuDTTFConfig.h.

References m_etaTF.

Referenced by L1MuDTEtaProcessor::run().

{ return m_etaTF; }
static int L1MuDTTFConfig::getExtTSFilter ( ) [inline, static]

Definition at line 61 of file L1MuDTTFConfig.h.

References m_extTSFilter.

Referenced by L1MuDTEUX::setPrecision().

{ return m_extTSFilter; } 
static int L1MuDTTFConfig::getNbitsExtPhi ( ) [inline, static]

Definition at line 67 of file L1MuDTTFConfig.h.

References m_NbitsExtPhi.

Referenced by L1MuDTSectorReceiver::receiveDTBXData(), and L1MuDTEUX::setPrecision().

{ return m_NbitsExtPhi; }
static int L1MuDTTFConfig::getNbitsExtPhib ( ) [inline, static]

Definition at line 68 of file L1MuDTTFConfig.h.

References m_NbitsExtPhib.

Referenced by L1MuDTEUX::setPrecision().

{ return m_NbitsExtPhib; }
static int L1MuDTTFConfig::getNbitsPhiPhi ( ) [inline, static]

Definition at line 71 of file L1MuDTTFConfig.h.

References m_NbitsPhiPhi.

Referenced by L1MuDTAssignmentUnit::PhiAU().

{ return m_NbitsPhiPhi; }
static int L1MuDTTFConfig::getNbitsPhiPhib ( ) [inline, static]

Definition at line 72 of file L1MuDTTFConfig.h.

References m_NbitsPhiPhib.

Referenced by L1MuDTAssignmentUnit::PhiAU().

{ return m_NbitsPhiPhib; }        
static int L1MuDTTFConfig::getNbitsPtaPhi ( ) [inline, static]

Definition at line 69 of file L1MuDTTFConfig.h.

References m_NbitsPtaPhi.

Referenced by L1MuDTAssignmentUnit::setPrecision().

{ return m_NbitsPtaPhi; }
static int L1MuDTTFConfig::getNbitsPtaPhib ( ) [inline, static]

Definition at line 70 of file L1MuDTTFConfig.h.

References m_NbitsPtaPhib.

Referenced by L1MuDTAssignmentUnit::setPrecision().

{ return m_NbitsPtaPhib; }
static bool L1MuDTTFConfig::getopenLUTs ( ) [inline, static]

Definition at line 62 of file L1MuDTTFConfig.h.

References m_openLUTs.

Referenced by L1MuDTEUX::run().

{ return m_openLUTs; } 
static bool L1MuDTTFConfig::getTSOutOfTimeFilter ( ) [inline, static]

Definition at line 65 of file L1MuDTTFConfig.h.

References m_TSOutOfTimeFilter.

Referenced by L1MuDTSectorReceiver::receiveDTBXData().

{ return m_TSOutOfTimeFilter; }
static int L1MuDTTFConfig::getTSOutOfTimeWindow ( ) [inline, static]

Definition at line 66 of file L1MuDTTFConfig.h.

References m_TSOutOfTimeWindow.

Referenced by L1MuDTSectorReceiver::receiveDTBXData().

{ return m_TSOutOfTimeWindow; }
static bool L1MuDTTFConfig::getUseEX21 ( ) [inline, static]

Definition at line 63 of file L1MuDTTFConfig.h.

References m_useEX21.

Referenced by L1MuDTExtrapolationUnit::run().

{ return m_useEX21; }
static bool L1MuDTTFConfig::overlap ( ) [inline, static]

Definition at line 60 of file L1MuDTTFConfig.h.

References m_overlap.

Referenced by L1MuDTSectorReceiver::run().

{ return m_overlap; }
static void L1MuDTTFConfig::setDebugLevel ( int  level) [inline, static]

Definition at line 55 of file L1MuDTTFConfig.h.

References testEve_cfg::level, and m_dbgLevel.

void L1MuDTTFConfig::setDefaults ( ) [private]

Definition at line 62 of file L1MuDTTFConfig.cc.

References gather_cfg::cout, and Debug.

                                 {

  m_DTDigiInputTag = m_ps->getParameter<edm::InputTag>("DTDigi_Source");
  m_CSCTrSInputTag = m_ps->getParameter<edm::InputTag>("CSCStub_Source");

  m_debug = true;
  m_dbgLevel = m_ps->getUntrackedParameter<int>("Debug",0);

  m_overlap = m_ps->getUntrackedParameter<bool>("Overlap",true);

  // set min and max bunch crossing
  m_BxMin = m_ps->getUntrackedParameter<int>("BX_min",-9);
  m_BxMax = m_ps->getUntrackedParameter<int>("BX_max", 7);

  // set Filter for Extrapolator
  m_extTSFilter = m_ps->getUntrackedParameter<int>("Extrapolation_Filter",1);

  // set switch for open LUTs usage
  m_openLUTs = m_ps->getUntrackedParameter<bool>("Open_LUTs",false);

  // set switch for EX21 usage
  m_useEX21 = m_ps->getUntrackedParameter<bool>("Extrapolation_21",false);

  // set switch for eta track finder usage
  m_etaTF = m_ps->getUntrackedParameter<bool>("EtaTrackFinder",true);

  // set Filter for Out-of-time Track Segments
  m_TSOutOfTimeFilter = m_ps->getUntrackedParameter<bool>("OutOfTime_Filter",false);
  m_TSOutOfTimeWindow = m_ps->getUntrackedParameter<int>("OutOfTime_Filter_Window",1);

  // set precision for extrapolation
  m_NbitsExtPhi  = m_ps->getUntrackedParameter<int>("Extrapolation_nbits_Phi", 8);
  m_NbitsExtPhib = m_ps->getUntrackedParameter<int>("Extrapolation_nbits_PhiB",8);

  // set precision for pt-assignment
  m_NbitsPtaPhi  = m_ps->getUntrackedParameter<int>("PT_Assignment_nbits_Phi", 12);
  m_NbitsPtaPhib = m_ps->getUntrackedParameter<int>("PT_Assignment_nbits_PhiB",10);

  // set precision for phi-assignment look-up tables
  m_NbitsPhiPhi  = m_ps->getUntrackedParameter<int>("PHI_Assignment_nbits_Phi", 10);
  m_NbitsPhiPhib = m_ps->getUntrackedParameter<int>("PHI_Assignment_nbits_PhiB",10);

  if ( Debug(1) ) cout << endl;
  if ( Debug(1) ) cout << "*******************************************" << endl;  
  if ( Debug(1) ) cout << "**** L1 barrel Track Finder settings : ****" << endl;
  if ( Debug(1) ) cout << "*******************************************" << endl;
  if ( Debug(1) ) cout << endl;
  
  if ( Debug(1) ) cout << "L1 barrel Track Finder : DT Digi Source:  " <<  m_DTDigiInputTag << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : CSC Stub Source: " <<  m_CSCTrSInputTag << endl;
  if ( Debug(1) ) cout << endl;

  if ( Debug(1) ) cout << "L1 barrel Track Finder : debug level: " << m_dbgLevel << endl;

  if ( Debug(1) && m_overlap ) {
    cout << "L1 barrel Track Finder : barrel-endcap overlap region : on" << endl;
  }
  if ( Debug(1) && !m_overlap ) { 
    cout << "L1 barrel Track Finder : barrel-endcap overlap region : off" << endl;
  }

  if ( Debug(1) ) cout << "L1 barrel Track Finder : minimal bunch-crossing : " << m_BxMin << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : maximal bunch-crossing : " << m_BxMax << endl;

  if ( Debug(1) ) cout << "L1 barrel Track Finder : Extrapolation Filter : " << m_extTSFilter << endl;

  if ( Debug(1) && m_openLUTs) {
    cout << "L1 barrel Track Finder : use open LUTs : on" << endl;
  }
  if ( Debug(1) && !m_openLUTs) {
    cout << "L1 barrel Track Finder : use open LUTs : off" << endl;
  }

  if ( Debug(1) && m_useEX21 ) {
    cout << "L1 barrel Track Finder : use EX21 extrapolations : on" << endl;
  }
  if ( Debug(1) && !m_useEX21 ) {
    cout << "L1 barrel Track Finder : use EX21 extrapolations : off" << endl;
  }

  if ( Debug(1) && m_etaTF ) {
    cout << "L1 barrel Track Finder : Eta Track Finder : on" << endl;
  }
  if ( Debug(1) && !m_etaTF ) {
    cout << "L1 barrel Track Finder : Eta Track Finder : off" << endl;
  }

  if ( Debug(1) && m_TSOutOfTimeFilter ) {
    cout << "L1 barrel Track Finder : out-of-time TS filter : on" << endl;
    cout << "L1 barrel Track Finder : out-of-time TS filter window : " << m_TSOutOfTimeWindow << endl;
  }
  if ( Debug(1) && !m_TSOutOfTimeFilter ) {
    cout << "L1 barrel Track Finder : out-of-time TS filter : off" << endl;
  }

  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi  (extrapolation)  : " << m_NbitsExtPhi << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (extrapolation)  : " << m_NbitsExtPhib << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi  (pt-assignment)  : " << m_NbitsPtaPhi << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (pt-assignment)  : " << m_NbitsPtaPhib << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi  (phi-assignment) : " << m_NbitsPhiPhi << endl;
  if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (phi-assignment) : " << m_NbitsPhiPhib << endl;

}

Member Data Documentation

int L1MuDTTFConfig::m_BxMax = 7 [static, private]

Definition at line 91 of file L1MuDTTFConfig.h.

Referenced by getBxMax().

int L1MuDTTFConfig::m_BxMin = -9 [static, private]

Definition at line 90 of file L1MuDTTFConfig.h.

Referenced by getBxMin().

Definition at line 83 of file L1MuDTTFConfig.h.

Referenced by getCSCTrSInputTag().

int L1MuDTTFConfig::m_dbgLevel = -1 [static, private]

Definition at line 86 of file L1MuDTTFConfig.h.

Referenced by Debug(), getDebugLevel(), and setDebugLevel().

bool L1MuDTTFConfig::m_debug = false [static, private]

Definition at line 85 of file L1MuDTTFConfig.h.

Referenced by Debug().

Definition at line 82 of file L1MuDTTFConfig.h.

Referenced by getDTDigiInputTag().

bool L1MuDTTFConfig::m_etaTF = true [static, private]

Definition at line 99 of file L1MuDTTFConfig.h.

Referenced by getEtaTF().

int L1MuDTTFConfig::m_extTSFilter = 1 [static, private]

Definition at line 93 of file L1MuDTTFConfig.h.

Referenced by getExtTSFilter().

int L1MuDTTFConfig::m_NbitsExtPhi = 8 [static, private]

Definition at line 104 of file L1MuDTTFConfig.h.

Referenced by getNbitsExtPhi().

int L1MuDTTFConfig::m_NbitsExtPhib = 8 [static, private]

Definition at line 105 of file L1MuDTTFConfig.h.

Referenced by getNbitsExtPhib().

int L1MuDTTFConfig::m_NbitsPhiPhi = 10 [static, private]

Definition at line 108 of file L1MuDTTFConfig.h.

Referenced by getNbitsPhiPhi().

int L1MuDTTFConfig::m_NbitsPhiPhib = 10 [static, private]

Definition at line 109 of file L1MuDTTFConfig.h.

Referenced by getNbitsPhiPhib().

int L1MuDTTFConfig::m_NbitsPtaPhi = 12 [static, private]

Definition at line 106 of file L1MuDTTFConfig.h.

Referenced by getNbitsPtaPhi().

int L1MuDTTFConfig::m_NbitsPtaPhib = 10 [static, private]

Definition at line 107 of file L1MuDTTFConfig.h.

Referenced by getNbitsPtaPhib().

bool L1MuDTTFConfig::m_openLUTs = false [static, private]

Definition at line 95 of file L1MuDTTFConfig.h.

Referenced by getopenLUTs().

bool L1MuDTTFConfig::m_overlap = true [static, private]

Definition at line 88 of file L1MuDTTFConfig.h.

Referenced by overlap().

Definition at line 80 of file L1MuDTTFConfig.h.

bool L1MuDTTFConfig::m_TSOutOfTimeFilter = false [static, private]

Definition at line 101 of file L1MuDTTFConfig.h.

Referenced by getTSOutOfTimeFilter().

int L1MuDTTFConfig::m_TSOutOfTimeWindow = 1 [static, private]

Definition at line 102 of file L1MuDTTFConfig.h.

Referenced by getTSOutOfTimeWindow().

bool L1MuDTTFConfig::m_useEX21 = false [static, private]

Definition at line 97 of file L1MuDTTFConfig.h.

Referenced by getUseEX21().