CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RegionalMuonShower.cc
Go to the documentation of this file.
2 
4  bool oneNominalOutOfTime,
5  bool twoLooseInTime,
6  bool twoLooseOutOfTime,
7  bool oneTightInTime,
8  bool oneTightOutOfTime)
9  : isOneNominalInTime_(oneNominalInTime),
10  isOneNominalOutOfTime_(oneNominalOutOfTime),
11  isOneTightInTime_(oneTightInTime),
12  isOneTightOutOfTime_(oneTightOutOfTime),
13  isTwoLooseInTime_(twoLooseInTime),
14  isTwoLooseOutOfTime_(twoLooseOutOfTime),
15  link_(0),
16  processor_(0) {}
17 
19 
20 void l1t::RegionalMuonShower::setTFIdentifiers(int processor, tftype trackFinder) {
21  trackFinder_ = trackFinder;
22  processor_ = processor;
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 }
41 
43  return (isOneNominalInTime_ or isTwoLooseInTime_ or isOneTightInTime_);
44 }
45 
47  return (isTwoLooseInTime_ == rhs.isTwoLooseInTime() and isOneNominalInTime_ == rhs.isOneNominalInTime() and
48  isOneTightInTime_ == rhs.isOneTightInTime());
49 }
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
RegionalMuonShower(bool oneNominalInTime=false, bool oneNominalOutOfTime=false, bool twoLooseInTime=false, bool twoLooseOutOfTime=false, bool oneTightInTime=false, bool oneTightOutOfTime=false)
bool isOneNominalInTime() const
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
bool operator==(const l1t::RegionalMuonShower &rhs) const