CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ME0PadDigi Class Reference

#include <ME0PadDigi.h>

Public Member Functions

int bx () const
 
 ME0PadDigi (int pad, int bx)
 
 ME0PadDigi ()
 
bool operator!= (const ME0PadDigi &digi) const
 
bool operator< (const ME0PadDigi &digi) const
 
bool operator== (const ME0PadDigi &digi) const
 
int pad () const
 

Private Attributes

int16_t bx_
 
uint16_t pad_
 

Detailed Description

Digi for ME0 trigger pads

Author
Sven Dildick

Definition at line 15 of file ME0PadDigi.h.

Constructor & Destructor Documentation

ME0PadDigi::ME0PadDigi ( int  pad,
int  bx 
)
explicit

Definition at line 4 of file ME0PadDigi.cc.

4  :
5  pad_(pad),
6  bx_(bx)
7 {}
int16_t bx_
Definition: ME0PadDigi.h:31
int pad() const
Definition: ME0PadDigi.h:26
int bx() const
Definition: ME0PadDigi.h:27
uint16_t pad_
Definition: ME0PadDigi.h:30
ME0PadDigi::ME0PadDigi ( )

Definition at line 9 of file ME0PadDigi.cc.

9  :
10  pad_(0),
11  bx_(0)
12 {}
int16_t bx_
Definition: ME0PadDigi.h:31
uint16_t pad_
Definition: ME0PadDigi.h:30

Member Function Documentation

int ME0PadDigi::bx ( ) const
inline

Definition at line 27 of file ME0PadDigi.h.

References bx_.

Referenced by operator!=(), operator<(), operator<<(), and operator==().

27 { return bx_; }
int16_t bx_
Definition: ME0PadDigi.h:31
bool ME0PadDigi::operator!= ( const ME0PadDigi digi) const

Definition at line 19 of file ME0PadDigi.cc.

References bx(), bx_, or, pad(), and pad_.

20 {
21  return pad_ != digi.pad() or bx_ != digi.bx();
22 }
int16_t bx_
Definition: ME0PadDigi.h:31
int pad() const
Definition: ME0PadDigi.h:26
int bx() const
Definition: ME0PadDigi.h:27
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
uint16_t pad_
Definition: ME0PadDigi.h:30
bool ME0PadDigi::operator< ( const ME0PadDigi digi) const

Definition at line 24 of file ME0PadDigi.cc.

References bx(), bx_, pad(), and pad_.

25 {
26  if(digi.bx() == bx_)
27  return digi.pad() < pad_;
28  else
29  return digi.bx() < bx_;
30 }
int16_t bx_
Definition: ME0PadDigi.h:31
int pad() const
Definition: ME0PadDigi.h:26
int bx() const
Definition: ME0PadDigi.h:27
uint16_t pad_
Definition: ME0PadDigi.h:30
bool ME0PadDigi::operator== ( const ME0PadDigi digi) const

Definition at line 14 of file ME0PadDigi.cc.

References bx(), bx_, pad(), and pad_.

15 {
16  return pad_ == digi.pad() and bx_ == digi.bx();
17 }
int16_t bx_
Definition: ME0PadDigi.h:31
int pad() const
Definition: ME0PadDigi.h:26
int bx() const
Definition: ME0PadDigi.h:27
uint16_t pad_
Definition: ME0PadDigi.h:30
int ME0PadDigi::pad ( ) const
inline

Definition at line 26 of file ME0PadDigi.h.

References pad_.

Referenced by operator!=(), operator<(), operator<<(), and operator==().

26 { return pad_; }
uint16_t pad_
Definition: ME0PadDigi.h:30

Member Data Documentation

int16_t ME0PadDigi::bx_
private

Definition at line 31 of file ME0PadDigi.h.

Referenced by bx(), operator!=(), operator<(), and operator==().

uint16_t ME0PadDigi::pad_
private

Definition at line 30 of file ME0PadDigi.h.

Referenced by operator!=(), operator<(), operator==(), and pad().