1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
// -*- C++ -*-
//
// Package: L1Trigger
// Class : L1MuonParticle
//
/**\class L1MuonParticle \file L1MuonParticle.cc DataFormats/L1Trigger/src/L1MuonParticle.cc \author Werner Sun
*/
//
// Original Author: Werner Sun
// Created: Tue Jul 25 17:51:21 EDT 2006
//
// system include files
// user include files
#include "DataFormats/L1Trigger/interface/L1MuonParticle.h"
using namespace l1extra;
//
// constants, enums and typedefs
//
//
// static data member definitions
//
//
// constructors and destructor
//
L1MuonParticle::L1MuonParticle() {}
L1MuonParticle::L1MuonParticle(Charge q, const LorentzVector& p4, const L1MuGMTExtendedCand& aCand, int bx)
: LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
isolated_ = cand_.isol();
mip_ = cand_.mip();
forward_ = cand_.isFwd();
rpc_ = cand_.isRPC();
}
L1MuonParticle::L1MuonParticle(Charge q, const PolarLorentzVector& p4, const L1MuGMTExtendedCand& aCand, int bx)
: LeafCandidate(q, p4), cand_(aCand), bx_(bx) {
isolated_ = cand_.isol();
mip_ = cand_.mip();
forward_ = cand_.isFwd();
rpc_ = cand_.isRPC();
}
L1MuonParticle::L1MuonParticle(
Charge q, const LorentzVector& p4, bool isolated, bool mip, bool forward, bool rpc, unsigned int detector, int bx)
: LeafCandidate(q, p4),
isolated_(isolated),
mip_(mip),
forward_(forward),
rpc_(rpc),
cand_(L1MuGMTExtendedCand()),
bx_(bx) {}
L1MuonParticle::L1MuonParticle(Charge q,
const PolarLorentzVector& p4,
bool isolated,
bool mip,
bool forward,
bool rpc,
unsigned int detector,
int bx)
: LeafCandidate(q, p4),
isolated_(isolated),
mip_(mip),
forward_(forward),
rpc_(rpc),
cand_(L1MuGMTExtendedCand()),
bx_(bx) {}
// L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
// {
// // do actual copying here;
// }
// L1MuonParticle::~L1MuonParticle()
// {
// }
//
// assignment operators
//
// const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
// {
// //An exception safe implementation is
// L1MuonParticle temp(rhs);
// swap(rhs);
//
// return *this;
// }
//
// member functions
//
//
// const member functions
//
//
// static member functions
//
|