ATLAS Offline Software
InnerDetector
InDetDigitization
SiDigitization
SiDigitization
SiSurfaceCharge.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SiSurfaceCharge.h
7
// Header file for class SiSurfaceCharge
9
// (c) ATLAS Detector software
11
// Class which contains a charge located at the sensor surface
13
// Version 1.0 09/02/2001 David Calvet
15
16
#ifndef SIDIGITIZATION_SISURFACECHARGE_H
17
#define SIDIGITIZATION_SISURFACECHARGE_H
18
19
#include "
ReadoutGeometryBase/SiLocalPosition.h
"
20
#include "
InDetSimEvent/SiCharge.h
"
21
22
23
class
SiSurfaceCharge
{
24
26
// Public methods:
28
public
:
29
30
// Copy constructor:
31
SiSurfaceCharge
(
const
SiSurfaceCharge
&surfaceCharge);
32
33
// Constructor with parameters:
34
// position at the sensor surface
35
// charge located at this position
36
SiSurfaceCharge
(
const
InDetDD::SiLocalPosition
&
position
,
const
SiCharge
&
charge
);
37
38
// Destructor:
39
~SiSurfaceCharge
();
40
41
// Assignment operator:
42
SiSurfaceCharge
&
operator=
(
const
SiSurfaceCharge
&surfaceCharge);
43
45
// Const methods:
47
48
// position at the sensor surface:
49
const
InDetDD::SiLocalPosition
&
position
()
const
;
50
51
// charge located at this position:
52
const
SiCharge
&
charge
()
const
;
53
55
// Private methods:
57
private
:
58
59
SiSurfaceCharge
();
60
62
// Private data:
64
private
:
65
InDetDD::SiLocalPosition
m_position
;
// position at the sensor surface
66
SiCharge
m_charge
;
// charge located at this position
67
};
68
70
// Inline methods:
72
inline
SiSurfaceCharge::~SiSurfaceCharge
()
73
{}
74
75
inline
const
InDetDD::SiLocalPosition
&
SiSurfaceCharge::position
()
const
76
{
77
return
m_position
;
78
}
79
80
inline
const
SiCharge
&
SiSurfaceCharge::charge
()
const
81
{
82
return
m_charge
;
83
}
84
85
#endif // SIDIGITIZATION_SISURFACECHARGE_H
SiSurfaceCharge::m_charge
SiCharge m_charge
Definition:
SiSurfaceCharge.h:66
SiSurfaceCharge
Definition:
SiSurfaceCharge.h:23
SiSurfaceCharge::~SiSurfaceCharge
~SiSurfaceCharge()
Definition:
SiSurfaceCharge.h:72
SiCharge
Definition:
SiCharge.h:25
SiSurfaceCharge::m_position
InDetDD::SiLocalPosition m_position
Definition:
SiSurfaceCharge.h:65
SiSurfaceCharge::position
const InDetDD::SiLocalPosition & position() const
Definition:
SiSurfaceCharge.h:75
InDetDD::SiLocalPosition
Definition:
SiLocalPosition.h:31
SiSurfaceCharge::charge
const SiCharge & charge() const
Definition:
SiSurfaceCharge.h:80
SiSurfaceCharge::operator=
SiSurfaceCharge & operator=(const SiSurfaceCharge &surfaceCharge)
Definition:
SiSurfaceCharge.cxx:27
SiLocalPosition.h
SiSurfaceCharge::SiSurfaceCharge
SiSurfaceCharge()
SiSurfaceCharge::SiSurfaceCharge
SiSurfaceCharge(const SiSurfaceCharge &surfaceCharge)
SiCharge.h
Generated on Sun Dec 22 2024 21:18:19 for ATLAS Offline Software by
1.8.18