CMS 3D CMS Logo

L1EmParticle.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger
4 // Class : L1EmParticle
5 //
8 //
9 // Original Author: Werner Sun
10 // Created: Tue Jul 25 15:56:47 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<L1GctEmCandCollection>()), bx_(bx) {}
49 
51  : LeafCandidate((char)0, p4), type_(type), ref_(edm::Ref<L1GctEmCandCollection>()), bx_(bx) {}
52 
53 // L1EmParticle::L1EmParticle(const L1EmParticle& rhs)
54 // {
55 // // do actual copying here;
56 // }
57 
58 // L1EmParticle::~L1EmParticle()
59 // {
60 // }
61 
62 //
63 // assignment operators
64 //
65 // const L1EmParticle& L1EmParticle::operator=(const L1EmParticle& rhs)
66 // {
67 // //An exception safe implementation is
68 // L1EmParticle 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:238
edm::Ref< L1GctEmCandCollection > ref_
Definition: L1EmParticle.h:70
const L1GctEmCand * gctEmCand() const
Definition: L1EmParticle.h:50
bool isolated() const
which stream did this come from
Definition: L1GctEmCand.h:71
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
HLT enums.
std::vector< L1GctEmCand > L1GctEmCandCollection
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38