CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuonParticle.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger
4 // Class : L1MuonParticle
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 {
33 }
34 
36  Charge q,
37  const LorentzVector& p4,
38  const L1MuGMTExtendedCand& aCand,
39  int bx )
40  : LeafCandidate( q, p4 ),
41  cand_( aCand ),
42  bx_( bx )
43 {
44  isolated_ = cand_.isol() ;
45  mip_ = cand_.mip() ;
46  forward_ = cand_.isFwd() ;
47  rpc_ = cand_.isRPC() ;
48 }
49 
51  Charge q,
52  const PolarLorentzVector& p4,
53  const L1MuGMTExtendedCand& aCand,
54  int bx )
55  : LeafCandidate( q, p4 ),
56  cand_( aCand ),
57  bx_( bx )
58 {
59  isolated_ = cand_.isol() ;
60  mip_ = cand_.mip() ;
61  forward_ = cand_.isFwd() ;
62  rpc_ = cand_.isRPC() ;
63 }
64 
66  const LorentzVector& p4,
67  bool isolated,
68  bool mip,
69  bool forward,
70  bool rpc,
71  unsigned int detector,
72  int bx )
73  : LeafCandidate( q, p4 ),
74  isolated_( isolated ),
75  mip_( mip ),
76  forward_( forward ),
77  rpc_( rpc ),
78  cand_( L1MuGMTExtendedCand() ),
79  bx_( bx )
80 {
81 }
82 
84  const PolarLorentzVector& p4,
85  bool isolated,
86  bool mip,
87  bool forward,
88  bool rpc,
89  unsigned int detector,
90  int bx )
91  : LeafCandidate( q, p4 ),
92  isolated_( isolated ),
93  mip_( mip ),
94  forward_( forward ),
95  rpc_( rpc ),
96  cand_( L1MuGMTExtendedCand() ),
97  bx_( bx )
98 {
99 }
100 
101 // L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
102 // {
103 // // do actual copying here;
104 // }
105 
106 // L1MuonParticle::~L1MuonParticle()
107 // {
108 // }
109 
110 //
111 // assignment operators
112 //
113 // const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
114 // {
115 // //An exception safe implementation is
116 // L1MuonParticle temp(rhs);
117 // swap(rhs);
118 //
119 // return *this;
120 // }
121 
122 //
123 // member functions
124 //
125 
126 //
127 // const member functions
128 //
129 
130 //
131 // static member functions
132 //
int Charge
electric charge type
Definition: Candidate.h:39
bool isol() const
get isolation
Definition: L1MuGMTCand.h:114
L1MuGMTExtendedCand cand_
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
double p4[4]
Definition: TauolaWrapper.h:92
bool mip() const
get mip
Definition: L1MuGMTCand.h:117
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
string bx
Definition: rpc-layouts.py:13
bool isFwd() const
get forward bit (true=forward, false=barrel)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43