BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmStsSensorPoint.h
Go to the documentation of this file.
1
/** @file CbmStsSensorPoint.h
2
** @author Volker Friese <v.friese@gsi.de>
3
** @date 08.05.2013
4
**/
5
6
#ifndef CBMSTSSENSORPOINT_H
7
#define CBMSTSSENSORPOINT_H 1
8
9
#include "
Rtypes.h
"
10
11
/** @class CbmStsSensorPoint
12
** @brief Container class for a local point in a STS sensor
13
** @author V.Friese <v.friese@gsi.de>
14
** @version 1.0
15
**
16
** Stores parameters needed for digitisation in the sensor C.S.
17
**/
18
19
class
CbmStsSensorPoint
20
{
21
22
public
:
23
/** Default constructor **/
24
CbmStsSensorPoint
();
25
26
/** Constructor with parameters
27
** @param x1,y1 Entry coordinates in local C.S. [cm]
28
** @param x2,y2 Exit coordinates in local C.S. [cm]
29
** @param eLoss Energy deposit [GeV]
30
** @param time Time [ns]
31
**/
32
CbmStsSensorPoint
(
Double_t
x1,
Double_t
y1,
Double_t
x2,
Double_t
y2,
Double_t
eLoss,
Double_t
time);
33
34
/** Destructor **/
35
virtual
~CbmStsSensorPoint
();
36
37
/** Accessors **/
38
Double_t
GetX1
()
const
{
return
fX1
; }
39
Double_t
GetY1
()
const
{
return
fY1
; }
40
Double_t
GetX2
()
const
{
return
fX2
; }
41
Double_t
GetY2
()
const
{
return
fY2
; }
42
Double_t
GetELoss
()
const
{
return
fELoss
; }
43
Double_t
GetTime
()
const
{
return
fTime
; }
44
45
private
:
46
Double_t
fX1
;
///< Entry point x [cm]
47
Double_t
fY1
;
///< Entry point y [cm]
48
Double_t
fX2
;
///< Exit point x [cm]
49
Double_t
fY2
;
///< Exit point y [cm]
50
Double_t
fELoss
;
///< Energy deposit [GeV]
51
Double_t
fTime
;
///< Time [ns]
52
53
ClassDef
(
CbmStsSensorPoint
, 1);
54
};
55
56
#endif
/* CBMSTSSENSORPOINT_H */
Double_t
double Double_t
Rtypes.h
ClassDef
#define ClassDef(name, id)
CbmStsSensorPoint::fY2
Double_t fY2
Exit point y [cm].
Definition
CbmStsSensorPoint.h:49
CbmStsSensorPoint::GetY2
Double_t GetY2() const
Definition
CbmStsSensorPoint.h:41
CbmStsSensorPoint::fX2
Double_t fX2
Exit point x [cm].
Definition
CbmStsSensorPoint.h:48
CbmStsSensorPoint::GetY1
Double_t GetY1() const
Definition
CbmStsSensorPoint.h:39
CbmStsSensorPoint::CbmStsSensorPoint
CbmStsSensorPoint()
Default constructor.
Definition
CbmStsSensorPoint.cxx:9
CbmStsSensorPoint::GetX1
Double_t GetX1() const
Accessors.
Definition
CbmStsSensorPoint.h:38
CbmStsSensorPoint::~CbmStsSensorPoint
virtual ~CbmStsSensorPoint()
Destructor.
Definition
CbmStsSensorPoint.cxx:20
CbmStsSensorPoint::fTime
Double_t fTime
Time [ns].
Definition
CbmStsSensorPoint.h:51
CbmStsSensorPoint::fX1
Double_t fX1
Entry point x [cm].
Definition
CbmStsSensorPoint.h:46
CbmStsSensorPoint::GetX2
Double_t GetX2() const
Definition
CbmStsSensorPoint.h:40
CbmStsSensorPoint::fY1
Double_t fY1
Entry point y [cm].
Definition
CbmStsSensorPoint.h:47
CbmStsSensorPoint::GetTime
Double_t GetTime() const
Definition
CbmStsSensorPoint.h:43
CbmStsSensorPoint::fELoss
Double_t fELoss
Energy deposit [GeV].
Definition
CbmStsSensorPoint.h:50
CbmStsSensorPoint::GetELoss
Double_t GetELoss() const
Definition
CbmStsSensorPoint.h:42
detectors
sts
setup
CbmStsSensorPoint.h
Generated on
for BmnRoot by
1.17.0