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 16 of file CPPFDigi.h.

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

16  :
17  bx_(-99), phi_int_(-99), theta_int_(-99), valid_(-99),
18  board_(-99), channel_(-99), emtf_sector_(-99), emtf_link_(-99),
19  first_strip_(-99), cluster_size_(-99), phi_glob_(-99), theta_glob_(-99)
20  {};
int phi_int_
Definition: CPPFDigi.h:53
int first_strip_
Definition: CPPFDigi.h:60
int emtf_sector_
Definition: CPPFDigi.h:58
int theta_int_
Definition: CPPFDigi.h:54
float phi_glob_
Definition: CPPFDigi.h:62
float theta_glob_
Definition: CPPFDigi.h:63
int channel_
Definition: CPPFDigi.h:57
int emtf_link_
Definition: CPPFDigi.h:59
int cluster_size_
Definition: CPPFDigi.h:61
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 23 of file CPPFDigi.cc.

25  :
26  rpcId_(rpcId0), bx_(bx0), phi_int_(phi_int0), theta_int_(theta_int0), valid_(valid0),
27  board_(board0), channel_(channel0), emtf_sector_(emtf_sector0), emtf_link_(emtf_link0),
28  first_strip_(first_strip0), cluster_size_(cluster_size0), phi_glob_(phi_glob0), theta_glob_(theta_glob0)
29  {
30  }
int phi_int_
Definition: CPPFDigi.h:53
int first_strip_
Definition: CPPFDigi.h:60
int emtf_sector_
Definition: CPPFDigi.h:58
int theta_int_
Definition: CPPFDigi.h:54
float phi_glob_
Definition: CPPFDigi.h:62
float theta_glob_
Definition: CPPFDigi.h:63
int channel_
Definition: CPPFDigi.h:57
int emtf_link_
Definition: CPPFDigi.h:59
RPCDetId rpcId_
Definition: CPPFDigi.h:51
int cluster_size_
Definition: CPPFDigi.h:61
virtual l1t::CPPFDigi::~CPPFDigi ( )
inlinevirtual

Definition at line 26 of file CPPFDigi.h.

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

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

Definition at line 9 of file CPPFDigi.cc.

9  :
10  rpcId_(rpcId0), bx_(bx0), phi_int_(-99), theta_int_(-99), valid_(-99),
11  board_(-99), channel_(-99), emtf_sector_(-99), emtf_link_(-99),
12  first_strip_(-99), cluster_size_(-99), phi_glob_(-99), theta_glob_(-99)
13  {
14  }
int phi_int_
Definition: CPPFDigi.h:53
int first_strip_
Definition: CPPFDigi.h:60
int emtf_sector_
Definition: CPPFDigi.h:58
int theta_int_
Definition: CPPFDigi.h:54
float phi_glob_
Definition: CPPFDigi.h:62
float theta_glob_
Definition: CPPFDigi.h:63
int channel_
Definition: CPPFDigi.h:57
int emtf_link_
Definition: CPPFDigi.h:59
RPCDetId rpcId_
Definition: CPPFDigi.h:51
int cluster_size_
Definition: CPPFDigi.h:61
l1t::CPPFDigi::CPPFDigi ( const RPCDetId rpcId0,
int  bx0,
int  theta_int0,
int  phi_int0 
)

Definition at line 16 of file CPPFDigi.cc.

16  :
17  rpcId_(rpcId0), bx_(bx0), phi_int_(phi_int0), theta_int_(theta_int0), valid_(-99),
18  board_(-99), channel_(-99), emtf_sector_(-99), emtf_link_(-99),
19  first_strip_(-99), cluster_size_(-99), phi_glob_(-99), theta_glob_(-99)
20  {
21  }
int phi_int_
Definition: CPPFDigi.h:53
int first_strip_
Definition: CPPFDigi.h:60
int emtf_sector_
Definition: CPPFDigi.h:58
int theta_int_
Definition: CPPFDigi.h:54
float phi_glob_
Definition: CPPFDigi.h:62
float theta_glob_
Definition: CPPFDigi.h:63
int channel_
Definition: CPPFDigi.h:57
int emtf_link_
Definition: CPPFDigi.h:59
RPCDetId rpcId_
Definition: CPPFDigi.h:51
int cluster_size_
Definition: CPPFDigi.h:61

