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 //
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 {
33 }
34 
37  int bx )
38  : LeafCandidate( ( char ) 0, p4 ),
39  ref_( aRef ),
40  bx_( bx )
41 {
42  if( ref_.isNonnull() )
43  {
45  }
46 }
47 
50  int bx )
51  : LeafCandidate( ( char ) 0, p4 ),
52  ref_( aRef ),
53  bx_( bx )
54 {
55  if( ref_.isNonnull() )
56  {
58  }
59 }
60 
62  EmType type,
63  int bx )
64  : LeafCandidate( ( char ) 0, p4 ),
65  type_( type ),
66  ref_( edm::Ref< L1GctEmCandCollection >() ),
67  bx_( bx )
68 {
69 }
70 
72  EmType type,
73  int bx )
74  : LeafCandidate( ( char ) 0, p4 ),
75  type_( type ),
76  ref_( edm::Ref< L1GctEmCandCollection >() ),
77  bx_( bx )
78 {
79 }
80 
81 // L1EmParticle::L1EmParticle(const L1EmParticle& rhs)
82 // {
83 // // do actual copying here;
84 // }
85 
86 // L1EmParticle::~L1EmParticle()
87 // {
88 // }
89 
90 //
91 // assignment operators
92 //
93 // const L1EmParticle& L1EmParticle::operator=(const L1EmParticle& rhs)
94 // {
95 // //An exception safe implementation is
96 // L1EmParticle temp(rhs);
97 // swap(rhs);
98 //
99 // return *this;
100 // }
101 
102 //
103 // member functions
104 //
105 
106 //
107 // const member functions
108 //
109 
110 //
111 // static member functions
112 //
type
Definition: HCALResponse.h:21
const L1GctEmCand * gctEmCand() const
Definition: L1EmParticle.h:68
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:93
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
std::vector< L1GctEmCand > L1GctEmCandCollection
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43