BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnSiBTPoint.h
Go to the documentation of this file.
1
#ifndef BMNSiBTPOINT_H
2
#define BMNSiBTPOINT_H
3
4
#include "FairMCPoint.h"
5
6
class
BmnSiBTPoint
:
public
FairMCPoint
7
{
8
public
:
9
BmnSiBTPoint
();
10
/** Constructor with arguments
11
*@param trackID Index of MCTrack
12
*@param detID Detector ID
13
*@param posIn Coordinates at entrance to active volume [cm]
14
*@param posOut Coordinates at exit of active volume [cm]
15
*@param momIn Momentum of track at entrance [GeV]
16
*@param momOut Momentum of track at exit [GeV]
17
*@param tof Time since event start [ns]
18
*@param length Track length since creation [cm]
19
*@param eLoss Energy deposit [GeV]
20
**/
21
BmnSiBTPoint
(
Int_t
trackID,
22
Int_t
detID,
23
TVector3
posIn,
24
TVector3
posOut,
25
TVector3
momIn,
26
TVector3
momOut,
27
Double_t
tof,
28
Double_t
length,
29
Double_t
eLoss,
30
Int_t
isPrimary,
31
Double_t
charge,
32
Int_t
pdgId);
33
34
BmnSiBTPoint
(
const
BmnSiBTPoint
& point) { *
this
= point; };
35
virtual
~BmnSiBTPoint
();
36
37
/** Accessors **/
38
Double_t
GetXIn
()
const
{
return
fX; }
39
Double_t
GetYIn
()
const
{
return
fY; }
40
Double_t
GetZIn
()
const
{
return
fZ; }
41
Double_t
GetXOut
()
const
{
return
fX_out
; }
42
Double_t
GetYOut
()
const
{
return
fY_out
; }
43
Double_t
GetZOut
()
const
{
return
fZ_out
; }
44
Double_t
GetXCenter
()
const
{
return
fX_center
; }
45
Double_t
GetYCenter
()
const
{
return
fY_center
; }
46
Double_t
GetZCenter
()
const
{
return
fZ_center
; }
47
Double_t
GetPxOut
()
const
{
return
fPx_out
; }
48
Double_t
GetPyOut
()
const
{
return
fPy_out
; }
49
Double_t
GetPzOut
()
const
{
return
fPz_out
; }
50
void
PositionIn
(
TVector3
& pos) { pos.
SetXYZ
(fX, fY, fZ); }
51
void
PositionOut
(
TVector3
& pos) { pos.
SetXYZ
(
fX_out
,
fY_out
,
fZ_out
); }
52
void
PositionCenter
(
TVector3
& pos) { pos.
SetXYZ
(
fX_center
,
fY_center
,
fZ_center
); }
53
void
MomentumIn
(
TVector3
& mom) { mom.
SetXYZ
(fPx, fPy, fPz); }
54
void
MomentumOut
(
TVector3
& mom) { mom.
SetXYZ
(
fPx_out
,
fPy_out
,
fPz_out
); }
55
Int_t
GetStation
()
const
{
return
fStation
; }
56
Int_t
GetModule
()
const
{
return
fModule
; }
57
58
Int_t
GetIsPrimary
() {
return
fIsPrimary
; }
59
Double_t
GetCharge
() {
return
fCharge
; }
60
Double_t
GetPdgId
() {
return
fPdgId
; }
61
62
void
SetStation
(
Int_t
station) {
fStation
= station; }
63
void
SetModule
(
Int_t
module) {
fModule
=
module
; }
64
65
// Output to screen
66
virtual
void
Print
(
const
Option_t
* opt)
const
;
67
68
protected
:
69
Int_t
fIsPrimary
;
70
Double_t
fCharge
;
71
Int_t
fPdgId
;
72
73
Double_t
fX_out
,
fY_out
,
fZ_out
;
74
Double_t
fX_center
,
fY_center
,
fZ_center
;
// middle pos. (hit position)
75
Double_t
fPx_out
,
fPy_out
,
fPz_out
;
76
77
Int_t
fStation
;
78
Int_t
fModule
;
79
80
ClassDef
(
BmnSiBTPoint
, 1)
81
};
82
83
#endif
/* BMNSiBTPOINT_H */
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
BmnSiBTPoint::fStation
Int_t fStation
Definition
BmnSiBTPoint.h:77
BmnSiBTPoint::BmnSiBTPoint
BmnSiBTPoint()
Definition
BmnSiBTPoint.cxx:7
BmnSiBTPoint::PositionOut
void PositionOut(TVector3 &pos)
Definition
BmnSiBTPoint.h:51
BmnSiBTPoint::GetPzOut
Double_t GetPzOut() const
Definition
BmnSiBTPoint.h:49
BmnSiBTPoint::fCharge
Double_t fCharge
Definition
BmnSiBTPoint.h:70
BmnSiBTPoint::GetModule
Int_t GetModule() const
Definition
BmnSiBTPoint.h:56
BmnSiBTPoint::GetZIn
Double_t GetZIn() const
Definition
BmnSiBTPoint.h:40
BmnSiBTPoint::SetModule
void SetModule(Int_t module)
Definition
BmnSiBTPoint.h:63
BmnSiBTPoint::GetPyOut
Double_t GetPyOut() const
Definition
BmnSiBTPoint.h:48
BmnSiBTPoint::PositionCenter
void PositionCenter(TVector3 &pos)
Definition
BmnSiBTPoint.h:52
BmnSiBTPoint::fIsPrimary
Int_t fIsPrimary
Definition
BmnSiBTPoint.h:69
BmnSiBTPoint::GetYCenter
Double_t GetYCenter() const
Definition
BmnSiBTPoint.h:45
BmnSiBTPoint::PositionIn
void PositionIn(TVector3 &pos)
Definition
BmnSiBTPoint.h:50
BmnSiBTPoint::fX_center
Double_t fX_center
Definition
BmnSiBTPoint.h:74
BmnSiBTPoint::MomentumOut
void MomentumOut(TVector3 &mom)
Definition
BmnSiBTPoint.h:54
BmnSiBTPoint::fPx_out
Double_t fPx_out
Definition
BmnSiBTPoint.h:75
BmnSiBTPoint::SetStation
void SetStation(Int_t station)
Definition
BmnSiBTPoint.h:62
BmnSiBTPoint::~BmnSiBTPoint
virtual ~BmnSiBTPoint()
Definition
BmnSiBTPoint.cxx:55
BmnSiBTPoint::fZ_center
Double_t fZ_center
Definition
BmnSiBTPoint.h:74
BmnSiBTPoint::MomentumIn
void MomentumIn(TVector3 &mom)
Definition
BmnSiBTPoint.h:53
BmnSiBTPoint::GetZCenter
Double_t GetZCenter() const
Definition
BmnSiBTPoint.h:46
BmnSiBTPoint::BmnSiBTPoint
BmnSiBTPoint(const BmnSiBTPoint &point)
Definition
BmnSiBTPoint.h:34
BmnSiBTPoint::GetIsPrimary
Int_t GetIsPrimary()
Definition
BmnSiBTPoint.h:58
BmnSiBTPoint::GetCharge
Double_t GetCharge()
Definition
BmnSiBTPoint.h:59
BmnSiBTPoint::fZ_out
Double_t fZ_out
Definition
BmnSiBTPoint.h:73
BmnSiBTPoint::fModule
Int_t fModule
Definition
BmnSiBTPoint.h:78
BmnSiBTPoint::Print
virtual void Print(const Option_t *opt) const
Definition
BmnSiBTPoint.cxx:57
BmnSiBTPoint::GetXOut
Double_t GetXOut() const
Definition
BmnSiBTPoint.h:41
BmnSiBTPoint::GetYIn
Double_t GetYIn() const
Definition
BmnSiBTPoint.h:39
BmnSiBTPoint::fPdgId
Int_t fPdgId
Definition
BmnSiBTPoint.h:71
BmnSiBTPoint::fY_center
Double_t fY_center
Definition
BmnSiBTPoint.h:74
BmnSiBTPoint::GetPdgId
Double_t GetPdgId()
Definition
BmnSiBTPoint.h:60
BmnSiBTPoint::fX_out
Double_t fX_out
Definition
BmnSiBTPoint.h:73
BmnSiBTPoint::fY_out
Double_t fY_out
Definition
BmnSiBTPoint.h:73
BmnSiBTPoint::GetPxOut
Double_t GetPxOut() const
Definition
BmnSiBTPoint.h:47
BmnSiBTPoint::GetYOut
Double_t GetYOut() const
Definition
BmnSiBTPoint.h:42
BmnSiBTPoint::GetXCenter
Double_t GetXCenter() const
Definition
BmnSiBTPoint.h:44
BmnSiBTPoint::fPy_out
Double_t fPy_out
Definition
BmnSiBTPoint.h:75
BmnSiBTPoint::GetStation
Int_t GetStation() const
Definition
BmnSiBTPoint.h:55
BmnSiBTPoint::fPz_out
Double_t fPz_out
Definition
BmnSiBTPoint.h:75
BmnSiBTPoint::GetZOut
Double_t GetZOut() const
Definition
BmnSiBTPoint.h:43
BmnSiBTPoint::GetXIn
Double_t GetXIn() const
Accessors.
Definition
BmnSiBTPoint.h:38
FairMCPoint
TVector3
TVector3::SetXYZ
void SetXYZ(Double_t x, Double_t y, Double_t z)
detectors
SiBT
BmnSiBTPoint.h
Generated on
for BmnRoot by
1.17.0