CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RBCId.cc
Go to the documentation of this file.
1 // Include files
2 
3 // local
5 
6 //-----------------------------------------------------------------------------
7 // Implementation file for class : RBCId
8 //
9 // 2008-10-12 : Andres Osorio
10 //-----------------------------------------------------------------------------
11 
12 //=============================================================================
13 // Standard constructor, initializes variables
14 //=============================================================================
16  m_wheel = -9;
17  m_sector[0] = 100;
18  m_sector[1] = 101;
19 }
20 
21 RBCId::RBCId( int _w, int * _s )
22 {
23  m_wheel = _w;
24  m_sector[0] = _s[0];
25  m_sector[1] = _s[1];
26 }
27 
28 RBCId::RBCId( const RBCId & id )
29 {
30  m_wheel = id.wheel();
31  m_sector[0] = id.sector(0);
32  m_sector[1] = id.sector(1);
33 }
34 
35 //=============================================================================
36 // Destructor
37 //=============================================================================
39 
40 //=============================================================================
42 {
43 
44  std::cout << " ---->whe " << m_wheel << '\n';
45  std::cout << " ---->sec " << m_sector[0] << '\t' << m_sector[1] << '\n';
46 
47 }
void printinfo()
Definition: RBCId.cc:41
virtual ~RBCId()
Destructor.
Definition: RBCId.cc:38
int m_wheel
Definition: RBCId.h:45
int m_sector[2]
Definition: RBCId.h:46
RBCId()
Standard constructor.
Definition: RBCId.cc:15
Definition: RBCId.h:16
tuple cout
Definition: gather_cfg.py:121