CbmRoot
Loading...
Searching...
No Matches
CbmStsSensorPoint.h
Go to the documentation of this file.
1
/* Copyright (C) 2013-2016 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Volker Friese [committer] */
4
10
#ifndef CBMSTSSENSORPOINT_H
11
#define CBMSTSSENSORPOINT_H 1
12
13
#include "Rtypes.h"
14
15
#include <string>
16
24
class
CbmStsSensorPoint
{
25
26
public
:
28
CbmStsSensorPoint
();
29
30
42
CbmStsSensorPoint
(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2, Double_t p,
43
Double_t eLoss, Double_t time, Double_t bx = 0., Double_t by = 0., Double_t bz = 0., Int_t pid = 0);
44
46
virtual
~CbmStsSensorPoint
();
47
48
49
// --- Accessors --- //
50
Double_t
GetX1
()
const
{
return
fX1
; }
51
Double_t
GetY1
()
const
{
return
fY1
; }
52
Double_t
GetZ1
()
const
{
return
fZ1
; }
53
Double_t
GetX2
()
const
{
return
fX2
; }
54
Double_t
GetY2
()
const
{
return
fY2
; }
55
Double_t
GetZ2
()
const
{
return
fZ2
; }
56
Double_t
GetP
()
const
{
return
fP
; }
57
Double_t
GetELoss
()
const
{
return
fELoss
; }
58
Double_t
GetTime
()
const
{
return
fTime
; }
59
Double_t
GetBx
()
const
{
return
fBx
; }
60
Double_t
GetBy
()
const
{
return
fBy
; }
61
Double_t
GetBz
()
const
{
return
fBz
; }
62
Int_t
GetPid
()
const
{
return
fPid
; }
63
64
66
std::string
ToString
()
const
;
67
68
69
private
:
70
Double_t
fX1
;
71
Double_t
fY1
;
72
Double_t
fZ1
;
73
Double_t
fX2
;
74
Double_t
fY2
;
75
Double_t
fZ2
;
76
Double_t
fP
;
77
Double_t
fELoss
;
78
Double_t
fTime
;
79
Double_t
fBx
;
80
Double_t
fBy
;
81
Double_t
fBz
;
82
Int_t
fPid
;
83
84
85
ClassDef
(
CbmStsSensorPoint
, 2);
86
};
87
88
#endif
/* CBMSTSSENSORPOINT_H */
CbmStsSensorPoint
Container class for a local point in a STS sensor.
Definition
CbmStsSensorPoint.h:24
CbmStsSensorPoint::GetPid
Int_t GetPid() const
Particle ID [PDG].
Definition
CbmStsSensorPoint.h:62
CbmStsSensorPoint::fY2
Double_t fY2
Exit point y [cm].
Definition
CbmStsSensorPoint.h:74
CbmStsSensorPoint::GetY2
Double_t GetY2() const
Exit y coordinate [cm].
Definition
CbmStsSensorPoint.h:54
CbmStsSensorPoint::fBy
Double_t fBy
Magnetic field y component at midpoint [T].
Definition
CbmStsSensorPoint.h:80
CbmStsSensorPoint::fP
Double_t fP
Momentum magnitude at entry point [GeV].
Definition
CbmStsSensorPoint.h:76
CbmStsSensorPoint::GetBx
Double_t GetBx() const
Bx-Field at midpoint [T].
Definition
CbmStsSensorPoint.h:59
CbmStsSensorPoint::fX2
Double_t fX2
Exit point x [cm].
Definition
CbmStsSensorPoint.h:73
CbmStsSensorPoint::GetY1
Double_t GetY1() const
Entry y coordinate [cm].
Definition
CbmStsSensorPoint.h:51
CbmStsSensorPoint::ClassDef
ClassDef(CbmStsSensorPoint, 2)
CbmStsSensorPoint::CbmStsSensorPoint
CbmStsSensorPoint()
Definition
CbmStsSensorPoint.cxx:18
CbmStsSensorPoint::GetP
Double_t GetP() const
Momentum magnitude.
Definition
CbmStsSensorPoint.h:56
CbmStsSensorPoint::ToString
std::string ToString() const
Definition
CbmStsSensorPoint.cxx:65
CbmStsSensorPoint::fZ1
Double_t fZ1
Entry point z [cm].
Definition
CbmStsSensorPoint.h:72
CbmStsSensorPoint::GetBz
Double_t GetBz() const
Bz-Field at midpoint [T].
Definition
CbmStsSensorPoint.h:61
CbmStsSensorPoint::GetX1
Double_t GetX1() const
Entry x coordinate [cm].
Definition
CbmStsSensorPoint.h:50
CbmStsSensorPoint::~CbmStsSensorPoint
virtual ~CbmStsSensorPoint()
Definition
CbmStsSensorPoint.cxx:38
CbmStsSensorPoint::GetZ1
Double_t GetZ1() const
Entry z coordinate [cm].
Definition
CbmStsSensorPoint.h:52
CbmStsSensorPoint::fBz
Double_t fBz
Magnetic field z component at midpoint [T].
Definition
CbmStsSensorPoint.h:81
CbmStsSensorPoint::GetBy
Double_t GetBy() const
By-Field at midpoint [T].
Definition
CbmStsSensorPoint.h:60
CbmStsSensorPoint::fTime
Double_t fTime
Time [ns].
Definition
CbmStsSensorPoint.h:78
CbmStsSensorPoint::fX1
Double_t fX1
Entry point x [cm].
Definition
CbmStsSensorPoint.h:70
CbmStsSensorPoint::GetX2
Double_t GetX2() const
Exit x coordinate [cm].
Definition
CbmStsSensorPoint.h:53
CbmStsSensorPoint::fBx
Double_t fBx
Magnetic field x component at midpoint [T].
Definition
CbmStsSensorPoint.h:79
CbmStsSensorPoint::fY1
Double_t fY1
Entry point y [cm].
Definition
CbmStsSensorPoint.h:71
CbmStsSensorPoint::GetTime
Double_t GetTime() const
Time [ns].
Definition
CbmStsSensorPoint.h:58
CbmStsSensorPoint::fELoss
Double_t fELoss
Energy deposit [GeV].
Definition
CbmStsSensorPoint.h:77
CbmStsSensorPoint::fPid
Int_t fPid
Particle Type [PDG code].
Definition
CbmStsSensorPoint.h:82
CbmStsSensorPoint::GetZ2
Double_t GetZ2() const
Exit z coordinate [cm].
Definition
CbmStsSensorPoint.h:55
CbmStsSensorPoint::fZ2
Double_t fZ2
Exit point z [cm].
Definition
CbmStsSensorPoint.h:75
CbmStsSensorPoint::GetELoss
Double_t GetELoss() const
Energy loss [GeV].
Definition
CbmStsSensorPoint.h:57
sim
detectors
sts
CbmStsSensorPoint.h
Generated on Sun Dec 22 2024 23:04:18 for CbmRoot by
1.12.0