CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: L1EmParticle.cc,v 1.7 2008/04/03 03:37:21 wsun Exp $
12 //
13 
14 // system include files
15 
16 // user include files
18 
19 using namespace l1extra ;
20 
21 //
22 // constants, enums and typedefs
23 //
24 
25 //
26 // static data member definitions
27 //
28 
29 //
30 // constructors and destructor
31 //
33 {
34 }
35 
38  int bx )
39  : LeafCandidate( ( char ) 0, p4 ),
40  ref_( aRef ),
41  bx_( bx )
42 {
43  if( ref_.isNonnull() )
44  {
46  }
47 }
48 
51  int bx )
52  : LeafCandidate( ( char ) 0, p4 ),
53  ref_( aRef ),
54  bx_( bx )
55 {
56  if( ref_.isNonnull() )
57  {
59  }
60 }
61 
63  EmType type,
64  int bx )
65  : LeafCandidate( ( char ) 0, p4 ),
66  type_( type ),
67  ref_( edm::Ref< L1GctEmCandCollection >() ),
68  bx_( bx )
69 {
70 }
71 
73  EmType type,
74  int bx )
75  : LeafCandidate( ( char ) 0, p4 ),
76  type_( type ),
77  ref_( edm::Ref< L1GctEmCandCollection >() ),
78  bx_( bx )
79 {
80 }
81 
82 // L1EmParticle::L1EmParticle(const L1EmParticle& rhs)
83 // {
84 // // do actual copying here;
85 // }
86 
87 // L1EmParticle::~L1EmParticle()
88 // {
89 // }
90 
91 //
92 // assignment operators
93 //
94 // const L1EmParticle& L1EmParticle::operator=(const L1EmParticle& rhs)
95 // {
96 // //An exception safe implementation is
97 // L1EmParticle temp(rhs);
98 // swap(rhs);
99 //
100 // return *this;
101 // }
102 
103 //
104 // member functions
105 //
106 
107 //
108 // const member functions
109 //
110 
111 //
112 // static member functions
113 //
type
Definition: HCALResponse.h:21
const L1GctEmCand * gctEmCand() const
Definition: L1EmParticle.h:69
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:250
double p4[4]
Definition: TauolaWrapper.h:92
bool isolated() const
which stream did this come from
Definition: L1GctEmCand.h:73
edm::Ref< L1GctEmCandCollection > ref_
Definition: L1EmParticle.h:94
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
std::vector< L1GctEmCand > L1GctEmCandCollection
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43