#include <CSCShowerDigi.h>
Public Types | |
enum | Run3Shower { kInvalid = 0, kLoose = 1, kNominal = 2, kTight = 3 } |
enum | ShowerType { kInvalidShower = 0, kALCTShower = 1, kCLCTShower = 2, kLCTShower = 3, kEMTFShower = 4, kGMTShower = 5 } |
Public Member Functions | |
uint16_t | bitsInTime () const |
uint16_t | bitsOutOfTime () const |
void | clear () |
clear this Shower More... | |
CSCShowerDigi (const uint16_t inTimeBits, const uint16_t outTimeBits, const uint16_t cscID, const uint16_t bx=0, const uint16_t showerType=4, const uint16_t wireNHits=0, const uint16_t compNHits=0) | |
Constructors. More... | |
CSCShowerDigi () | |
default More... | |
uint16_t | getBX () const |
uint16_t | getComparatorNHits () const |
uint16_t | getCSCID () const |
uint16_t | getShowerType () const |
uint16_t | getWireNHits () const |
bool | isLooseInTime () const |
bool | isLooseOutOfTime () const |
bool | isNominalInTime () const |
bool | isNominalOutOfTime () const |
bool | isTightInTime () const |
bool | isTightOutOfTime () const |
bool | isValid () const |
data More... | |
bool | isValidShowerType () const |
void | setBX (const uint16_t bx) |
void | setCSCID (const uint16_t c) |
set cscID More... | |
Private Attributes | |
uint16_t | bitsInTime_ |
uint16_t | bitsOutOfTime_ |
uint16_t | bx_ |
uint16_t | comparatorNHits_ |
uint16_t | cscID_ |
uint16_t | showerType_ |
uint16_t | wireNHits_ |
Definition at line 9 of file CSCShowerDigi.h.
Enumerator | |
---|---|
kInvalid | |
kLoose | |
kNominal | |
kTight |
Definition at line 12 of file CSCShowerDigi.h.
Enumerator | |
---|---|
kInvalidShower | |
kALCTShower | |
kCLCTShower | |
kLCTShower | |
kEMTFShower | |
kGMTShower |
Definition at line 14 of file CSCShowerDigi.h.
CSCShowerDigi::CSCShowerDigi | ( | const uint16_t | inTimeBits, |
const uint16_t | outTimeBits, | ||
const uint16_t | cscID, | ||
const uint16_t | bx = 0 , |
||
const uint16_t | showerType = 4 , |
||
const uint16_t | wireNHits = 0 , |
||
const uint16_t | compNHits = 0 |
||
) |
CSCShowerDigi::CSCShowerDigi | ( | ) |
default
Default.
Definition at line 25 of file CSCShowerDigi.cc.
|
inline |
Definition at line 48 of file CSCShowerDigi.h.
References bitsInTime_.
Referenced by CSCTMBHeader2020_TMB::addAnodeShower(), CSCTMBHeader2020_CCLUT::addAnodeShower(), CSCTMBHeader2020_GEM::addAnodeShower(), CSCTMBHeader2020_CCLUT::addCathodeShower(), CSCTMBHeader2020_GEM::addCathodeShower(), CSCTMBHeader2020_TMB::addShower(), CSCTMBHeader2020_CCLUT::addShower(), CSCTMBHeader2020_GEM::addShower(), CSCALCTHeader::addShower(), L1TdeCSCTPGShower::areSameShowers(), isLooseInTime(), isNominalInTime(), isTightInTime(), and operator<<().
|
inline |
Definition at line 49 of file CSCShowerDigi.h.
References bitsOutOfTime_.
Referenced by CSCTMBHeader2020_TMB::addShower(), CSCTMBHeader2020_CCLUT::addShower(), CSCTMBHeader2020_GEM::addShower(), L1TdeCSCTPGShower::areSameShowers(), isLooseOutOfTime(), isNominalOutOfTime(), isTightOutOfTime(), and operator<<().
void CSCShowerDigi::clear | ( | void | ) |
clear this Shower
Definition at line 28 of file CSCShowerDigi.cc.
References bitsInTime_, bitsOutOfTime_, bx_, comparatorNHits_, cscID_, showerType_, and wireNHits_.
Referenced by CSCCathodeLCTProcessor::clear(), CSCAnodeLCTProcessor::clear(), and CSCMotherboard::clear().
|
inline |
Definition at line 51 of file CSCShowerDigi.h.
References bx_.
Referenced by CSCTMBHeader2020_TMB::addAnodeShower(), CSCTMBHeader2020_CCLUT::addAnodeShower(), CSCTMBHeader2020_GEM::addAnodeShower(), CSCTMBHeader2020_CCLUT::addCathodeShower(), CSCTMBHeader2020_GEM::addCathodeShower(), CSCTMBHeader2020_TMB::addShower(), CSCTMBHeader2020_CCLUT::addShower(), CSCTMBHeader2020_GEM::addShower(), and operator<<().
|
inline |
Definition at line 55 of file CSCShowerDigi.h.
References comparatorNHits_.
Referenced by CSCTMBHeader2020_CCLUT::addCathodeShower(), CSCTMBHeader2020_GEM::addCathodeShower(), CSCMotherboard::matchShowers(), and operator<<().
|
inline |
Definition at line 52 of file CSCShowerDigi.h.
References cscID_.
Referenced by L1TdeCSCTPGShower::areSameShowers(), CSCMotherboard::matchShowers(), and SectorProcessorShower::select_shower().
|
inline |
|
inline |
Definition at line 54 of file CSCShowerDigi.h.
References wireNHits_.
Referenced by CSCMotherboard::matchShowers(), and operator<<().
bool CSCShowerDigi::isLooseInTime | ( | ) | const |
Definition at line 44 of file CSCShowerDigi.cc.
References bitsInTime(), and kLoose.
Referenced by isValid(), and CSCMotherboard::matchShowers().
bool CSCShowerDigi::isLooseOutOfTime | ( | ) | const |
Definition at line 50 of file CSCShowerDigi.cc.
References bitsOutOfTime(), and kLoose.
bool CSCShowerDigi::isNominalInTime | ( | ) | const |
Definition at line 46 of file CSCShowerDigi.cc.
References bitsInTime(), and kNominal.
Referenced by CSCMotherboard::matchShowers().
bool CSCShowerDigi::isNominalOutOfTime | ( | ) | const |
Definition at line 52 of file CSCShowerDigi.cc.
References bitsOutOfTime(), and kNominal.
bool CSCShowerDigi::isTightInTime | ( | ) | const |
Definition at line 48 of file CSCShowerDigi.cc.
References bitsInTime(), and kTight.
Referenced by CSCMotherboard::matchShowers().
bool CSCShowerDigi::isTightOutOfTime | ( | ) | const |
Definition at line 54 of file CSCShowerDigi.cc.
References bitsOutOfTime(), and kTight.
bool CSCShowerDigi::isValid | ( | void | ) | const |
data
Definition at line 38 of file CSCShowerDigi.cc.
References isLooseInTime(), and isValidShowerType().
Referenced by ntupleDataFormat._Object::_checkIsValid(), CSCTMBHeader2020_TMB::addAnodeShower(), CSCTMBHeader2020_CCLUT::addAnodeShower(), CSCTMBHeader2020_GEM::addAnodeShower(), CSCTMBHeader2020_CCLUT::addCathodeShower(), CSCTMBHeader2020_GEM::addCathodeShower(), CSCTMBHeader2020_TMB::addShower(), CSCTMBHeader2020_CCLUT::addShower(), CSCTMBHeader2020_GEM::addShower(), CSCALCTHeader::addShower(), L1TdeCSCTPGShower::areSameShowers(), CSCMotherboard::matchShowers(), CSCDCCUnpacker::produce(), and core.AutoHandle.AutoHandle::ReallyLoad().
bool CSCShowerDigi::isValidShowerType | ( | ) | const |
Definition at line 56 of file CSCShowerDigi.cc.
References kInvalidShower, and showerType_.
Referenced by isValid().
|
inline |
|
inline |
|
private |
Definition at line 62 of file CSCShowerDigi.h.
Referenced by bitsInTime(), and clear().
|
private |
Definition at line 63 of file CSCShowerDigi.h.
Referenced by bitsOutOfTime(), and clear().
|
private |
Definition at line 66 of file CSCShowerDigi.h.
|
private |
Definition at line 69 of file CSCShowerDigi.h.
Referenced by clear(), and getComparatorNHits().
|
private |
Definition at line 65 of file CSCShowerDigi.h.
Referenced by clear(), getCSCID(), and setCSCID().
|
private |
Definition at line 67 of file CSCShowerDigi.h.
Referenced by clear(), getShowerType(), and isValidShowerType().
|
private |
Definition at line 68 of file CSCShowerDigi.h.
Referenced by clear(), and getWireNHits().