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
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 ()
 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::DTConfigTSTheta ( const edm::ParameterSet ps)

Constructor.

Definition at line 31 of file DTConfigTSTheta.cc.

References setDefaults().

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

Constructor.

Definition at line 37 of file DTConfigTSTheta.cc.

37  : m_debug(false) {
38 
39 }
DTConfigTSTheta::~DTConfigTSTheta ( )

Destructor.

Definition at line 44 of file DTConfigTSTheta.cc.

44 {}

Member Function Documentation

bool DTConfigTSTheta::debug ( ) const
inline

Return the debug flag.

Definition at line 55 of file DTConfigTSTheta.h.

References m_debug.

Referenced by print(), and setDebug().

55 { return m_debug; }
void DTConfigTSTheta::print ( void  ) const

Print the setup.

Definition at line 59 of file DTConfigTSTheta.cc.

References gather_cfg::cout, and debug().

59  {
60 
61  std::cout << "******************************************************************************" << std::endl;
62  std::cout << "* DTTrigger configuration : TSTheta chips *" << std::endl;
63  std::cout << "******************************************************************************" << std::endl;
64  std::cout << "* *" << std::endl;
65  std::cout << "Debug flag : " << debug() << std::endl;
66  std::cout << "******************************************************************************" << std::endl;
67 
68 }
bool debug() const
Return the debug flag.
tuple cout
Definition: gather_cfg.py:121
void DTConfigTSTheta::setDebug ( bool  debug)
inline

Set debug flag.

Definition at line 61 of file DTConfigTSTheta.h.

References debug(), and m_debug.

61 { m_debug=debug; }
bool debug() const
Return the debug flag.
void DTConfigTSTheta::setDefaults ( const edm::ParameterSet ps)
private

Load pset values into class variables.

Definition at line 51 of file DTConfigTSTheta.cc.

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

Referenced by DTConfigTSTheta().

51  {
52 
53  // Debug flag
54  m_debug = ps.getUntrackedParameter<bool>("Debug");
55 
56 }
T getUntrackedParameter(std::string const &, T const &) const

Member Data Documentation

bool DTConfigTSTheta::m_debug
private

Definition at line 68 of file DTConfigTSTheta.h.

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

const int DTConfigTSTheta::NCELLTH =57
static

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

Definition at line 43 of file DTConfigTSTheta.h.