Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:56:07

0001 /*******************************************************************************
0002 *                                                                              *
0003 *  Karol Bunkowski                                                             *
0004 *  Warsaw University 2002                                                      *
0005 *                                                                              *
0006 *******************************************************************************/
0007 #include "L1Trigger/RPCTrigger/interface/RPCPacBase.h"
0008 /**
0009  *
0010  * Constructor. m_ConeCrdnts and  m_CurrConeCrdnts are set.
0011  *
0012  */
0013 RPCPacBase::RPCPacBase(int m_tower, int logSector, int logSegment) {
0014   m_ConeCrdnts.m_Tower = m_tower;
0015   m_ConeCrdnts.m_LogSector = logSector;
0016   m_ConeCrdnts.m_LogSegment = logSegment;
0017 
0018   m_CurrConeCrdnts = m_ConeCrdnts;
0019 }
0020 
0021 /**
0022  *
0023  *Constructor. m_ConeCrdnts and  m_CurrConeCrdnts are set.
0024  *
0025  */
0026 RPCPacBase::RPCPacBase(RPCConst::l1RpcConeCrdnts coneCrdnts) : m_ConeCrdnts(coneCrdnts), m_CurrConeCrdnts(coneCrdnts) {}
0027 
0028 /**
0029  *
0030  * m_CurrConeCrdnts are set. Called by RPCPacManager in getPac.
0031  *
0032  */
0033 void RPCPacBase::setCurrentPosition(int m_tower, int logSector, int logSegment) {
0034   m_CurrConeCrdnts.m_Tower = m_tower;
0035   m_CurrConeCrdnts.m_LogSector = logSector;
0036   m_CurrConeCrdnts.m_LogSegment = logSegment;
0037 }
0038 
0039 /**
0040  *
0041  *m_CurrConeCrdnts are set. Called by RPCPacManager in getPac.
0042  *
0043  */
0044 void RPCPacBase::setCurrentPosition(RPCConst::l1RpcConeCrdnts coneCrdnts) { m_CurrConeCrdnts = coneCrdnts; }