CMS 3D CMS Logo

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

#include <RegionalMuonShower.h>

Public Member Functions

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 oneTightInTime=false, bool oneTightOutOfTime=false)
 
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 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

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

Definition at line 3 of file RegionalMuonShower.cc.

9  : isOneNominalInTime_(oneNominalInTime),
10  isOneNominalOutOfTime_(oneNominalOutOfTime),
11  isOneTightInTime_(oneTightInTime),
12  isOneTightOutOfTime_(oneTightOutOfTime),
13  isTwoLooseInTime_(twoLooseInTime),
14  isTwoLooseOutOfTime_(twoLooseOutOfTime),
15  link_(0),
16  processor_(0) {}
l1t::RegionalMuonShower::~RegionalMuonShower ( )

Definition at line 18 of file RegionalMuonShower.cc.

18 {}

Member Function Documentation

bool l1t::RegionalMuonShower::isOneNominalInTime ( ) const
inline
bool l1t::RegionalMuonShower::isOneNominalOutOfTime ( ) const
inline
bool l1t::RegionalMuonShower::isOneTightInTime ( ) const
inline
bool l1t::RegionalMuonShower::isOneTightOutOfTime ( ) const
inline
bool l1t::RegionalMuonShower::isTwoLooseInTime ( ) const
inline

Definition at line 44 of file RegionalMuonShower.h.

References isTwoLooseInTime_.

Referenced by operator==().

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

Definition at line 45 of file RegionalMuonShower.h.

References isTwoLooseOutOfTime_.

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

Definition at line 42 of file RegionalMuonShower.cc.

References or.

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

42  {
44 }
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
const int l1t::RegionalMuonShower::link ( ) const
inline

Get link on which the MicroGMT receives the candidate.

Definition at line 48 of file RegionalMuonShower.h.

References link_.

48 { return link_; };
bool l1t::RegionalMuonShower::operator!= ( const l1t::RegionalMuonShower rhs) const
inline

Definition at line 55 of file RegionalMuonShower.h.

References operator==().

55 { return !(operator==(rhs)); };
bool operator==(const l1t::RegionalMuonShower &rhs) const
bool l1t::RegionalMuonShower::operator== ( const l1t::RegionalMuonShower rhs) const
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 50 of file RegionalMuonShower.h.

References processor_.

50 { return processor_; };
void l1t::RegionalMuonShower::setOneNominalInTime ( const bool  bit)
inline
void l1t::RegionalMuonShower::setOneNominalOutOfTime ( const bool  bit)
inline
void l1t::RegionalMuonShower::setOneTightInTime ( const bool  bit)
inline
void l1t::RegionalMuonShower::setOneTightOutOfTime ( const bool  bit)
inline
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 20 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().

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

Definition at line 34 of file RegionalMuonShower.h.

References isTwoLooseInTime_.

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

Definition at line 33 of file RegionalMuonShower.h.

References isTwoLooseOutOfTime_.

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 52 of file RegionalMuonShower.h.

References trackFinder_.

52 { return trackFinder_; };

Member Data Documentation

bool l1t::RegionalMuonShower::isOneNominalInTime_
private

Definition at line 55 of file RegionalMuonShower.h.

Referenced by isOneNominalInTime(), and setOneNominalInTime().

bool l1t::RegionalMuonShower::isOneNominalOutOfTime_
private

Definition at line 61 of file RegionalMuonShower.h.

Referenced by isOneNominalOutOfTime(), and setOneNominalOutOfTime().

bool l1t::RegionalMuonShower::isOneTightInTime_
private

Definition at line 62 of file RegionalMuonShower.h.

Referenced by isOneTightInTime(), and setOneTightInTime().

bool l1t::RegionalMuonShower::isOneTightOutOfTime_
private

Definition at line 63 of file RegionalMuonShower.h.

Referenced by isOneTightOutOfTime(), and setOneTightOutOfTime().

bool l1t::RegionalMuonShower::isTwoLooseInTime_
private

Definition at line 64 of file RegionalMuonShower.h.

Referenced by isTwoLooseInTime(), and setTwoLooseInTime().

bool l1t::RegionalMuonShower::isTwoLooseOutOfTime_
private

Definition at line 65 of file RegionalMuonShower.h.

Referenced by isTwoLooseOutOfTime(), and setTwoLooseOutOfTime().

int l1t::RegionalMuonShower::link_
private

Definition at line 66 of file RegionalMuonShower.h.

Referenced by link().

int l1t::RegionalMuonShower::processor_
private

Definition at line 67 of file RegionalMuonShower.h.

Referenced by processor().

tftype l1t::RegionalMuonShower::trackFinder_
private

Definition at line 68 of file RegionalMuonShower.h.

Referenced by trackFinderType().