CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::RegionalMuonShower Class Reference

#include <RegionalMuonShower.h>

Public Member Functions

bool isOneLooseInTime () const
 
bool isOneNominalInTime () const
 
bool isOneNominalOutOfTime () const
 
bool isOneTightInTime () const
 
bool isOneTightOutOfTime () const
 
bool isTwoLooseInTime () const
 
bool isTwoLooseOutOfTime () const
 
bool isValid () const
 
const int link () const
 Get link on which the MicroGMT receives the candidate. More...
 
bool operator!= (const l1t::RegionalMuonShower &rhs) const
 
bool operator== (const l1t::RegionalMuonShower &rhs) const
 
const int processor () const
 Get processor ID on which the candidate was found (0..5 for OMTF/EMTF; 0..11 for BMTF) More...
 
 RegionalMuonShower (bool oneNominalInTime=false, bool oneNominalOutOfTime=false, bool twoLooseInTime=false, bool twoLooseOutOfTime=false, bool oneLooseInTime=false, bool oneTightInTime=false, bool oneTightOutOfTime=false)
 
void setOneLooseInTime (const bool bit)
 
void setOneNominalInTime (const bool bit)
 
void setOneNominalOutOfTime (const bool bit)
 
void setOneTightInTime (const bool bit)
 
void setOneTightOutOfTime (const bool bit)
 
void setTFIdentifiers (int processor, tftype trackFinder)
 Set the processor ID, track-finder type. From these two, the link is set. More...
 
void setTwoLooseInTime (const bool bit)
 
void setTwoLooseOutOfTime (const bool bit)
 
const tftype trackFinderType () const
 Get track-finder which found the muon (bmtf, emtf_pos/emtf_neg or omtf_pos/omtf_neg) More...
 
 ~RegionalMuonShower ()
 

Private Attributes

bool isOneLooseInTime_
 
bool isOneNominalInTime_
 
bool isOneNominalOutOfTime_
 
bool isOneTightInTime_
 
bool isOneTightOutOfTime_
 
bool isTwoLooseInTime_
 
bool isTwoLooseOutOfTime_
 
int link_
 
int processor_
 
tftype trackFinder_
 

Detailed Description

Definition at line 18 of file RegionalMuonShower.h.

Constructor & Destructor Documentation

◆ RegionalMuonShower()

l1t::RegionalMuonShower::RegionalMuonShower ( bool  oneNominalInTime = false,
bool  oneNominalOutOfTime = false,
bool  twoLooseInTime = false,
bool  twoLooseOutOfTime = false,
bool  oneLooseInTime = false,
bool  oneTightInTime = false,
bool  oneTightOutOfTime = false 
)

Definition at line 3 of file RegionalMuonShower.cc.

◆ ~RegionalMuonShower()

l1t::RegionalMuonShower::~RegionalMuonShower ( )

Definition at line 21 of file RegionalMuonShower.cc.

21 {}

Member Function Documentation

◆ isOneLooseInTime()

bool l1t::RegionalMuonShower::isOneLooseInTime ( ) const
inline

Definition at line 48 of file RegionalMuonShower.h.

References isOneLooseInTime_.

Referenced by operator==().

◆ isOneNominalInTime()

bool l1t::RegionalMuonShower::isOneNominalInTime ( ) const
inline

◆ isOneNominalOutOfTime()

bool l1t::RegionalMuonShower::isOneNominalOutOfTime ( ) const
inline

◆ isOneTightInTime()

bool l1t::RegionalMuonShower::isOneTightInTime ( ) const
inline

◆ isOneTightOutOfTime()

bool l1t::RegionalMuonShower::isOneTightOutOfTime ( ) const
inline

◆ isTwoLooseInTime()

bool l1t::RegionalMuonShower::isTwoLooseInTime ( ) const
inline

Definition at line 46 of file RegionalMuonShower.h.

References isTwoLooseInTime_.

Referenced by operator==().

◆ isTwoLooseOutOfTime()

bool l1t::RegionalMuonShower::isTwoLooseOutOfTime ( ) const
inline

Definition at line 47 of file RegionalMuonShower.h.

References isTwoLooseOutOfTime_.

◆ isValid()

bool l1t::RegionalMuonShower::isValid ( void  ) const

Definition at line 45 of file RegionalMuonShower.cc.

References or.

Referenced by ntupleDataFormat._Object::_checkIsValid(), l1t::RegionalMuonRawDigiTranslator::fillRegionalMuonShower(), l1t::RegionalMuonRawDigiTranslator::generatePackedShowerPayload(), and core.AutoHandle.AutoHandle::ReallyLoad().

45  {
47 }
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

◆ link()

const int l1t::RegionalMuonShower::link ( ) const
inline

Get link on which the MicroGMT receives the candidate.

Definition at line 51 of file RegionalMuonShower.h.

References link_.

51 { return link_; };

◆ operator!=()

bool l1t::RegionalMuonShower::operator!= ( const l1t::RegionalMuonShower rhs) const
inline

Definition at line 58 of file RegionalMuonShower.h.

References operator==().

58 { return !(operator==(rhs)); };
bool operator==(const l1t::RegionalMuonShower &rhs) const

◆ operator==()

