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() [1/2]

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

Definition at line 4 of file ME0PadDigi.cc.

4 : pad_(pad), bx_(bx) {}
int16_t bx_
Definition: ME0PadDigi.h:30
int bx() const
Definition: ME0PadDigi.h:26
uint16_t pad_
Definition: ME0PadDigi.h:29
int pad() const
Definition: ME0PadDigi.h:25

◆ ME0PadDigi() [2/2]

ME0PadDigi::ME0PadDigi ( )

Definition at line 6 of file ME0PadDigi.cc.

6 : pad_(0), bx_(0) {}
int16_t bx_
Definition: ME0PadDigi.h:30
uint16_t pad_
Definition: ME0PadDigi.h:29

Member Function Documentation

◆ bx()

int ME0PadDigi::bx ( ) const
inline

Definition at line 26 of file ME0PadDigi.h.

References bx_.

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

26 { return bx_; }
int16_t bx_
Definition: ME0PadDigi.h:30

◆ operator!=()

bool ME0PadDigi::operator!= ( const ME0PadDigi digi) const

Definition at line 10 of file ME0PadDigi.cc.

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

10 { return pad_ != digi.pad() or bx_ != digi.bx(); }
int16_t bx_
Definition: ME0PadDigi.h:30
int bx() const
Definition: ME0PadDigi.h:26
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:29
int pad() const
Definition: ME0PadDigi.h:25

◆ operator<()

bool ME0PadDigi::operator< ( const ME0PadDigi digi) const

Definition at line 12 of file ME0PadDigi.cc.

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

12  {
13  if (digi.bx() == bx_)
14  return digi.pad() < pad_;
15  else
16  return digi.bx() < bx_;
17 }
int16_t bx_
Definition: ME0PadDigi.h:30
int bx() const
Definition: ME0PadDigi.h:26
uint16_t pad_
Definition: ME0PadDigi.h:29
int pad() const
Definition: ME0PadDigi.h:25

◆ operator==()

bool ME0PadDigi::operator== ( const ME0PadDigi digi) const

Definition at line 8 of file ME0PadDigi.cc.

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

8 { return pad_ == digi.pad() and bx_ == digi.bx(); }
int16_t bx_
Definition: ME0PadDigi.h:30
int bx() const
Definition: ME0PadDigi.h:26
uint16_t pad_
Definition: ME0PadDigi.h:29
int pad() const
Definition: ME0PadDigi.h:25

◆ pad()

int ME0PadDigi::pad ( ) const
inline

Definition at line 25 of file ME0PadDigi.h.

References pad_.

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

25 { return pad_; }
uint16_t pad_
Definition: ME0PadDigi.h:29

Member Data Documentation

◆ bx_

int16_t ME0PadDigi::bx_
private

Definition at line 30 of file ME0PadDigi.h.

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

◆ pad_

uint16_t ME0PadDigi::pad_
private

Definition at line 29 of file ME0PadDigi.h.

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