CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: L1JetParticle.h,v 1.12 2008/04/03 03:37:20 wsun Exp $
16 //
17 
18 // system include files
19 
20 // user include files
24 
25 // forward declarations
26 
27 namespace l1extra {
28 
30  {
31 
32  public:
33  enum JetType
34  {
40  } ;
41 
42  L1JetParticle();
43 
46  int bx = 0 ) ;
47 
50  int bx = 0 ) ;
51 
52  // Creates null Ref.
55  int bx = 0 ) ;
56 
59  int bx = 0 ) ;
60 
61  virtual ~L1JetParticle() {}
62 
63  // ---------- const member functions ---------------------
64  JetType type() const
65  { return type_ ; }
66 
68  { return ref_ ; }
69 
70  const L1GctJetCand* gctJetCand() const
71  { return ref_.get() ; }
72 
73  virtual L1JetParticle* clone() const
74  { return new L1JetParticle( *this ) ; }
75 
76  int bx() const
77  { return bx_ ; }
78 
79  // ---------- static member functions --------------------
80 
81  // ---------- member functions ---------------------------
83  { type_ = type ; }
84 
85  void setBx( int bx )
86  { bx_ = bx ; }
87 
88  private:
89  // L1JetParticle(const L1JetParticle&); // stop default
90 
91  // const L1JetParticle& operator=(const L1JetParticle&); // stop default
92 
93  // ---------- member data --------------------------------
96  int bx_ ;
97  };
98 }
99 
100 #endif
type
Definition: HCALResponse.h:21
void setType(JetType type)
Definition: L1JetParticle.h:82
virtual L1JetParticle * clone() const
returns a clone of the Candidate object
Definition: L1JetParticle.h:73
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:28
math::XYZTLorentzVector LorentzVector
Level-1 Trigger jet candidate.
Definition: L1GctJetCand.h:18
JetType type() const
Definition: L1JetParticle.h:64
edm::Ref< L1GctJetCandCollection > ref_
Definition: L1JetParticle.h:95
const L1GctJetCand * gctJetCand() const
Definition: L1JetParticle.h:70
const edm::Ref< L1GctJetCandCollection > & gctJetCandRef() const
Definition: L1JetParticle.h:67
T const * get() const
Returns C++ pointer to the item.
Definition: Ref.h:242