CMS 3D CMS Logo

RPCPacBase Class Reference

Interface for m_PAC classes. More...

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

Inheritance diagram for RPCPacBase:

RPCPac

List of all members.

Public Member Functions

 RPCPacBase (RPCConst::l1RpcConeCrdnts coneCrdnts)
 Constructor.
 RPCPacBase (int m_tower, int logSector, int logSegment)
 Constructor.
void setCurrentPosition (RPCConst::l1RpcConeCrdnts coneCrdnts)
 m_CurrConeCrdnts are set.
void setCurrentPosition (int m_tower, int logSector, int logSegment)
 m_CurrConeCrdnts are set.

Protected Attributes

RPCConst::l1RpcConeCrdnts m_ConeCrdnts
 Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name.
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
 Coordinates of current LogCone.


Detailed Description

Interface for m_PAC classes.

Containes only the coordinates of LogCone, for which given m_PAC works.

Author:
Karol Bunkowski (Warsaw)
Note:
Constructor L1RpcPacXXX(std::string patFilesDir, int m_tower, int logSector, int logSegment) should be implemented in anly class inherited from RPCPacBase. Required in RPCPacManager.

Definition at line 16 of file RPCPacBase.h.


Constructor & Destructor Documentation

RPCPacBase::RPCPacBase ( int  m_tower,
int  logSector,
int  logSegment 
)

Constructor.

m_ConeCrdnts and m_CurrConeCrdnts are set.

Definition at line 13 of file RPCPacBase.cc.

References m_ConeCrdnts, m_CurrConeCrdnts, RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, and RPCConst::l1RpcConeCrdnts::m_Tower.

00013                                                                  {
00014   m_ConeCrdnts.m_Tower = m_tower;
00015   m_ConeCrdnts.m_LogSector = logSector;
00016   m_ConeCrdnts.m_LogSegment = logSegment;
00017 
00018   m_CurrConeCrdnts = m_ConeCrdnts;
00019 }

RPCPacBase::RPCPacBase ( RPCConst::l1RpcConeCrdnts  coneCrdnts  ) 

Constructor.

m_ConeCrdnts and m_CurrConeCrdnts are set.

Definition at line 26 of file RPCPacBase.cc.

00026                                                         : 
00027     m_ConeCrdnts(coneCrdnts), 
00028     m_CurrConeCrdnts(coneCrdnts) {}


Member Function Documentation

void RPCPacBase::setCurrentPosition ( RPCConst::l1RpcConeCrdnts  coneCrdnts  ) 

m_CurrConeCrdnts are set.

Called by RPCPacManager in getPac.

Definition at line 46 of file RPCPacBase.cc.

References m_CurrConeCrdnts.

00046                                                                       {
00047   m_CurrConeCrdnts = coneCrdnts;
00048 }

void RPCPacBase::setCurrentPosition ( int  m_tower,
int  logSector,
int  logSegment 
)

m_CurrConeCrdnts are set.

Called by RPCPacManager in getPac.

Definition at line 35 of file RPCPacBase.cc.

References m_CurrConeCrdnts, RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, and RPCConst::l1RpcConeCrdnts::m_Tower.

00035                                                                               {
00036   m_CurrConeCrdnts.m_Tower = m_tower;
00037   m_CurrConeCrdnts.m_LogSector = logSector;
00038   m_CurrConeCrdnts.m_LogSegment = logSegment;
00039 }


Member Data Documentation

RPCConst::l1RpcConeCrdnts RPCPacBase::m_ConeCrdnts [protected]

Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name.

Definition at line 29 of file RPCPacBase.h.

Referenced by RPCPacBase(), RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().

RPCConst::l1RpcConeCrdnts RPCPacBase::m_CurrConeCrdnts [protected]

Coordinates of current LogCone.

The same m_PAC may be used for several LogCones.

See also:
RPCPacManager

Definition at line 33 of file RPCPacBase.h.

Referenced by RPCPacBase(), RPCPac::run(), and setCurrentPosition().


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