CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
34  : LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
35  isolated_ = cand_.isol();
36  mip_ = cand_.mip();
37  forward_ = cand_.isFwd();
38  rpc_ = cand_.isRPC();
39 }
40 
42  : LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
43  isolated_ = cand_.isol();
44  mip_ = cand_.mip();
45  forward_ = cand_.isFwd();
46  rpc_ = cand_.isRPC();
47 }
48 
50  Charge q, const LorentzVector& p4, bool isolated, bool mip, bool forward, bool rpc, unsigned int detector, int bx)
51  : LeafCandidate(q, p4),
52  isolated_(isolated),
53  mip_(mip),
54  forward_(forward),
55  rpc_(rpc),
56  cand_(L1MuGMTExtendedCand()),
57  bx_(bx) {}
58 
60  const PolarLorentzVector& p4,
61  bool isolated,
62  bool mip,
63  bool forward,
64  bool rpc,
65  unsigned int detector,
66  int bx)
67  : LeafCandidate(q, p4),
68  isolated_(isolated),
69  mip_(mip),
70  forward_(forward),
71  rpc_(rpc),
72  cand_(L1MuGMTExtendedCand()),
73  bx_(bx) {}
74 
75 // L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
76 // {
77 // // do actual copying here;
78 // }
79 
80 // L1MuonParticle::~L1MuonParticle()
81 // {
82 // }
83 
84 //
85 // assignment operators
86 //
87 // const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
88 // {
89 // //An exception safe implementation is
90 // L1MuonParticle temp(rhs);
91 // swap(rhs);
92 //
93 // return *this;
94 // }
95 
96 //
97 // member functions
98 //
99 
100 //
101 // const member functions
102 //
103 
104 //
105 // static member functions
106 //
int Charge
electric charge type
Definition: Candidate.h:34
bool isol() const
get isolation
Definition: L1MuGMTCand.h:111
L1MuGMTExtendedCand cand_
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
bool mip() const
get mip
Definition: L1MuGMTCand.h:114
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
bool isFwd() const
get forward bit (true=forward, false=barrel)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38