ATLAS Offline Software
InnerDetector
InDetDigitization
SiDigitization
src
SiSurfaceCharge.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SiSurfaceCharge.cxx
7
// Implementation file for class SiSurfaceCharge
9
// (c) ATLAS Detector software
11
// Version 1.0 01/02/2001 David Calvet
13
14
#include "
SiDigitization/SiSurfaceCharge.h
"
15
using namespace
InDetDD
;
16
// Copy constructor:
17
SiSurfaceCharge::SiSurfaceCharge
(
const
SiSurfaceCharge
&surfaceCharge) =
default
;
18
19
// Constructor with parameters:
20
SiSurfaceCharge::SiSurfaceCharge
(
const
SiLocalPosition
&position,
21
const
SiCharge
&
charge
) :
22
m_position(position),
23
m_charge(
charge
)
24
{}
25
26
// Assignment operator:
27
SiSurfaceCharge
&
SiSurfaceCharge::operator=
(
const
SiSurfaceCharge
&surfaceCharge)
28
{
29
if
(
this
!=&surfaceCharge) {
30
m_position
=surfaceCharge.
m_position
;
31
m_charge
=surfaceCharge.
m_charge
;
32
}
else
{}
33
return
*
this
;
34
}
35
SiSurfaceCharge::m_charge
SiCharge m_charge
Definition:
SiSurfaceCharge.h:66
SiSurfaceCharge
Definition:
SiSurfaceCharge.h:23
SiCharge
Definition:
SiCharge.h:25
SiSurfaceCharge::m_position
InDetDD::SiLocalPosition m_position
Definition:
SiSurfaceCharge.h:65
InDetDD::SiLocalPosition
Definition:
SiLocalPosition.h:31
SiSurfaceCharge::operator=
SiSurfaceCharge & operator=(const SiSurfaceCharge &surfaceCharge)
Definition:
SiSurfaceCharge.cxx:27
SiSurfaceCharge::SiSurfaceCharge
SiSurfaceCharge()
charge
double charge(const T &p)
Definition:
AtlasPID.h:756
InDetDD
Message Stream Member.
Definition:
FakeTrackBuilder.h:8
SiSurfaceCharge.h
Generated on Fri Jan 10 2025 21:17:51 for ATLAS Offline Software by
1.8.18