CMS 3D CMS Logo

RegionalMuonShower.cc
Go to the documentation of this file.
2 
4  bool oneNominalOutOfTime,
5  bool twoLooseInTime,
6  bool twoLooseOutOfTime,
7  bool oneLooseInTime,
8  bool oneTightInTime,
9  bool oneTightOutOfTime)
10  : isOneNominalInTime_(oneNominalInTime),
11  isOneNominalOutOfTime_(oneNominalOutOfTime),
12  isOneTightInTime_(oneTightInTime),
13  isOneTightOutOfTime_(oneTightOutOfTime),
14  isTwoLooseInTime_(twoLooseInTime),
15  isTwoLooseOutOfTime_(twoLooseOutOfTime),
16  isOneLooseInTime_(oneLooseInTime),
17  link_(0),
18  processor_(0),
19  trackFinder_(l1t::tftype::bmtf) {}
20 
22 
23 void l1t::RegionalMuonShower::setTFIdentifiers(int processor, tftype trackFinder) {
24  trackFinder_ = trackFinder;
25  processor_ = processor;
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 }
44 
46  return (isOneNominalInTime_ or isTwoLooseInTime_ or isOneTightInTime_ or isOneLooseInTime_);
47 }
48 
50  return (isTwoLooseInTime_ == rhs.isTwoLooseInTime() and isOneNominalInTime_ == rhs.isOneNominalInTime() and
51  isOneTightInTime_ == rhs.isOneTightInTime() and isOneLooseInTime_ == rhs.isOneLooseInTime());
52 }
delete x;
Definition: CaloConfig.h:22
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
bool operator==(const l1t::RegionalMuonShower &rhs) const
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
RegionalMuonShower(bool oneNominalInTime=false, bool oneNominalOutOfTime=false, bool twoLooseInTime=false, bool twoLooseOutOfTime=false, bool oneLooseInTime=false, bool oneTightInTime=false, bool oneTightOutOfTime=false)