ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22
24
26 // Public methods:
28public:
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
37
38 // Destructor:
40
41 // Assignment operator:
42 SiSurfaceCharge &operator=(const SiSurfaceCharge &surfaceCharge);
43
45 // Const methods:
47
48 // position at the sensor surface:
50
51 // charge located at this position:
52 const SiCharge& charge() const;
53
55 // Private methods:
57private:
58
60
62 // Private data:
64private:
65 InDetDD::SiLocalPosition m_position; // position at the sensor surface
66 SiCharge m_charge; // charge located at this position
67};
68
70// Inline methods:
74
76{
77 return m_position;
78}
79
80inline const SiCharge& SiSurfaceCharge::charge() const
81{
82 return m_charge;
83}
84
85#endif // SIDIGITIZATION_SISURFACECHARGE_H
Class to represent a position in the natural frame of a silicon sensor, for Pixel and SCT For Pixel: ...
const SiCharge & charge() const
SiSurfaceCharge(const SiSurfaceCharge &surfaceCharge)
InDetDD::SiLocalPosition m_position
SiSurfaceCharge & operator=(const SiSurfaceCharge &surfaceCharge)
const InDetDD::SiLocalPosition & position() const