CMS 3D CMS Logo

L1JetParticle.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger
4 // Class : L1JetParticle
5 //
8 //
9 // Original Author: Werner Sun
10 // Created: Tue Jul 25 17:51:21 EDT 2006
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 using namespace l1extra;
19 
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
32 
34  : LeafCandidate((char)0, p4), ref_(aRef), bx_(bx) {
35  if (ref_.isNonnull()) {
37  }
38 }
39 
41  : LeafCandidate((char)0, p4), ref_(aRef), bx_(bx) {
42  if (ref_.isNonnull()) {
44  }
45 }
46 
48  : LeafCandidate((char)0, p4), type_(type), ref_(edm::Ref<L1GctJetCandCollection>()), bx_(bx) {}
49 
51  : LeafCandidate((char)0, p4), type_(type), ref_(edm::Ref<L1GctJetCandCollection>()), bx_(bx) {}
52 
53 // L1JetParticle::L1JetParticle(const L1JetParticle& rhs)
54 // {
55 // // do actual copying here;
56 // }
57 
58 // L1JetParticle::~L1JetParticle()
59 // {
60 // }
61 
62 //
63 // assignment operators
64 //
65 // const L1JetParticle& L1JetParticle::operator=(const L1JetParticle& rhs)
66 // {
67 // //An exception safe implementation is
68 // L1JetParticle temp(rhs);
69 // swap(rhs);
70 //
71 // return *this;
72 // }
73 
74 //
75 // member functions
76 //
77 
78 //
79 // const member functions
80 //
81 
82 //
83 // static member functions
84 //
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:232
bool isTau() const
check if this is a tau
Definition: L1GctJetCand.h:68
std::vector< L1GctJetCand > L1GctJetCandCollection
const L1GctJetCand * gctJetCand() const
Definition: L1JetParticle.h:50
edm::Ref< L1GctJetCandCollection > ref_
Definition: L1JetParticle.h:70
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
HLT enums.
bool isForward() const
check if this is a forward jet
Definition: L1GctJetCand.h:71
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38