CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCRPCDigi.h
Go to the documentation of this file.
1 #ifndef CSCRPCDigi_CSCRPCDigi_h
2 #define CSCRPCDigi_CSCRPCDigi_h
3 
14 #include <boost/cstdint.hpp>
15 #include <iosfwd>
16 
17 class CSCRPCDigi{
18 
19 public:
20 
22  CSCRPCDigi (int rpc, int pad, int bxn , int tbin);
23  CSCRPCDigi ();
24 
26  int getRpc() const {return rpc_;}
28  int getPad() const {return pad_;}
30  int getTbin() const {return tbin_;}
32  int getBXN() const {return bxn_;}
33 
35  void print() const;
36 
37 private:
38 
39  uint16_t rpc_;
40  uint16_t pad_;
41  uint16_t bxn_;
42  uint16_t tbin_;
43 
44 };
45 
46 std::ostream & operator<<(std::ostream & o, const CSCRPCDigi& digi);
47 
48 #endif
uint16_t rpc_
Definition: CSCRPCDigi.h:39
int getPad() const
return pad number
Definition: CSCRPCDigi.h:28
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
void print() const
Print content of digi.
Definition: CSCRPCDigi.cc:33
uint16_t pad_
Definition: CSCRPCDigi.h:40
int getRpc() const
default
Definition: CSCRPCDigi.h:26
uint16_t bxn_
Definition: CSCRPCDigi.h:41
int getTbin() const
return tbin number
Definition: CSCRPCDigi.h:30
uint16_t tbin_
Definition: CSCRPCDigi.h:42
int getBXN() const
return BXN
Definition: CSCRPCDigi.h:32
CSCRPCDigi()
from the rpc#, pad#, bxn#, tbin#
Definition: CSCRPCDigi.cc:25