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 // $Id: L1MuonParticle.cc,v 1.9 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 
37  Charge q,
38  const LorentzVector& p4,
39  const L1MuGMTExtendedCand& aCand,
40  int bx )
41  : LeafCandidate( q, p4 ),
42  cand_( aCand ),
43  bx_( bx )
44 {
45  isolated_ = cand_.isol() ;
46  mip_ = cand_.mip() ;
47  forward_ = cand_.isFwd() ;
48  rpc_ = cand_.isRPC() ;
49 }
50 
52  Charge q,
53  const PolarLorentzVector& p4,
54  const L1MuGMTExtendedCand& aCand,
55  int bx )
56  : LeafCandidate( q, p4 ),
57  cand_( aCand ),
58  bx_( bx )
59 {
60  isolated_ = cand_.isol() ;
61  mip_ = cand_.mip() ;
62  forward_ = cand_.isFwd() ;
63  rpc_ = cand_.isRPC() ;
64 }
65 
67  const LorentzVector& p4,
68  bool isolated,
69  bool mip,
70  bool forward,
71  bool rpc,
72  unsigned int detector,
73  int bx )
74  : LeafCandidate( q, p4 ),
75  isolated_( isolated ),
76  mip_( mip ),
77  forward_( forward ),
78  rpc_( rpc ),
79  cand_( L1MuGMTExtendedCand() ),
80  bx_( bx )
81 {
82 }
83 
85  const PolarLorentzVector& p4,
86  bool isolated,
87  bool mip,
88  bool forward,
89  bool rpc,
90  unsigned int detector,
91  int bx )
92  : LeafCandidate( q, p4 ),
93  isolated_( isolated ),
94  mip_( mip ),
95  forward_( forward ),
96  rpc_( rpc ),
97  cand_( L1MuGMTExtendedCand() ),
98  bx_( bx )
99 {
100 }
101 
102 // L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
103 // {
104 // // do actual copying here;
105 // }
106 
107 // L1MuonParticle::~L1MuonParticle()
108 // {
109 // }
110 
111 //
112 // assignment operators
113 //
114 // const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
115 // {
116 // //An exception safe implementation is
117 // L1MuonParticle temp(rhs);
118 // swap(rhs);
119 //
120 // return *this;
121 // }
122 
123 //
124 // member functions
125 //
126 
127 //
128 // const member functions
129 //
130 
131 //
132 // static member functions
133 //
int Charge
electric charge type
Definition: Candidate.h:36
bool isol() const
get isolation
Definition: L1MuGMTCand.h:116
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:119
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:38
bool isFwd() const
get forward bit (true=forward, false=barrel)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:40