Member Function Documentation

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

Definition at line 40 of file CPPFDigi.h.

References board_.

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

Definition at line 36 of file CPPFDigi.h.

References bx_.

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

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

Definition at line 41 of file CPPFDigi.h.

References channel_.

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

Definition at line 32 of file CPPFDigi.cc.

References CPPFDigi().

Referenced by ~CPPFDigi().

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

Definition at line 45 of file CPPFDigi.h.

References cluster_size_.

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

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

Definition at line 43 of file CPPFDigi.h.

References emtf_link_.

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

Definition at line 42 of file CPPFDigi.h.

References emtf_sector_.

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

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

Definition at line 44 of file CPPFDigi.h.

References first_strip_.

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

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

Definition at line 36 of file CPPFDigi.cc.

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

Referenced by ~CPPFDigi().

37  {
38  return (rpcId().rawId() < rhs.rpcId().rawId()
39  || (!(rhs.rpcId().rawId() < rpcId().rawId())
40  && (bx() < rhs.bx()
41  || (!(rhs.bx() < bx())
42  && (theta_int() < rhs.theta_int()
43  || (!(rhs.theta_int() < theta_int())
44  && phi_int() < rhs.phi_int()))))));
45  }
RPCDetId rpcId() const
Definition: CPPFDigi.h:35
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
int bx() const
Definition: CPPFDigi.h:36
int theta_int() const
Definition: CPPFDigi.h:38
int phi_int() const
Definition: CPPFDigi.h:37
float l1t::CPPFDigi::phi_glob ( ) const
inline

Definition at line 46 of file CPPFDigi.h.

References phi_glob_.

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

Definition at line 37 of file CPPFDigi.h.

References phi_int_.

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

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

Definition at line 35 of file CPPFDigi.h.

References rpcId_.

Referenced by operator<().

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

Definition at line 47 of file CPPFDigi.h.

References theta_glob_.

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

Definition at line 38 of file CPPFDigi.h.

References theta_int_.

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

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

Definition at line 39 of file CPPFDigi.h.

References valid_.

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

39 { return valid_; }

Member Data Documentation

int l1t::CPPFDigi::board_
private

Definition at line 56 of file CPPFDigi.h.

Referenced by board().

int l1t::CPPFDigi::bx_
private

Definition at line 52 of file CPPFDigi.h.

Referenced by bx().

int l1t::CPPFDigi::channel_
private

Definition at line 57 of file CPPFDigi.h.

Referenced by channel().

int l1t::CPPFDigi::cluster_size_
private

Definition at line 61 of file CPPFDigi.h.

Referenced by cluster_size().

int l1t::CPPFDigi::emtf_link_
private

Definition at line 59 of file CPPFDigi.h.

Referenced by emtf_link().

int l1t::CPPFDigi::emtf_sector_
private

Definition at line 58 of file CPPFDigi.h.

Referenced by emtf_sector().

int l1t::CPPFDigi::first_strip_
private

Definition at line 60 of file CPPFDigi.h.

Referenced by first_strip().

float l1t::CPPFDigi::phi_glob_
private

Definition at line 62 of file CPPFDigi.h.

Referenced by phi_glob().

int l1t::CPPFDigi::phi_int_
private

Definition at line 53 of file CPPFDigi.h.

Referenced by phi_int().

RPCDetId l1t::CPPFDigi::rpcId_
private

Definition at line 51 of file CPPFDigi.h.

Referenced by rpcId().

float l1t::CPPFDigi::theta_glob_
private

Definition at line 63 of file CPPFDigi.h.

Referenced by theta_glob().

int l1t::CPPFDigi::theta_int_
private

Definition at line 54 of file CPPFDigi.h.

Referenced by theta_int().

int l1t::CPPFDigi::valid_
private

Definition at line 55 of file CPPFDigi.h.

Referenced by valid().