CMS 3D CMS Logo

DTSectCollThSegm Class Reference

Muon Sector Collector Trigger Theta candidate. More...

#include <L1Trigger/DTSectorCollector/interface/DTSectCollThSegm.h>

Inheritance diagram for DTSectCollThSegm:

DTTrigData

List of all members.

Public Member Functions

DTChamberId ChamberId () const
 Identifier of the associated chamber.
void clear ()
 Clear.
int code (const int i) const
 Return the code for a given set of 7 BTI.
 DTSectCollThSegm (const DTSectCollThSegm &seg)
 Constructor.
 DTSectCollThSegm (DTSectCollId, int, const DTChambThSegm *)
 Constructor.
DTSectCollThSegmoperator= (const DTSectCollThSegm &seg)
 Assignment operator.
int position (const int i) const
 Return the position for a given set of 7 BTI.
void print () const
 Print.
int quality (const int i) const
 Return the quality for a given set of 7 BTI.
DTSectCollId SCId () const
 Identifier of the associated chamber.
int step () const
 Return step number.
 ~DTSectCollThSegm ()
 Destructor.

Private Attributes

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


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.

00033                                                                        : 
00034   m_sectcollid(scid),  m_step(step), m_tsthetatrig(tstheta_seg) {
00035 }

DTSectCollThSegm::DTSectCollThSegm ( const DTSectCollThSegm seg  ) 

Constructor.

Definition at line 37 of file DTSectCollThSegm.cc.

00037                                                               : 
00038   m_sectcollid(seg.m_sectcollid), m_step(seg.m_step), m_tsthetatrig(seg.m_tsthetatrig)  {
00039 }

DTSectCollThSegm::~DTSectCollThSegm (  ) 

Destructor.

Definition at line 44 of file DTSectCollThSegm.cc.

00044                                    {
00045 }


Member Function Documentation

DTChamberId DTSectCollThSegm::ChamberId (  )  const [inline, virtual]

Identifier of the associated chamber.

Implements DTTrigData.

Definition at line 67 of file DTSectCollThSegm.h.

References DTChambThSegm::ChamberId(), and m_tsthetatrig.

00067 { return m_tsthetatrig->ChamberId(); }

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.

00073 { return m_tsthetatrig->code(i); } ;

DTSectCollThSegm & DTSectCollThSegm::operator= ( const DTSectCollThSegm seg  ) 

Assignment operator.

Definition at line 52 of file DTSectCollThSegm.cc.

References m_sectcollid, m_step, and m_tsthetatrig.

00052                                                       {
00053   if(this != &seg){
00054     m_sectcollid = seg.m_sectcollid;
00055     m_step = seg.m_step;
00056     m_tsthetatrig = seg.m_tsthetatrig;
00057   }
00058   return *this;
00059 }

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

00076 { return m_tsthetatrig->position(i); } ;

void DTSectCollThSegm::print ( void   )  const [virtual]

Print.

Implements DTTrigData.

Definition at line 62 of file DTSectCollThSegm.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), i, int, position(), quality(), DTTrigData::sector(), DTTrigData::station(), step(), and DTTrigData::wheel().

00062                               {
00063   std::cout << "TP at step " << step() << ", in wheel " << wheel();
00064   std::cout << ", station " << station() << ", sector " << sector();
00065   std::cout << " : " << std::endl;
00066   std::cout << "  output codes : ";
00067   int i=0;
00068   for(i=0;i<7;i++){
00069     std::cout << (int)(position(i)+quality(i)) << " ";
00070   }
00071   std::cout << "\n";
00072   
00073 }

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

00079 { return m_tsthetatrig->quality(i); };

DTSectCollId DTSectCollThSegm::SCId (  )  const [inline]

Identifier of the associated chamber.

Definition at line 64 of file DTSectCollThSegm.h.

References m_sectcollid.

00064 { return m_sectcollid; }

int DTSectCollThSegm::step (  )  const [inline]

Return step number.

Definition at line 61 of file DTSectCollThSegm.h.

References m_step.

Referenced by print().

00061 { return m_step; }


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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:03 2009 for CMSSW by  doxygen 1.5.4