CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::CPPFDigi Class Reference

#include <CPPFDigi.h>

Public Member Functions

int board () const
 
int bx () const
 
int channel () const
 
virtual CPPFDigiclone () const
 
int cluster_size () const
 
 CPPFDigi ()
 
 CPPFDigi (const RPCDetId &rpcId0, int bx0, int phi_int0, int theta_int0, int valid0, int board0, int channel0, int emtf_sector0, int emtf_link0, int first_strip0, int cluster_size0, float phi_glob0, float theta_glob0)
 
 CPPFDigi (const RPCDetId &rpcId0, int bx0)
 
 CPPFDigi (const RPCDetId &rpcId0, int bx0, int theta_int0, int phi_int0)
 
int emtf_link () const
 
int emtf_sector () const
 
int first_strip () const
 
bool operator< (const CPPFDigi &rhs) const
 
float phi_glob () const
 
int phi_int () const
 
RPCDetId rpcId () const
 
float theta_glob () const
 
int theta_int () const
 
int valid () const
 
virtual ~CPPFDigi ()
 

Private Attributes

int board_
 
int bx_
 
int channel_
 
int cluster_size_
 
int emtf_link_
 
int emtf_sector_
 
int first_strip_
 
float phi_glob_
 
int phi_int_
 
RPCDetId rpcId_
 
float theta_glob_
 
int theta_int_
 
int valid_
 

Detailed Description

Definition at line 12 of file CPPFDigi.h.

Constructor & Destructor Documentation

l1t::CPPFDigi::CPPFDigi ( )
inline

Definition at line 14 of file CPPFDigi.h.

Referenced by clone(), and ~CPPFDigi().

15  : bx_(-99),
16  phi_int_(-99),
17  theta_int_(-99),
18  valid_(-99),
19  board_(-99),
20  channel_(-99),
21  emtf_sector_(-99),
22  emtf_link_(-99),
23  first_strip_(-99),
24  cluster_size_(-99),
25  phi_glob_(-99),
26  theta_glob_(-99){};
int phi_int_
Definition: CPPFDigi.h:68
int first_strip_
Definition: CPPFDigi.h:75
int emtf_sector_
Definition: CPPFDigi.h:73
int theta_int_
Definition: CPPFDigi.h:69
float phi_glob_
Definition: CPPFDigi.h:77
float theta_glob_
Definition: CPPFDigi.h:78
int channel_
Definition: CPPFDigi.h:72
int emtf_link_
Definition: CPPFDigi.h:74
int cluster_size_
Definition: CPPFDigi.h:76
l1t::CPPFDigi::CPPFDigi ( const RPCDetId rpcId0,
int  bx0,
int  phi_int0,
int  theta_int0,
int  valid0,
int  board0,
int  channel0,
int  emtf_sector0,
int  emtf_link0,
int  first_strip0,
int  cluster_size0,
float  phi_glob0,
float  theta_glob0 
)
explicit

Definition at line 39 of file CPPFDigi.cc.

52  : rpcId_(rpcId0),
53  bx_(bx0),
54  phi_int_(phi_int0),
55  theta_int_(theta_int0),
56  valid_(valid0),
57  board_(board0),
58  channel_(channel0),
59  emtf_sector_(emtf_sector0),
60  emtf_link_(emtf_link0),
61  first_strip_(first_strip0),
62  cluster_size_(cluster_size0),
63  phi_glob_(phi_glob0),
64  theta_glob_(theta_glob0) {}
int phi_int_
Definition: CPPFDigi.h:68
int first_strip_
Definition: CPPFDigi.h:75
int emtf_sector_
Definition: CPPFDigi.h:73
int theta_int_
Definition: CPPFDigi.h:69
float phi_glob_
Definition: CPPFDigi.h:77
float theta_glob_
Definition: CPPFDigi.h:78
int channel_
Definition: CPPFDigi.h:72
int emtf_link_
Definition: CPPFDigi.h:74
RPCDetId rpcId_
Definition: CPPFDigi.h:66
int cluster_size_
Definition: CPPFDigi.h:76
virtual l1t::CPPFDigi::~CPPFDigi ( )
inlinevirtual

Definition at line 42 of file CPPFDigi.h.

