BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnSiProfPoint.h
Go to the documentation of this file.
1
#ifndef BMNSiProfPOINT_H
2
#define BMNSiProfPOINT_H
3
4
#include "FairMCPoint.h"
5
6
class
BmnSiProfPoint
:
public
FairMCPoint
7
{
8
9
public
:
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
BmnSiProfPoint
(
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
BmnSiProfPoint
(
const
BmnSiProfPoint
& point) { *
this
= point; };
35
36
BmnSiProfPoint
();
37
38
virtual
~BmnSiProfPoint
();
39
40
/** Accessors **/
41
Double_t
GetXIn
()
const
{
return
fX; }
42
Double_t
GetYIn
()
const
{
return
fY; }
43
Double_t
GetZIn
()
const
{
return
fZ; }
44
Double_t
GetXOut
()
const
{
return
fX_out
; }
45
Double_t
GetYOut
()
const
{
return
fY_out
; }
46
Double_t
GetZOut
()
const
{
return
fZ_out
; }
47
Double_t
GetXCenter
()
const
{
return
fX_center
; }
48
Double_t
GetYCenter
()
const
{
return
fY_center
; }
49
Double_t
GetZCenter
()
const
{
return
fZ_center
; }
50
Double_t
GetPxOut
()
const
{
return
fPx_out
; }
51
Double_t
GetPyOut
()
const
{
return
fPy_out
; }
52
Double_t
GetPzOut
()
const
{
return
fPz_out
; }
53
void
PositionIn
(
TVector3
& pos) { pos.
SetXYZ
(fX, fY, fZ); }
54
void
PositionOut
(
TVector3
& pos) { pos.
SetXYZ
(
fX_out
,
fY_out
,
fZ_out
); }
55
void
PositionCenter
(
TVector3
& pos) { pos.
SetXYZ
(
fX_center
,
fY_center
,
fZ_center
); }
56
void
MomentumIn
(
TVector3
& mom) { mom.
SetXYZ
(fPx, fPy, fPz); }
57
void
MomentumOut
(
TVector3
& mom) { mom.
SetXYZ
(
fPx_out
,
fPy_out
,
fPz_out
); }
58
Int_t
GetStation
()
const
{
return
fStation
; }
59
Int_t
GetModule
()
const
{
return
fModule
; }
60
61
Int_t
GetIsPrimary
() {
return
fIsPrimary
; }
62
Double_t
GetCharge
() {
return
fCharge
; }
63
Double_t
GetPdgId
() {
return
fPdgId
; }
64
65
void
SetStation
(
Int_t
station) {
fStation
= station; }
66
void
SetModule
(
Int_t
module) {
fModule
=
module
; }
67
68
// Output to screen
69
virtual
void
Print
(
const
Option_t
* opt)
const
;
70
71
protected
:
72
Int_t
fIsPrimary
;
73
Double_t
fCharge
;
74
Int_t
fPdgId
;
75
76
Double_t
fX_out
,
fY_out
,
fZ_out
;
77
Double_t
fX_center
,
fY_center
,
fZ_center
;
// middle pos. (hit position)
78
Double_t
fPx_out
,
fPy_out
,
fPz_out
;
79
80
Int_t
fStation
;
81
Int_t
fModule
;
82
83
ClassDef
(
BmnSiProfPoint
, 1)
84
};
85
86
#endif
/* BMNSiProfPOINT_H */
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
BmnSiProfPoint
Definition
BmnSiProfPoint.h:7
BmnSiProfPoint::GetPxOut
Double_t GetPxOut() const
Definition
BmnSiProfPoint.h:50
BmnSiProfPoint::fPx_out
Double_t fPx_out
Definition
BmnSiProfPoint.h:78
BmnSiProfPoint::GetXIn
Double_t GetXIn() const
Accessors.
Definition
BmnSiProfPoint.h:41
BmnSiProfPoint::PositionOut
void PositionOut(TVector3 &pos)
Definition
BmnSiProfPoint.h:54
BmnSiProfPoint::SetModule
void SetModule(Int_t module)
Definition
BmnSiProfPoint.h:66
BmnSiProfPoint::GetModule
Int_t GetModule() const
Definition
BmnSiProfPoint.h:59
BmnSiProfPoint::GetStation
Int_t GetStation() const
Definition
BmnSiProfPoint.h:58
BmnSiProfPoint::GetYOut
Double_t GetYOut() const
Definition
BmnSiProfPoint.h:45
BmnSiProfPoint::fIsPrimary
Int_t fIsPrimary
Definition
BmnSiProfPoint.h:72
BmnSiProfPoint::fStation
Int_t fStation
Definition
BmnSiProfPoint.h:80
BmnSiProfPoint::PositionCenter
void PositionCenter(TVector3 &pos)
Definition
BmnSiProfPoint.h:55
BmnSiProfPoint::fX_out
Double_t fX_out
Definition
BmnSiProfPoint.h:76
BmnSiProfPoint::fCharge
Double_t fCharge
Definition
BmnSiProfPoint.h:73
BmnSiProfPoint::GetCharge
Double_t GetCharge()
Definition
BmnSiProfPoint.h:62
BmnSiProfPoint::GetZOut
Double_t GetZOut() const
Definition
BmnSiProfPoint.h:46
BmnSiProfPoint::GetPdgId
Double_t GetPdgId()
Definition
BmnSiProfPoint.h:63
BmnSiProfPoint::GetXOut
Double_t GetXOut() const
Definition
BmnSiProfPoint.h:44
BmnSiProfPoint::fY_out
Double_t fY_out
Definition
BmnSiProfPoint.h:76
BmnSiProfPoint::~BmnSiProfPoint
virtual ~BmnSiProfPoint()
BmnSiProfPoint::MomentumOut
void MomentumOut(TVector3 &mom)
Definition
BmnSiProfPoint.h:57
BmnSiProfPoint::GetZCenter
Double_t GetZCenter() const
Definition
BmnSiProfPoint.h:49
BmnSiProfPoint::fModule
Int_t fModule
Definition
BmnSiProfPoint.h:81
BmnSiProfPoint::fPy_out
Double_t fPy_out
Definition
BmnSiProfPoint.h:78
BmnSiProfPoint::GetZIn
Double_t GetZIn() const
Definition
BmnSiProfPoint.h:43
BmnSiProfPoint::fZ_out
Double_t fZ_out
Definition
BmnSiProfPoint.h:76
BmnSiProfPoint::GetIsPrimary
Int_t GetIsPrimary()
Definition
BmnSiProfPoint.h:61
BmnSiProfPoint::GetXCenter
Double_t GetXCenter() const
Definition
BmnSiProfPoint.h:47
BmnSiProfPoint::fZ_center
Double_t fZ_center
Definition
BmnSiProfPoint.h:77
BmnSiProfPoint::Print
virtual void Print(const Option_t *opt) const
BmnSiProfPoint::fY_center
Double_t fY_center
Definition
BmnSiProfPoint.h:77
BmnSiProfPoint::BmnSiProfPoint
BmnSiProfPoint()
BmnSiProfPoint::GetYCenter
Double_t GetYCenter() const
Definition
BmnSiProfPoint.h:48
BmnSiProfPoint::PositionIn
void PositionIn(TVector3 &pos)
Definition
BmnSiProfPoint.h:53
BmnSiProfPoint::fPdgId
Int_t fPdgId
Definition
BmnSiProfPoint.h:74
BmnSiProfPoint::GetPyOut
Double_t GetPyOut() const
Definition
BmnSiProfPoint.h:51
BmnSiProfPoint::MomentumIn
void MomentumIn(TVector3 &mom)
Definition
BmnSiProfPoint.h:56
BmnSiProfPoint::GetPzOut
Double_t GetPzOut() const
Definition
BmnSiProfPoint.h:52
BmnSiProfPoint::SetStation
void SetStation(Int_t station)
Definition
BmnSiProfPoint.h:65
BmnSiProfPoint::fX_center
Double_t fX_center
Definition
BmnSiProfPoint.h:77
BmnSiProfPoint::BmnSiProfPoint
BmnSiProfPoint(Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId)
Constructor with arguments.
BmnSiProfPoint::fPz_out
Double_t fPz_out
Definition
BmnSiProfPoint.h:78
BmnSiProfPoint::GetYIn
Double_t GetYIn() const
Definition
BmnSiProfPoint.h:42
BmnSiProfPoint::BmnSiProfPoint
BmnSiProfPoint(const BmnSiProfPoint &point)
Definition
BmnSiProfPoint.h:34
FairMCPoint
TVector3
TVector3::SetXYZ
void SetXYZ(Double_t x, Double_t y, Double_t z)
install
include
BmnSiProfPoint.h
Generated on
for BmnRoot by
1.17.0