CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
CSCShowerDigi Class Reference

#include <CSCShowerDigi.h>

Public Types

enum  Run3Shower { kInvalid = 0, kLoose = 1, kNominal = 2, kTight = 3 }
 

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)
 Constructors. More...
 
 CSCShowerDigi ()
 default More...
 
uint16_t getCSCID () const
 
bool isLooseInTime () const
 
bool isLooseOutOfTime () const
 
bool isNominalInTime () const
 
bool isNominalOutOfTime () const
 
bool isTightInTime () const
 
bool isTightOutOfTime () const
 
bool isValid () const
 data More...
 
void setCSCID (const uint16_t c)
 set cscID More...
 

Private Attributes

uint16_t bitsInTime_
 
uint16_t bitsOutOfTime_
 
uint16_t cscID_
 

Detailed Description

Definition at line 9 of file CSCShowerDigi.h.

Member Enumeration Documentation

Enumerator
kInvalid 
kLoose 
kNominal 
kTight 

Definition at line 12 of file CSCShowerDigi.h.

Constructor & Destructor Documentation

CSCShowerDigi::CSCShowerDigi ( const uint16_t  inTimeBits,
const uint16_t  outTimeBits,
const uint16_t  cscID 
)

Constructors.

Definition at line 9 of file CSCShowerDigi.cc.

uint16_t bitsOutOfTime_
Definition: CSCShowerDigi.h:42
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
uint16_t cscID_
Definition: CSCShowerDigi.h:44
uint16_t bitsInTime_
Definition: CSCShowerDigi.h:41
CSCShowerDigi::CSCShowerDigi ( )

default

Default.

Definition at line 13 of file CSCShowerDigi.cc.

13 : bitsInTime_(0), bitsOutOfTime_(0), cscID_(0) {}
uint16_t bitsOutOfTime_
Definition: CSCShowerDigi.h:42
uint16_t cscID_
Definition: CSCShowerDigi.h:44
uint16_t bitsInTime_
Definition: CSCShowerDigi.h:41

Member Function Documentation

uint16_t CSCShowerDigi::bitsInTime ( ) const
inline
uint16_t CSCShowerDigi::bitsOutOfTime ( ) const
inline
void CSCShowerDigi::clear ( void  )

clear this Shower

Definition at line 15 of file CSCShowerDigi.cc.

References bitsInTime_, bitsOutOfTime_, and cscID_.

Referenced by CSCMotherboard::clear(), and BeautifulSoup.Tag::setString().

15  {
16  bitsInTime_ = 0;
17  bitsOutOfTime_ = 0;
18  cscID_ = 0;
19 }
uint16_t bitsOutOfTime_
Definition: CSCShowerDigi.h:42
uint16_t cscID_
Definition: CSCShowerDigi.h:44
uint16_t bitsInTime_
Definition: CSCShowerDigi.h:41
uint16_t CSCShowerDigi::getCSCID ( ) const
inline

Definition at line 35 of file CSCShowerDigi.h.

References cscID_.

Referenced by L1TdeCSCTPGShower::areSameShowers(), and SectorProcessorShower::select_shower().

35 { return cscID_; }
uint16_t cscID_
Definition: CSCShowerDigi.h:44
bool CSCShowerDigi::isLooseInTime ( ) const

Definition at line 26 of file CSCShowerDigi.cc.

References bitsInTime(), and kLoose.

Referenced by isValid().

26 { return bitsInTime() >= kLoose; }
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
bool CSCShowerDigi::isLooseOutOfTime ( ) const

Definition at line 32 of file CSCShowerDigi.cc.

References bitsOutOfTime(), and kLoose.

Referenced by isValid().

32 { return bitsOutOfTime() >= kLoose; }
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
bool CSCShowerDigi::isNominalInTime ( ) const

Definition at line 28 of file CSCShowerDigi.cc.

References bitsInTime(), and kNominal.

28 { return bitsInTime() >= kNominal; }
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
bool CSCShowerDigi::isNominalOutOfTime ( ) const

Definition at line 34 of file CSCShowerDigi.cc.

References bitsOutOfTime(), and kNominal.

34 { return bitsOutOfTime() >= kNominal; }
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
bool CSCShowerDigi::isTightInTime ( ) const

Definition at line 30 of file CSCShowerDigi.cc.

References bitsInTime(), and kTight.

30 { return bitsInTime() >= kTight; }
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
bool CSCShowerDigi::isTightOutOfTime ( ) const

Definition at line 36 of file CSCShowerDigi.cc.

References bitsOutOfTime(), and kTight.

36 { return bitsOutOfTime() >= kTight; }
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
bool CSCShowerDigi::isValid ( void  ) const

data

Definition at line 21 of file CSCShowerDigi.cc.

References isLooseInTime(), isLooseOutOfTime(), and or.

Referenced by ntupleDataFormat._Object::_checkIsValid(), L1TdeCSCTPGShower::areSameShowers(), CSCTriggerPrimitivesBuilder::build(), CSCDCCUnpacker::produce(), and core.AutoHandle.AutoHandle::ReallyLoad().

21  {
22  // any loose shower is valid
24 }
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
bool isLooseInTime() const
bool isLooseOutOfTime() const
void CSCShowerDigi::setCSCID ( const uint16_t  c)
inline

set cscID

Definition at line 38 of file CSCShowerDigi.h.

References c, and cscID_.

38 { cscID_ = c; }
const edm::EventSetup & c
uint16_t cscID_
Definition: CSCShowerDigi.h:44

Member Data Documentation

uint16_t CSCShowerDigi::bitsInTime_
private

Definition at line 41 of file CSCShowerDigi.h.

Referenced by bitsInTime(), and clear().

uint16_t CSCShowerDigi::bitsOutOfTime_
private

Definition at line 42 of file CSCShowerDigi.h.

Referenced by bitsOutOfTime(), and clear().

uint16_t CSCShowerDigi::cscID_
private

Definition at line 44 of file CSCShowerDigi.h.

Referenced by clear(), getCSCID(), and setCSCID().