CMS 3D CMS Logo

RPCLogHit Class Reference

Class to store logical hit data: m_tower number (0, 16), coneNumber (in phi, 0 ,144), logical plane number (1, 6), strip number in cone (0, to maximum cone width in givel plane see RPCConst). More...

#include <L1Trigger/RPCTrigger/interface/RPCLogHit.h>

List of all members.

Public Member Functions

RPCConst::l1RpcConeCrdnts getConeCrdnts () const
int getDigiIdx () const
int getlogPlaneNumber () const
int getLogSector () const
int getLogSegment () const
int getStripNumberInCone () const
int getTower () const
 RPCLogHit (int m_tower, int m_PAC, int m_logplane, int m_posInCone)
 Default ctor.
 RPCLogHit ()
 Default ctor.
void setDigiIdx (int)
 ~RPCLogHit ()
 Default dctor.

Private Attributes

RPCConst::l1RpcConeCrdnts m_ConeCrdnts
int m_digiIdx
int m_logPlaneNumber
int m_stripNumberInCone


Detailed Description

Class to store logical hit data: m_tower number (0, 16), coneNumber (in phi, 0 ,144), logical plane number (1, 6), strip number in cone (0, to maximum cone width in givel plane see RPCConst).

Author:
Marcin Konecki, Warsaw Artur Kalinowski, Warsaw Karol Bunkowski, Warsaw

Definition at line 20 of file RPCLogHit.h.


Constructor & Destructor Documentation

RPCLogHit::RPCLogHit (  )  [inline]

Default ctor.

Definition at line 27 of file RPCLogHit.h.

00027 {};

RPCLogHit::RPCLogHit ( int  m_tower,
int  m_PAC,
int  m_logplane,
int  m_posInCone 
)

Default ctor.

Todo:
check m_LogSector/m_LogSegment convention

Definition at line 10 of file RPCLogHit.cc.

References m_ConeCrdnts, m_logPlaneNumber, RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, m_stripNumberInCone, and RPCConst::l1RpcConeCrdnts::m_Tower.

00010                                                                            {
00011 
00012   m_ConeCrdnts.m_Tower=m_tower;
00013   m_ConeCrdnts.m_LogSector=m_PAC/12;
00014   m_ConeCrdnts.m_LogSegment=m_PAC%12;
00015   m_stripNumberInCone = m_posInCone;
00016   m_logPlaneNumber = m_logplane;
00017   
00018 }

RPCLogHit::~RPCLogHit (  )  [inline]

Default dctor.

Definition at line 34 of file RPCLogHit.h.

00034 { }


Member Function Documentation

RPCConst::l1RpcConeCrdnts RPCLogHit::getConeCrdnts (  )  const

Definition at line 24 of file RPCLogHit.cc.

References m_ConeCrdnts.

Referenced by RPCLogCone::RPCLogCone().

00024                                                        {
00025   return m_ConeCrdnts;
00026 }

int RPCLogHit::getDigiIdx (  )  const

Definition at line 52 of file RPCLogHit.cc.

References m_digiIdx.

Referenced by RPCLogCone::addLogHit(), and RPCLogCone::RPCLogCone().

00052                                 {
00053   return m_digiIdx;
00054 }

int RPCLogHit::getlogPlaneNumber (  )  const

Definition at line 40 of file RPCLogHit.cc.

References m_logPlaneNumber.

Referenced by RPCLogCone::addLogHit(), and RPCLogCone::RPCLogCone().

00040                                        {
00041   return m_logPlaneNumber;
00042 }

int RPCLogHit::getLogSector (  )  const

Definition at line 32 of file RPCLogHit.cc.

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSector.

Referenced by RPCLogCone::addLogHit().

00032                                   {
00033   return m_ConeCrdnts.m_LogSector;
00034 }

int RPCLogHit::getLogSegment (  )  const

Definition at line 36 of file RPCLogHit.cc.

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSegment.

Referenced by RPCLogCone::addLogHit().

00036                                    {
00037   return m_ConeCrdnts.m_LogSegment;
00038 }

int RPCLogHit::getStripNumberInCone (  )  const

Definition at line 44 of file RPCLogHit.cc.

References m_stripNumberInCone.

Referenced by RPCLogCone::addLogHit(), and RPCLogCone::RPCLogCone().

00044                                           {
00045   return m_stripNumberInCone;
00046 }

int RPCLogHit::getTower (  )  const

Definition at line 28 of file RPCLogHit.cc.

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_Tower.

Referenced by RPCLogCone::addLogHit().

00028                               {
00029   return m_ConeCrdnts.m_Tower;
00030 }

void RPCLogHit::setDigiIdx ( int  digiIdx  ) 

Definition at line 48 of file RPCLogHit.cc.

References m_digiIdx.

00048                                        {
00049   m_digiIdx = digiIdx;
00050 }


Member Data Documentation

RPCConst::l1RpcConeCrdnts RPCLogHit::m_ConeCrdnts [private]

Definition at line 54 of file RPCLogHit.h.

Referenced by getConeCrdnts(), getLogSector(), getLogSegment(), getTower(), and RPCLogHit().

int RPCLogHit::m_digiIdx [private]

Definition at line 58 of file RPCLogHit.h.

Referenced by getDigiIdx(), and setDigiIdx().

int RPCLogHit::m_logPlaneNumber [private]

Definition at line 56 of file RPCLogHit.h.

Referenced by getlogPlaneNumber(), and RPCLogHit().

int RPCLogHit::m_stripNumberInCone [private]

Definition at line 56 of file RPCLogHit.h.

Referenced by getStripNumberInCone(), and RPCLogHit().


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