test
CMS 3D CMS Logo

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

#include <RPCPacBase.h>

Inheritance diagram for RPCPacBase:
RPCPac

Public Member Functions

 RPCPacBase (int m_tower, int logSector, int logSegment)
 
 RPCPacBase (RPCConst::l1RpcConeCrdnts coneCrdnts)
 
void setCurrentPosition (int m_tower, int logSector, int logSegment)
 
void setCurrentPosition (RPCConst::l1RpcConeCrdnts coneCrdnts)
 

Protected Attributes

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

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.

13  {
14  m_ConeCrdnts.m_Tower = m_tower;
15  m_ConeCrdnts.m_LogSector = logSector;
16  m_ConeCrdnts.m_LogSegment = logSegment;
17 
19 }
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
Definition: RPCPacBase.h:33
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name...
Definition: RPCPacBase.h:29
RPCPacBase::RPCPacBase ( RPCConst::l1RpcConeCrdnts  coneCrdnts)

Constructor. m_ConeCrdnts and m_CurrConeCrdnts are set.

Definition at line 26 of file RPCPacBase.cc.

26  :
27  m_ConeCrdnts(coneCrdnts),
28  m_CurrConeCrdnts(coneCrdnts) {}
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
Definition: RPCPacBase.h:33
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name...
Definition: RPCPacBase.h:29

Member Function Documentation

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.

35  {
36  m_CurrConeCrdnts.m_Tower = m_tower;
37  m_CurrConeCrdnts.m_LogSector = logSector;
38  m_CurrConeCrdnts.m_LogSegment = logSegment;
39 }
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
Definition: RPCPacBase.h:33
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.

46  {
47  m_CurrConeCrdnts = coneCrdnts;
48 }
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
Definition: RPCPacBase.h:33

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