References clone(), CPPFDigi(), and operator<().

42 {};
l1t::CPPFDigi::CPPFDigi ( const RPCDetId rpcId0,
int  bx0 
)

Definition at line 9 of file CPPFDigi.cc.

10  : rpcId_(rpcId0),
11  bx_(bx0),
12  phi_int_(-99),
13  theta_int_(-99),
14  valid_(-99),
15  board_(-99),
16  channel_(-99),
17  emtf_sector_(-99),
18  emtf_link_(-99),
19  first_strip_(-99),
20  cluster_size_(-99),
21  phi_glob_(-99),
22  theta_glob_(-99) {}
int phi_int_
Definition: CPPFDigi.h:68
int first_strip_
Definition: CPPFDigi.h:75
int emtf_sector_
Definition: CPPFDigi.h:73
int theta_int_
Definition: CPPFDigi.h:69
float phi_glob_
Definition: CPPFDigi.h:77
float theta_glob_
Definition: CPPFDigi.h:78
int channel_
Definition: CPPFDigi.h:72
int emtf_link_
Definition: CPPFDigi.h:74
RPCDetId rpcId_
Definition: CPPFDigi.h:66
int cluster_size_
Definition: CPPFDigi.h:76
l1t::CPPFDigi::CPPFDigi ( const RPCDetId rpcId0,
int  bx0,
int  theta_int0,
int  phi_int0 
)

Definition at line 24 of file CPPFDigi.cc.

25  : rpcId_(rpcId0),
26  bx_(bx0),
27  phi_int_(phi_int0),
28  theta_int_(theta_int0),
29  valid_(-99),
30  board_(-99),
31  channel_(-99),
32  emtf_sector_(-99),
33  emtf_link_(-99),
34  first_strip_(-99),
35  cluster_size_(-99),
36  phi_glob_(-99),
37  theta_glob_(-99) {}
int phi_int_
Definition: CPPFDigi.h:68
int first_strip_
Definition: CPPFDigi.h:75
int emtf_sector_
Definition: CPPFDigi.h:73
int theta_int_
Definition: CPPFDigi.h:69
float phi_glob_
Definition: CPPFDigi.h:77
float theta_glob_
Definition: CPPFDigi.h:78
int channel_
Definition: CPPFDigi.h:72
int emtf_link_
Definition: CPPFDigi.h:74
RPCDetId rpcId_
Definition: CPPFDigi.h:66
int cluster_size_
Definition: CPPFDigi.h:76

Member Function Documentation

int l1t::CPPFDigi::board ( ) const
inline

Definition at line 56 of file CPPFDigi.h.

References board_.

56 { return board_; }
int l1t::CPPFDigi::bx ( ) const
inline

Definition at line 52 of file CPPFDigi.h.

References bx_.

Referenced by operator<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

52 { return bx_; }
int l1t::CPPFDigi::channel ( ) const
inline

Definition at line 57 of file CPPFDigi.h.

References channel_.

57 { return channel_; }
int channel_
Definition: CPPFDigi.h:72
CPPFDigi * l1t::CPPFDigi::clone ( void  ) const
virtual

Definition at line 66 of file CPPFDigi.cc.

References CPPFDigi().

Referenced by ~CPPFDigi().

66 { return new CPPFDigi(*this); }
int l1t::CPPFDigi::cluster_size ( ) const
inline

Definition at line 61 of file CPPFDigi.h.

References cluster_size_.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

61 { return cluster_size_; }
int cluster_size_
Definition: CPPFDigi.h:76
int l1t::CPPFDigi::emtf_link ( ) const
inline

Definition at line 59 of file CPPFDigi.h.

References emtf_link_.

59 { return emtf_link_; }
int emtf_link_
Definition: CPPFDigi.h:74
int l1t::CPPFDigi::emtf_sector ( ) const
inline

Definition at line 58 of file CPPFDigi.h.

References emtf_sector_.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

58 { return emtf_sector_; }
int emtf_sector_
Definition: CPPFDigi.h:73
int l1t::CPPFDigi::first_strip ( ) const
inline

Definition at line 60 of file CPPFDigi.h.

References first_strip_.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

