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  mus0_(oneNominalInTime),
13  mus1_(oneTightInTime),
14  musOutOfTime0_(false),
15  musOutOfTime1_(false) {}
16 
18 
19 bool l1t::MuonShower::isValid() const { return mus0_ or mus1_ or musOutOfTime0_ or musOutOfTime1_; }
20 
22  return (mus0_ == rhs.mus0() and mus1_ == rhs.mus1() and musOutOfTime0_ == rhs.musOutOfTime0() and
23  musOutOfTime1_ == rhs.musOutOfTime1());
24 }
bool mus1() const
Definition: MuonShower.h:63
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 musOutOfTime0() const
Definition: MuonShower.h:64
bool mus0() const
Definition: MuonShower.h:62
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:21
bool musOutOfTime1() const
Definition: MuonShower.h:65
bool isValid() const
Definition: MuonShower.cc:19