CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
DTConfigTSTheta Class Reference

#include <DTConfigTSTheta.h>

Inheritance diagram for DTConfigTSTheta:
DTConfig

Public Member Functions

bool debug () const
 Return the debug flag. More...
 
 DTConfigTSTheta (const edm::ParameterSet &ps)
 Constructor. More...
 
 DTConfigTSTheta ()
 Constructor. More...
 
void print () const
 Print the setup. More...
 
void setDebug (bool debug)
 Set debug flag. More...
 
 ~DTConfigTSTheta () override
 Destructor. More...
 
- Public Member Functions inherited from DTConfig
 DTConfig ()
 Constructor. More...
 
virtual ~DTConfig ()
 Destructor. More...
 

Static Public Attributes

static const int NCELLTH = 57
 Constants: number of cell (BTI) in theta view planes. 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

void setDefaults (const edm::ParameterSet &ps)
 Load pset values into class variables. More...
 

Private Attributes

bool m_debug
 

Detailed Description

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

Author
c. Battilana

Definition at line 35 of file DTConfigTSTheta.h.

Constructor & Destructor Documentation

◆ DTConfigTSTheta() [1/2]

DTConfigTSTheta::DTConfigTSTheta ( const edm::ParameterSet ps)

Constructor.

Definition at line 31 of file DTConfigTSTheta.cc.

References setDefaults().

31 { setDefaults(ps); }
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.

◆ DTConfigTSTheta() [2/2]

DTConfigTSTheta::DTConfigTSTheta ( )

Constructor.

Definition at line 33 of file DTConfigTSTheta.cc.

33 : m_debug(false) {}

◆ ~DTConfigTSTheta()

DTConfigTSTheta::~DTConfigTSTheta ( )
override

Destructor.

Definition at line 38 of file DTConfigTSTheta.cc.

38 {}

Member Function Documentation

◆ debug()

bool DTConfigTSTheta::debug ( ) const
inline

Return the debug flag.

Definition at line 53 of file DTConfigTSTheta.h.

References m_debug.

Referenced by print(), and setDebug().

53 { return m_debug; }

◆ print()

void DTConfigTSTheta::print ( void  ) const

Print the setup.

Definition at line 49 of file DTConfigTSTheta.cc.

References gather_cfg::cout, and debug().

Referenced by DTConfigTester::analyze().

49  {
50  std::cout << "******************************************************************************" << std::endl;
51  std::cout << "* DTTrigger configuration : TSTheta chips *" << std::endl;
52  std::cout << "******************************************************************************" << std::endl;
53  std::cout << "* *" << std::endl;
54  std::cout << "Debug flag : " << debug() << std::endl;
55  std::cout << "******************************************************************************" << std::endl;
56 }
bool debug() const
Return the debug flag.

◆ setDebug()

void DTConfigTSTheta::setDebug ( bool  debug)
inline

Set debug flag.

Definition at line 59 of file DTConfigTSTheta.h.

References debug(), and m_debug.

59 { m_debug = debug; }
bool debug() const
Return the debug flag.

◆ setDefaults()

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

Load pset values into class variables.

Definition at line 44 of file DTConfigTSTheta.cc.

References edm::ParameterSet::getUntrackedParameter(), and m_debug.

Referenced by DTConfigTSTheta().

44  {
45  // Debug flag
46  m_debug = ps.getUntrackedParameter<bool>("Debug");
47 }
T getUntrackedParameter(std::string const &, T const &) const

Member Data Documentation

◆ m_debug

bool DTConfigTSTheta::m_debug
private

Definition at line 65 of file DTConfigTSTheta.h.

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

◆ NCELLTH

const int DTConfigTSTheta::NCELLTH = 57
static

Constants: number of cell (BTI) in theta view planes.

Definition at line 41 of file DTConfigTSTheta.h.