CMS 3D CMS Logo

L1JetParticle.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1JetParticle_h
2 #define L1Trigger_L1JetParticle_h
3 // -*- C++ -*-
4 //
5 // Package: L1Trigger
6 // Class : L1JetParticle
7 //
12 //
13 // Original Author: Werner Sun
14 // Created: Sat Jul 15 12:41:07 EDT 2006
15 //
16 
17 // system include files
18 
19 // user include files
23 
24 // forward declarations
25 
26 namespace l1extra {
27 
29  public:
31 
32  L1JetParticle();
33 
35 
37 
38  // Creates null Ref.
40 
42 
43  ~L1JetParticle() override {}
44 
45  // ---------- const member functions ---------------------
46  JetType type() const { return type_; }
47 
49 
50  const L1GctJetCand* gctJetCand() const { return ref_.get(); }
51 
52  L1JetParticle* clone() const override { return new L1JetParticle(*this); }
53 
54  int bx() const { return bx_; }
55 
56  // ---------- static member functions --------------------
57 
58  // ---------- member functions ---------------------------
59  void setType(JetType type) { type_ = type; }
60 
61  void setBx(int bx) { bx_ = bx; }
62 
63  private:
64  // L1JetParticle(const L1JetParticle&); // stop default
65 
66  // const L1JetParticle& operator=(const L1JetParticle&); // stop default
67 
68  // ---------- member data --------------------------------
71  int bx_;
72  };
73 } // namespace l1extra
74 
75 #endif
l1extra::L1JetParticle::~L1JetParticle
~L1JetParticle() override
Definition: L1JetParticle.h:43
L1GctJetCand
Level-1 Trigger jet candidate.
Definition: L1GctJetCand.h:17
l1extra::L1JetParticle::kCentral
Definition: L1JetParticle.h:30
l1extra::L1JetParticle::clone
L1JetParticle * clone() const override
returns a clone of the Candidate object
Definition: L1JetParticle.h:52
L1GctCollections.h
l1extra::L1JetParticle::bx_
int bx_
Definition: L1JetParticle.h:71
l1extra::L1JetParticle::type_
JetType type_
Definition: L1JetParticle.h:69
edm::Ref::get
T const * get() const
Returns C++ pointer to the item.
Definition: Ref.h:232
l1extra::L1JetParticle::type
JetType type() const
Definition: L1JetParticle.h:46
edm::Ref< L1GctJetCandCollection >
reco::LeafCandidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
LeafCandidate.h
l1extra::L1JetParticle::kForward
Definition: L1JetParticle.h:30
l1extra::L1JetParticle::kUndefined
Definition: L1JetParticle.h:30
l1extra::L1JetParticle::kNumOfJetTypes
Definition: L1JetParticle.h:30
l1extra::L1JetParticle::L1JetParticle
L1JetParticle()
Definition: L1JetParticle.cc:31
l1extra::L1JetParticle::bx
int bx() const
Definition: L1JetParticle.h:54
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
l1extra::L1JetParticle::setBx
void setBx(int bx)
Definition: L1JetParticle.h:61
l1extra::L1JetParticle
Definition: L1JetParticle.h:28
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
l1extra::L1JetParticle::gctJetCand
const L1GctJetCand * gctJetCand() const
Definition: L1JetParticle.h:50
l1extra::L1JetParticle::setType
void setType(JetType type)
Definition: L1JetParticle.h:59
Ref.h
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
l1extra::L1JetParticle::JetType
JetType
Definition: L1JetParticle.h:30
l1extra::L1JetParticle::gctJetCandRef
const edm::Ref< L1GctJetCandCollection > & gctJetCandRef() const
Definition: L1JetParticle.h:48
reco::LeafCandidate
Definition: LeafCandidate.h:16
l1extra
Definition: L1EmParticle.h:26
l1extra::L1JetParticle::ref_
edm::Ref< L1GctJetCandCollection > ref_
Definition: L1JetParticle.h:70
l1extra::L1JetParticle::kTau
Definition: L1JetParticle.h:30