#include <CSCShowerDigi.h>
Public Types | |
enum | BitMask { kInTimeMask = 0x2, kOutTimeMask = 0x2 } |
enum | BitShift { kInTimeShift = 0, kOutTimeShift = 2 } |
enum | Run3Shower { kInvalid = 0, kLoose = 1, kNominal = 2, kTight = 3 } |
Public Member Functions | |
uint16_t | bits () const |
uint16_t | bitsInTime () const |
uint16_t | bitsOutTime () const |
void | clear () |
clear this Shower More... | |
CSCShowerDigi () | |
default More... | |
CSCShowerDigi (const uint16_t inTimeBits, const uint16_t outTimeBits, const uint16_t cscID) | |
Constructors. More... | |
uint16_t | getCSCID () const |
bool | isLooseInTime () const |
bool | isLooseOutTime () const |
bool | isNominalInTime () const |
bool | isNominalOutTime () const |
bool | isTightInTime () const |
bool | isTightOutTime () const |
bool | isValid () const |
data More... | |
void | setCSCID (const uint16_t c) |
set cscID More... | |
Private Member Functions | |
uint16_t | getDataWord (const uint16_t word, const unsigned shift, const unsigned mask) const |
void | setDataWord (const uint16_t newWord, uint16_t &word, const unsigned shift, const unsigned mask) |
Private Attributes | |
uint16_t | bits_ |
uint16_t | cscID_ |
Definition at line 9 of file CSCShowerDigi.h.
CSCShowerDigi::CSCShowerDigi | ( | const uint16_t | inTimeBits, |
const uint16_t | outTimeBits, | ||
const uint16_t | cscID | ||
) |
Constructors.
Definition at line 9 of file CSCShowerDigi.cc.
References bits_, bitsInTime(), bitsOutTime(), kInTimeMask, kInTimeShift, kOutTimeMask, kOutTimeShift, and setDataWord().
CSCShowerDigi::CSCShowerDigi | ( | ) |
|
inline |
uint16_t CSCShowerDigi::bitsInTime | ( | ) | const |
Definition at line 35 of file CSCShowerDigi.cc.
References bits_, getDataWord(), kInTimeMask, and kInTimeShift.
Referenced by CSCShowerDigi(), isLooseInTime(), isNominalInTime(), and isTightInTime().
uint16_t CSCShowerDigi::bitsOutTime | ( | ) | const |
Definition at line 37 of file CSCShowerDigi.cc.
References bits_, getDataWord(), kOutTimeMask, and kOutTimeShift.
Referenced by CSCShowerDigi(), isLooseOutTime(), isNominalOutTime(), and isTightOutTime().
|
inline |
clear this Shower
Definition at line 22 of file CSCShowerDigi.h.
References bits_.
Referenced by BeautifulSoup.Tag::setString().
|
inline |
|
private |
Definition at line 47 of file CSCShowerDigi.cc.
References edm::shift.
Referenced by bitsInTime(), and bitsOutTime().
bool CSCShowerDigi::isLooseInTime | ( | ) | const |
Definition at line 23 of file CSCShowerDigi.cc.
References bitsInTime(), and kLoose.
Referenced by isValid().
bool CSCShowerDigi::isLooseOutTime | ( | ) | const |
Definition at line 29 of file CSCShowerDigi.cc.
References bitsOutTime(), and kLoose.
Referenced by isValid().
bool CSCShowerDigi::isNominalInTime | ( | ) | const |
bool CSCShowerDigi::isNominalOutTime | ( | ) | const |
bool CSCShowerDigi::isTightInTime | ( | ) | const |
bool CSCShowerDigi::isTightOutTime | ( | ) | const |
bool CSCShowerDigi::isValid | ( | void | ) | const |
data
Definition at line 18 of file CSCShowerDigi.cc.
References isLooseInTime(), isLooseOutTime(), and or.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
|
private |
Definition at line 39 of file CSCShowerDigi.cc.
References edm::shift.
Referenced by CSCShowerDigi().
|
private |
Definition at line 47 of file CSCShowerDigi.h.
Referenced by bits(), bitsInTime(), bitsOutTime(), clear(), and CSCShowerDigi().
|
private |
Definition at line 49 of file CSCShowerDigi.h.
Referenced by getCSCID(), and setCSCID().