CMS 3D CMS Logo

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

#include <ME0Digi.h>

Public Member Functions

int bx () const
 
 ME0Digi (int strip, int bx)
 
 ME0Digi ()
 
bool operator!= (const ME0Digi &digi) const
 
bool operator< (const ME0Digi &digi) const
 
bool operator== (const ME0Digi &digi) const
 
int strip () const
 

Private Attributes

int16_t bx_
 
uint16_t strip_
 

Detailed Description

Digi for ME0

Author
Sven Dildick (TAMU)

Definition at line 15 of file ME0Digi.h.

Constructor & Destructor Documentation

◆ ME0Digi() [1/2]

ME0Digi::ME0Digi ( int  strip,
int  bx 
)
explicit

Definition at line 4 of file ME0Digi.cc.

4 : strip_(strip), bx_(bx) {}
int strip() const
Definition: ME0Digi.h:25
uint16_t strip_
Definition: ME0Digi.h:29
int bx() const
Definition: ME0Digi.h:26
int16_t bx_
Definition: ME0Digi.h:30

◆ ME0Digi() [2/2]

ME0Digi::ME0Digi ( )

Definition at line 6 of file ME0Digi.cc.

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

Member Function Documentation

◆ bx()

int ME0Digi::bx ( ) const
inline

Definition at line 26 of file ME0Digi.h.

References bx_.

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

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

◆ operator!=()

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

Definition at line 10 of file ME0Digi.cc.

References bx(), bx_, or, strip(), and strip_.

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

◆ operator<()

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

Definition at line 12 of file ME0Digi.cc.

References bx(), bx_, strip(), and strip_.

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

◆ operator==()

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

Definition at line 8 of file ME0Digi.cc.

References bx(), bx_, strip(), and strip_.

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

◆ strip()

int ME0Digi::strip ( ) const
inline

Definition at line 25 of file ME0Digi.h.

References strip_.

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

25 { return strip_; }
uint16_t strip_
Definition: ME0Digi.h:29

Member Data Documentation

◆ bx_

int16_t ME0Digi::bx_
private

Definition at line 30 of file ME0Digi.h.

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

◆ strip_

uint16_t ME0Digi::strip_
private

Definition at line 29 of file ME0Digi.h.

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