Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 // Include files
0002 
0003 // local
0004 #include "L1Trigger/RPCTechnicalTrigger/interface/RBCId.h"
0005 
0006 //-----------------------------------------------------------------------------
0007 // Implementation file for class : RBCId
0008 //
0009 // 2008-10-12 : Andres Osorio
0010 //-----------------------------------------------------------------------------
0011 
0012 //=============================================================================
0013 // Standard constructor, initializes variables
0014 //=============================================================================
0015 RBCId::RBCId() {
0016   m_wheel = -9;
0017   m_sector[0] = 100;
0018   m_sector[1] = 101;
0019 }
0020 
0021 RBCId::RBCId(int _w, int* _s) {
0022   m_wheel = _w;
0023   m_sector[0] = _s[0];
0024   m_sector[1] = _s[1];
0025 }
0026 
0027 //=============================================================================
0028 void RBCId::printinfo() const {
0029   std::cout << " ---->whe " << m_wheel << '\n';
0030   std::cout << " ---->sec " << m_sector[0] << '\t' << m_sector[1] << '\n';
0031 }