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 ()
 
 ME0PadDigi (int pad, int bx)
 
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) {}

◆ ME0PadDigi() [2/2]

ME0PadDigi::ME0PadDigi ( )

Definition at line 6 of file ME0PadDigi.cc.

6 : pad_(0), bx_(0) {}

Member Function Documentation

◆ bx()

int ME0PadDigi::bx ( ) const
inline

Definition at line 26 of file ME0PadDigi.h.

26 { return bx_; }

References bx_.

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

◆ operator!=()

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

Definition at line 10 of file ME0PadDigi.cc.

10 { return pad_ != digi.pad() or bx_ != digi.bx(); }

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

◆ operator<()

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

Definition at line 12 of file ME0PadDigi.cc.

12  {
13  if (digi.bx() == bx_)
14  return digi.pad() < pad_;
15  else
16  return digi.bx() < bx_;
17 }

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

◆ operator==()

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

Definition at line 8 of file ME0PadDigi.cc.

8 { return pad_ == digi.pad() and bx_ == digi.bx(); }

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

◆ pad()

int ME0PadDigi::pad ( ) const
inline

Definition at line 25 of file ME0PadDigi.h.

25 { return pad_; }

References pad_.

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

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().

ME0PadDigi::bx
int bx() const
Definition: ME0PadDigi.h:26
ME0PadDigi::bx_
int16_t bx_
Definition: ME0PadDigi.h:30
ME0PadDigi::pad_
uint16_t pad_
Definition: ME0PadDigi.h:29
or
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
ME0PadDigi::pad
int pad() const
Definition: ME0PadDigi.h:25