CMS 3D CMS Logo

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

DTConfigTSTheta Class Reference

#include <DTConfigTSTheta.h>

Inheritance diagram for DTConfigTSTheta:
DTConfig

List of all members.

Public Member Functions

bool debug () const
 Return the debug flag.
 DTConfigTSTheta (const edm::ParameterSet &ps)
 Constructor.
 DTConfigTSTheta ()
 Constructor.
void print () const
 Print the setup.
void setDebug (bool debug)
 Set debug flag.
 ~DTConfigTSTheta ()
 Destructor.

Static Public Attributes

static const int NCELLTH = 57
 Constants: number of cell (BTI) in theta view planes.

Private Member Functions

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

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().

                                                          { 

  setDefaults(ps);

}
DTConfigTSTheta::DTConfigTSTheta ( )

Constructor.

Definition at line 37 of file DTConfigTSTheta.cc.

                                 : m_debug(false) {

}
DTConfigTSTheta::~DTConfigTSTheta ( )

Destructor.

Definition at line 44 of file DTConfigTSTheta.cc.

{}

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().

{ 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().

                             {

  std::cout << "******************************************************************************" << std::endl;
  std::cout << "*              DTTrigger configuration : TSTheta chips                       *" << std::endl;
  std::cout << "******************************************************************************" << std::endl;
  std::cout << "*                                                                            *" << std::endl;
  std::cout << "Debug flag : " <<  debug() << std::endl;
  std::cout << "******************************************************************************" << std::endl;

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

Set debug flag.

Definition at line 61 of file DTConfigTSTheta.h.

References debug(), and m_debug.

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().

                                                      {

  // Debug flag 
  m_debug = ps.getUntrackedParameter<bool>("Debug");

}

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.