bool l1t::RegionalMuonShower::operator== ( const l1t::RegionalMuonShower rhs) const

◆ processor()

const int l1t::RegionalMuonShower::processor ( ) const
inline

Get processor ID on which the candidate was found (0..5 for OMTF/EMTF; 0..11 for BMTF)

Definition at line 53 of file RegionalMuonShower.h.

References processor_.

◆ setOneLooseInTime()

void l1t::RegionalMuonShower::setOneLooseInTime ( const bool  bit)
inline

◆ setOneNominalInTime()

void l1t::RegionalMuonShower::setOneNominalInTime ( const bool  bit)
inline

◆ setOneNominalOutOfTime()

void l1t::RegionalMuonShower::setOneNominalOutOfTime ( const bool  bit)
inline

◆ setOneTightInTime()

void l1t::RegionalMuonShower::setOneTightInTime ( const bool  bit)
inline

◆ setOneTightOutOfTime()

void l1t::RegionalMuonShower::setOneTightOutOfTime ( const bool  bit)
inline

◆ setTFIdentifiers()

void l1t::RegionalMuonShower::setTFIdentifiers ( int  processor,
tftype  trackFinder 
)

Set the processor ID, track-finder type. From these two, the link is set.

Definition at line 23 of file RegionalMuonShower.cc.

References l1t::bmtf, l1t::emtf_neg, l1t::emtf_pos, l1t::omtf_neg, and l1t::omtf_pos.

Referenced by l1t::RegionalMuonRawDigiTranslator::fillRegionalMuonShower(), SectorProcessorShower::process(), and l1t::stage2::emtf::SPBlockUnpacker::unpack().

23  {
24  trackFinder_ = trackFinder;
26 
27  switch (trackFinder_) {
28  case tftype::emtf_pos:
29  link_ = processor_ + 36; // range 36...41
30  break;
31  case tftype::omtf_pos:
32  link_ = processor_ + 42; // range 42...47
33  break;
34  case tftype::bmtf:
35  link_ = processor_ + 48; // range 48...59
36  break;
37  case tftype::omtf_neg:
38  link_ = processor_ + 60; // range 60...65
39  break;
40  case tftype::emtf_neg:
41  link_ = processor_ + 66; // range 66...71
42  }
43 }
const int processor() const
Get processor ID on which the candidate was found (0..5 for OMTF/EMTF; 0..11 for BMTF) ...

◆ setTwoLooseInTime()

void l1t::RegionalMuonShower::setTwoLooseInTime ( const bool  bit)
inline

◆ setTwoLooseOutOfTime()

void l1t::RegionalMuonShower::setTwoLooseOutOfTime ( const bool  bit)
inline

◆ trackFinderType()

const tftype l1t::RegionalMuonShower::trackFinderType ( ) const
inline

Get track-finder which found the muon (bmtf, emtf_pos/emtf_neg or omtf_pos/omtf_neg)

Definition at line 55 of file RegionalMuonShower.h.

References trackFinder_.

55 { return trackFinder_; };

Member Data Documentation

◆ isOneLooseInTime_

bool l1t::RegionalMuonShower::isOneLooseInTime_
private

Definition at line 69 of file RegionalMuonShower.h.

Referenced by isOneLooseInTime(), and setOneLooseInTime().

◆ isOneNominalInTime_

bool l1t::RegionalMuonShower::isOneNominalInTime_
private

Definition at line 58 of file RegionalMuonShower.h.

Referenced by isOneNominalInTime(), and setOneNominalInTime().

◆ isOneNominalOutOfTime_

bool l1t::RegionalMuonShower::isOneNominalOutOfTime_
private

Definition at line 64 of file RegionalMuonShower.h.

Referenced by isOneNominalOutOfTime(), and setOneNominalOutOfTime().

◆ isOneTightInTime_

bool l1t::RegionalMuonShower::isOneTightInTime_
private

Definition at line 65 of file RegionalMuonShower.h.

Referenced by isOneTightInTime(), and setOneTightInTime().

◆ isOneTightOutOfTime_

bool l1t::RegionalMuonShower::isOneTightOutOfTime_
private

Definition at line 66 of file RegionalMuonShower.h.

Referenced by isOneTightOutOfTime(), and setOneTightOutOfTime().

◆ isTwoLooseInTime_

bool l1t::RegionalMuonShower::isTwoLooseInTime_
private

Definition at line 67 of file RegionalMuonShower.h.

Referenced by isTwoLooseInTime(), and setTwoLooseInTime().

◆ isTwoLooseOutOfTime_

bool l1t::RegionalMuonShower::isTwoLooseOutOfTime_
private

Definition at line 68 of file RegionalMuonShower.h.

Referenced by isTwoLooseOutOfTime(), and setTwoLooseOutOfTime().

◆ link_

int l1t::RegionalMuonShower::link_
private

Definition at line 70 of file RegionalMuonShower.h.

Referenced by link().

◆ processor_

int l1t::RegionalMuonShower::processor_
private

Definition at line 71 of file RegionalMuonShower.h.

Referenced by processor().

◆ trackFinder_

tftype l1t::RegionalMuonShower::trackFinder_
private

Definition at line 72 of file RegionalMuonShower.h.

Referenced by trackFinderType().