CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
DTSectCollThSegm Class Reference

#include <DTSectCollThSegm.h>

Inheritance diagram for DTSectCollThSegm:
DTTrigData

Public Member Functions

DTChamberId ChamberId () const
 Identifier of the associated chamber. More...
 
void clear ()
 Clear. More...
 
int code (const int i) const
 Return the code for a given set of 7 BTI. More...
 
 DTSectCollThSegm (DTSectCollId, int, const DTChambThSegm *)
 Constructor. More...
 
 DTSectCollThSegm (const DTSectCollThSegm &seg)
 Constructor. More...
 
DTSectCollThSegmoperator= (const DTSectCollThSegm &seg)
 Assignment operator. More...
 
int position (const int i) const
 Return the position for a given set of 7 BTI. More...
 
void print () const
 Print. More...
 
int quality (const int i) const
 Return the quality for a given set of 7 BTI. More...
 
DTSectCollId SCId () const
 Identifier of the associated chamber. More...
 
int step () const
 Return step number. More...
 
 ~DTSectCollThSegm ()
 Destructor. More...
 
- Public Member Functions inherited from DTTrigData
 DTTrigData ()
 Constructor. More...
 
int sector () const
 Return sector number. More...
 
int station () const
 Return station number. More...
 
int wheel () const
 Return wheel number. More...
 
virtual ~DTTrigData ()
 Destructor. More...
 

Private Attributes

DTSectCollId m_sectcollid
 parent sector collector More...
 
myint8 m_step
 step number More...
 
const DTChambThSegmm_tsthetatrig
 the corresponding TS theta trigger More...
 

Detailed Description

Muon Sector Collector Trigger Theta candidate

Date:
2007/04/27 08:45:51
Revision:
1.3
Author
C. Battilana

Definition at line 41 of file DTSectCollThSegm.h.

Constructor & Destructor Documentation

DTSectCollThSegm::DTSectCollThSegm ( DTSectCollId  scid,
int  step,
const DTChambThSegm tstheta_seg 
)

Constructor.

Definition at line 32 of file DTSectCollThSegm.cc.

33  :
34  m_sectcollid(scid), m_step(step), m_tsthetatrig(tstheta_seg) {
35 }
int step() const
Return step number.
myint8 m_step
step number
DTSectCollId m_sectcollid
parent sector collector
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
DTSectCollThSegm::DTSectCollThSegm ( const DTSectCollThSegm seg)

Constructor.

Definition at line 37 of file DTSectCollThSegm.cc.

37  :
39 }
myint8 m_step
step number
DTSectCollId m_sectcollid
parent sector collector
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
DTSectCollThSegm::~DTSectCollThSegm ( )

Destructor.

Definition at line 44 of file DTSectCollThSegm.cc.

44  {
45 }

Member Function Documentation

DTChamberId DTSectCollThSegm::ChamberId ( ) const
inlinevirtual

Identifier of the associated chamber.

Implements DTTrigData.

Definition at line 67 of file DTSectCollThSegm.h.

References DTChambThSegm::ChamberId(), and m_tsthetatrig.

67 { return m_tsthetatrig->ChamberId(); }
DTChamberId ChamberId() const
Identifier of the associated chamber.
Definition: DTChambThSegm.h:65
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
void DTSectCollThSegm::clear ( )

Clear.

int DTSectCollThSegm::code ( const int  i) const
inline

Return the code for a given set of 7 BTI.

Definition at line 73 of file DTSectCollThSegm.h.

References DTChambThSegm::code(), and m_tsthetatrig.

73 { return m_tsthetatrig->code(i); } ;
int i
Definition: DBlmapReader.cc:9
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
int code(const int i) const
Return the code for a given set of 7 BTI.
DTSectCollThSegm & DTSectCollThSegm::operator= ( const DTSectCollThSegm seg)

Assignment operator.

Definition at line 52 of file DTSectCollThSegm.cc.

References m_sectcollid, m_step, and m_tsthetatrig.

52  {
53  if(this != &seg){
55  m_step = seg.m_step;
57  }
58  return *this;
59 }
myint8 m_step
step number
DTSectCollId m_sectcollid
parent sector collector
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
int DTSectCollThSegm::position ( const int  i) const
inline

Return the position for a given set of 7 BTI.

Definition at line 76 of file DTSectCollThSegm.h.

References m_tsthetatrig, and DTChambThSegm::position().

Referenced by print().

76 { return m_tsthetatrig->position(i); } ;
int i
Definition: DBlmapReader.cc:9
int position(const int i) const
Return the position for a given set of 7 BTI.
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
void DTSectCollThSegm::print ( void  ) const
virtual

Print.

Implements DTTrigData.

Definition at line 62 of file DTSectCollThSegm.cc.

References gather_cfg::cout, i, position(), quality(), DTTrigData::sector(), DTTrigData::station(), step(), and DTTrigData::wheel().

62  {
63  std::cout << "TP at step " << step() << ", in wheel " << wheel();
64  std::cout << ", station " << station() << ", sector " << sector();
65  std::cout << " : " << std::endl;
66  std::cout << " output codes : ";
67  int i=0;
68  for(i=0;i<7;i++){
69  std::cout << (int)(position(i)+quality(i)) << " ";
70  }
71  std::cout << "\n";
72 
73 }
int i
Definition: DBlmapReader.cc:9
int quality(const int i) const
Return the quality for a given set of 7 BTI.
int position(const int i) const
Return the position for a given set of 7 BTI.
int wheel() const
Return wheel number.
Definition: DTTrigData.h:48
int step() const
Return step number.
int sector() const
Return sector number.
Definition: DTTrigData.h:54
int station() const
Return station number.
Definition: DTTrigData.h:51
tuple cout
Definition: gather_cfg.py:121
int DTSectCollThSegm::quality ( const int  i) const
inline

Return the quality for a given set of 7 BTI.

Definition at line 79 of file DTSectCollThSegm.h.

References m_tsthetatrig, and DTChambThSegm::quality().

Referenced by print().

79 { return m_tsthetatrig->quality(i); };
int i
Definition: DBlmapReader.cc:9
int quality(const int i) const
Return the quality for a given set of 7 BTI.
const DTChambThSegm * m_tsthetatrig
the corresponding TS theta trigger
DTSectCollId DTSectCollThSegm::SCId ( ) const
inline

Identifier of the associated chamber.

Definition at line 64 of file DTSectCollThSegm.h.

References m_sectcollid.

64 { return m_sectcollid; }
DTSectCollId m_sectcollid
parent sector collector
int DTSectCollThSegm::step ( ) const
inline

Return step number.

Definition at line 61 of file DTSectCollThSegm.h.

References m_step.

Referenced by print().

61 { return m_step; }
myint8 m_step
step number

Member Data Documentation

DTSectCollId DTSectCollThSegm::m_sectcollid
private

parent sector collector

Definition at line 79 of file DTSectCollThSegm.h.

Referenced by operator=(), and SCId().

myint8 DTSectCollThSegm::m_step
private

step number

Definition at line 87 of file DTSectCollThSegm.h.

Referenced by operator=(), and step().

const DTChambThSegm* DTSectCollThSegm::m_tsthetatrig
private

the corresponding TS theta trigger

Definition at line 90 of file DTSectCollThSegm.h.

Referenced by ChamberId(), code(), operator=(), position(), and quality().