ATLAS Offline Software
Reconstruction
MuonIdentification
muonEvent
src
MuonSpShower.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
MuonSpShower.cxx - Description
7
-------------------
8
begin : 28-07-2006
9
authors : Ketevi A. Assamagan
10
email : Ketevi@bnl.gov
11
12
***************************************************************************/
13
14
#include "
muonEvent/MuonSpShower.h
"
15
16
namespace
Rec
{
17
19
MuonSpShower::MuonSpShower
() :
20
m_eta(0),
21
m_phi(0),
22
m_numberOfTriggerHits(0),
23
m_numberOfInnerHits(0),
24
m_numberOfInnerSegments(0),
25
m_numberOfMiddleHits(0),
26
m_numberOfMiddleSegments(0),
27
m_numberOfOuterHits(0),
28
m_numberOfOuterSegments(0)
29
{}
30
32
MuonSpShower::MuonSpShower
(
33
const
float
eta,
const
float
phi,
34
const
unsigned
short
numOfTriggerHits,
35
const
unsigned
short
numOfInnerHits,
36
const
unsigned
short
numOfMiddleHits,
37
const
unsigned
short
numOfOuterHits,
38
const
unsigned
short
numOfInnerSegments,
39
const
unsigned
short
numOfMiddleSegments,
40
const
unsigned
short
numOfOuterSegments) {
41
42
m_eta
=
eta
;
43
m_phi
=
phi
;
44
m_numberOfTriggerHits
= numOfTriggerHits;
45
m_numberOfInnerHits
= numOfInnerHits;
46
m_numberOfMiddleHits
= numOfMiddleHits;
47
m_numberOfOuterHits
= numOfOuterHits;
48
m_numberOfInnerSegments
= numOfInnerSegments;
49
m_numberOfMiddleSegments
= numOfMiddleSegments;
50
m_numberOfOuterSegments
= numOfOuterSegments;
51
}
52
54
MuonSpShower::MuonSpShower
(
const
MuonSpShower
& rhs )
55
56
=
default
;
57
59
MuonSpShower
&
MuonSpShower::operator=
(
const
MuonSpShower
& rhs )
60
{
61
if
(
this
!= &rhs ) {
62
m_eta
= rhs.
m_eta
;
63
m_phi
= rhs.
m_phi
;
64
m_numberOfTriggerHits
= rhs.
m_numberOfTriggerHits
;
65
m_numberOfInnerHits
= rhs.
m_numberOfInnerHits
;
66
m_numberOfMiddleHits
= rhs.
m_numberOfMiddleHits
;
67
m_numberOfOuterHits
= rhs.
m_numberOfOuterHits
;
68
m_numberOfInnerSegments
= rhs.
m_numberOfInnerSegments
;
69
m_numberOfMiddleSegments
= rhs.
m_numberOfMiddleSegments
;
70
m_numberOfOuterSegments
= rhs.
m_numberOfOuterSegments
;
71
}
72
return
*
this
;
73
}
74
76
MuonSpShower::~MuonSpShower
()
77
=
default
;
78
79
}
80
81
Rec::MuonSpShower::phi
float phi() const
return the Jet axis - phi
Definition:
MuonSpShower.h:81
Rec::MuonSpShower::~MuonSpShower
virtual ~MuonSpShower()
Destructor.
Rec::MuonSpShower::MuonSpShower
MuonSpShower()
Default Constructor needed for persistency.
Definition:
MuonSpShower.cxx:26
Rec::MuonSpShower::m_numberOfInnerSegments
unsigned short m_numberOfInnerSegments
Definition:
MuonSpShower.h:133
Rec::MuonSpShower::eta
float eta() const
return the Jet axis - eta
Definition:
MuonSpShower.h:79
Rec::MuonSpShower::m_eta
float m_eta
Definition:
MuonSpShower.h:129
Rec::MuonSpShower
Definition:
MuonSpShower.h:39
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition:
FakeTrackBuilder.h:10
Rec::MuonSpShower::operator=
MuonSpShower & operator=(const MuonSpShower &)
Assignement operator.
Definition:
MuonSpShower.cxx:66
Rec::MuonSpShower::m_phi
float m_phi
Definition:
MuonSpShower.h:130
Rec::MuonSpShower::m_numberOfMiddleSegments
unsigned short m_numberOfMiddleSegments
Definition:
MuonSpShower.h:135
Rec::MuonSpShower::m_numberOfMiddleHits
unsigned short m_numberOfMiddleHits
Definition:
MuonSpShower.h:134
Rec::MuonSpShower::m_numberOfOuterSegments
unsigned short m_numberOfOuterSegments
Definition:
MuonSpShower.h:137
MuonSpShower.h
Rec::MuonSpShower::m_numberOfTriggerHits
unsigned short m_numberOfTriggerHits
Definition:
MuonSpShower.h:131
Rec::MuonSpShower::m_numberOfInnerHits
unsigned short m_numberOfInnerHits
Definition:
MuonSpShower.h:132
Rec::MuonSpShower::m_numberOfOuterHits
unsigned short m_numberOfOuterHits
Definition:
MuonSpShower.h:136
Generated on Fri Jan 10 2025 21:15:05 for ATLAS Offline Software by
1.8.18