CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonShower.cc
Go to the documentation of this file.
2 
3 l1t::MuonShower::MuonShower(bool oneNominalInTime,
4  bool oneNominalOutOfTime,
5  bool twoLooseInTime,
6  bool twoLooseOutOfTime,
7  bool oneTightInTime,
8  bool oneTightOutOfTime)
9  : L1Candidate(math::PtEtaPhiMLorentzVector{0., 0., 0., 0.}, 0., 0., 0., 0, 0),
10  // in this object it makes more sense to the different shower types to
11  // the 4 bits, so that the object easily interfaces with the uGT emulator
12  oneNominalInTime_(oneNominalInTime),
13  oneTightInTime_(oneTightInTime),
14  musOutOfTime0_(false),
15  musOutOfTime1_(false) {}
16 
18 
20  return oneNominalInTime_ or oneTightInTime_ or musOutOfTime0_ or musOutOfTime1_;
21 }
22 
24  return (oneNominalInTime_ == rhs.isOneNominalInTime() and oneTightInTime_ == rhs.isOneTightInTime() and
25  musOutOfTime0_ == rhs.musOutOfTime0() and musOutOfTime1_ == rhs.musOutOfTime1());
26 }
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 isOneNominalInTime() const
Definition: MuonShower.h:74
bool isOneTightInTime() const
Definition: MuonShower.h:75
bool musOutOfTime0() const
Definition: MuonShower.h:66
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
MuonShower(bool oneNominalInTime=false, bool oneNominalOutOfTime=false, bool twoLooseInTime=false, bool twoLooseOutOfTime=false, bool oneTightInTime=false, bool oneTightOutOfTime=false)
Definition: MuonShower.cc:3
~MuonShower() override
Definition: MuonShower.cc:17
virtual bool operator==(const l1t::MuonShower &rhs) const
Definition: MuonShower.cc:23
bool musOutOfTime1() const
Definition: MuonShower.h:67
bool isValid() const
Definition: MuonShower.cc:19