60 { return first_strip_; }
int first_strip_
Definition: CPPFDigi.h:75
bool l1t::CPPFDigi::operator< ( const CPPFDigi rhs) const

Definition at line 68 of file CPPFDigi.cc.

References bx(), phi_int(), DetId::rawId(), rpcId(), and theta_int().

Referenced by ~CPPFDigi().

68  {
69  return (rpcId().rawId() < rhs.rpcId().rawId() ||
70  (!(rhs.rpcId().rawId() < rpcId().rawId()) &&
71  (bx() < rhs.bx() ||
72  (!(rhs.bx() < bx()) &&
73  (theta_int() < rhs.theta_int() || (!(rhs.theta_int() < theta_int()) && phi_int() < rhs.phi_int()))))));
74  }
RPCDetId rpcId() const
Definition: CPPFDigi.h:51
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
int bx() const
Definition: CPPFDigi.h:52
int theta_int() const
Definition: CPPFDigi.h:54
int phi_int() const
Definition: CPPFDigi.h:53
float l1t::CPPFDigi::phi_glob ( ) const
inline

Definition at line 62 of file CPPFDigi.h.

References phi_glob_.

62 { return phi_glob_; }
float phi_glob_
Definition: CPPFDigi.h:77
int l1t::CPPFDigi::phi_int ( ) const
inline

Definition at line 53 of file CPPFDigi.h.

References phi_int_.

Referenced by operator<(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

53 { return phi_int_; }
int phi_int_
Definition: CPPFDigi.h:68
RPCDetId l1t::CPPFDigi::rpcId ( ) const
inline

Definition at line 51 of file CPPFDigi.h.

References rpcId_.

Referenced by operator<().

51 { return rpcId_; }
RPCDetId rpcId_
Definition: CPPFDigi.h:66
float l1t::CPPFDigi::theta_glob ( ) const
inline

Definition at line 63 of file CPPFDigi.h.

References theta_glob_.

63 { return theta_glob_; }
float theta_glob_
Definition: CPPFDigi.h:78
int l1t::CPPFDigi::theta_int ( ) const
inline

Definition at line 54 of file CPPFDigi.h.

References theta_int_.

Referenced by operator<(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

54 { return theta_int_; }
int theta_int_
Definition: CPPFDigi.h:69
int l1t::CPPFDigi::valid ( ) const
inline

Definition at line 55 of file CPPFDigi.h.

References valid_.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

55 { return valid_; }

Member Data Documentation

int l1t::CPPFDigi::board_
private

Definition at line 71 of file CPPFDigi.h.

Referenced by board().

int l1t::CPPFDigi::bx_
private

Definition at line 67 of file CPPFDigi.h.

Referenced by bx().

int l1t::CPPFDigi::channel_
private

Definition at line 72 of file CPPFDigi.h.

Referenced by channel().

int l1t::CPPFDigi::cluster_size_
private

Definition at line 76 of file CPPFDigi.h.

Referenced by cluster_size().

int l1t::CPPFDigi::emtf_link_
private

Definition at line 74 of file CPPFDigi.h.

Referenced by emtf_link().

int l1t::CPPFDigi::emtf_sector_
private

Definition at line 73 of file CPPFDigi.h.

Referenced by emtf_sector().

int l1t::CPPFDigi::first_strip_
private

Definition at line 75 of file CPPFDigi.h.

Referenced by first_strip().

float l1t::CPPFDigi::phi_glob_
private

Definition at line 77 of file CPPFDigi.h.

Referenced by phi_glob().

int l1t::CPPFDigi::phi_int_
private

Definition at line 68 of file CPPFDigi.h.

Referenced by phi_int().

RPCDetId l1t::CPPFDigi::rpcId_
private

Definition at line 66 of file CPPFDigi.h.

Referenced by rpcId().

float l1t::CPPFDigi::theta_glob_
private

Definition at line 78 of file CPPFDigi.h.

Referenced by theta_glob().

int l1t::CPPFDigi::theta_int_
private

Definition at line 69 of file CPPFDigi.h.

Referenced by theta_int().

int l1t::CPPFDigi::valid_
private

Definition at line 70 of file CPPFDigi.h.

Referenced by valid().