Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:39

0001 #ifndef L1Trigger_RPCPacBase_h
0002 #define L1Trigger_RPCPacBase_h
0003 
0004 /** \class RPCPacBase
0005  *
0006  * Interface for m_PAC classes. Containes only the coordinates of LogCone,
0007  * for which given m_PAC works.
0008  * \author Karol Bunkowski (Warsaw)
0009  * \note Constructor L1RpcPacXXX(std::string patFilesDir, int m_tower, int logSector, int logSegment) 
0010  * should be implemented in anly class inherited from RPCPacBase. Required in RPCPacManager.
0011  * 
0012  */
0013 
0014 #include "L1Trigger/RPCTrigger/interface/RPCConst.h"
0015 //------------------------------------------------------------------------------
0016 class RPCPacBase {
0017 public:
0018   RPCPacBase(int m_tower, int logSector, int logSegment);
0019 
0020   RPCPacBase(RPCConst::l1RpcConeCrdnts coneCrdnts);
0021 
0022   void setCurrentPosition(int m_tower, int logSector, int logSegment);
0023 
0024   void setCurrentPosition(RPCConst::l1RpcConeCrdnts coneCrdnts);
0025 
0026 protected:
0027   ///Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name
0028   RPCConst::l1RpcConeCrdnts m_ConeCrdnts;
0029 
0030   /** Coordinates of current LogCone. The same m_PAC may be used for several LogCones.
0031     * @see RPCPacManager */
0032   RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts;
0033 };
0034 #endif