CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/L1Trigger/RPCTrigger/src/RPCPacBase.cc

Go to the documentation of this file.
00001 /*******************************************************************************
00002 *                                                                              *
00003 *  Karol Bunkowski                                                             *
00004 *  Warsaw University 2002                                                      *
00005 *                                                                              *
00006 *******************************************************************************/
00007 #include "L1Trigger/RPCTrigger/interface/RPCPacBase.h"
00013 RPCPacBase::RPCPacBase(int m_tower, int logSector, int logSegment) {
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 }
00020 
00026 RPCPacBase::RPCPacBase(RPCConst::l1RpcConeCrdnts coneCrdnts): 
00027     m_ConeCrdnts(coneCrdnts), 
00028     m_CurrConeCrdnts(coneCrdnts) {}
00029 
00035 void RPCPacBase::setCurrentPosition(int m_tower, int logSector, int logSegment) {
00036   m_CurrConeCrdnts.m_Tower = m_tower;
00037   m_CurrConeCrdnts.m_LogSector = logSector;
00038   m_CurrConeCrdnts.m_LogSegment = logSegment;
00039 }
00040 
00046 void RPCPacBase::setCurrentPosition(RPCConst::l1RpcConeCrdnts coneCrdnts) {
00047   m_CurrConeCrdnts = coneCrdnts;
00048 }