test
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 
12 #include <boost/cstdint.hpp>
13 #include <iosfwd>
14 
15 class CSCRPCDigi{
16 
17 public:
18 
20  CSCRPCDigi (int rpc, int pad, int bxn , int tbin);
21  CSCRPCDigi ();
22 
24  int getRpc() const {return rpc_;}
26  int getPad() const {return pad_;}
28  int getTbin() const {return tbin_;}
30  int getBXN() const {return bxn_;}
31 
33  void print() const;
34 
35 private:
36 
37  uint16_t rpc_;
38  uint16_t pad_;
39  uint16_t bxn_;
40  uint16_t tbin_;
41 
42 };
43 
44 std::ostream & operator<<(std::ostream & o, const CSCRPCDigi& digi);
45 
46 #endif
uint16_t rpc_
Definition: CSCRPCDigi.h:37
int getPad() const
return pad number
Definition: CSCRPCDigi.h:26
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
void print() const
Print content of digi.
Definition: CSCRPCDigi.cc:32
uint16_t pad_
Definition: CSCRPCDigi.h:38
int getRpc() const
default
Definition: CSCRPCDigi.h:24
uint16_t bxn_
Definition: CSCRPCDigi.h:39
int getTbin() const
return tbin number
Definition: CSCRPCDigi.h:28
uint16_t tbin_
Definition: CSCRPCDigi.h:40
int getBXN() const
return BXN
Definition: CSCRPCDigi.h:30
CSCRPCDigi()
from the rpc#, pad#, bxn#, tbin#
Definition: CSCRPCDigi.cc:24