BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnTOF1Point.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------------------------------------------------------------------
2
#include "
BmnTOF1Point.h
"
3
4
#include <iostream>
5
6
using namespace
std
;
7
8
//--------------------------------------------------------------------------------------------------------------------------------------
9
BmnTOF1Point::BmnTOF1Point
()
10
:
FairMCPoint
()
11
{}
12
//--------------------------------------------------------------------------------------------------------------------------------------
13
BmnTOF1Point::BmnTOF1Point
(
Int_t
trackID,
14
Int_t
detID,
15
TVector3
pos,
16
TVector3
mom,
17
Double_t
tof,
18
Double_t
length,
19
Double_t
eLoss,
20
Int_t
detUID)
21
:
FairMCPoint
(trackID, detID, pos, mom, tof, length, eLoss)
22
{
23
fDetectorUID
= detUID;
24
}
25
//--------------------------------------------------------------------------------------------------------------------------------------
26
BmnTOF1Point::~BmnTOF1Point
() {}
27
//--------------------------------------------------------------------------------------------------------------------------------------
28
void
BmnTOF1Point::Print
(
const
Option_t
* opt)
const
29
{
30
cout <<
"-I- BmnTOF1Point: trackId "
<< fTrackID <<
" detectorUID "
<< fDetectorID;
31
cout <<
"\n Position ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
") cm"
;
32
cout <<
"\n Momentum ("
<< fPx <<
", "
<< fPy <<
", "
<< fPz <<
") GeV"
;
33
cout <<
"\n Time "
<< fTime <<
" ns, Length "
<< fLength <<
" cm, Energy loss "
<< fELoss * 1.0e06
34
<<
" keV.\n"
;
35
}
36
//--------------------------------------------------------------------------------------------------------------------------------------
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
BmnTOF1Point::BmnTOF1Point
BmnTOF1Point()
Definition
BmnTOF1Point.cxx:9
BmnTOF1Point::~BmnTOF1Point
virtual ~BmnTOF1Point()
Definition
BmnTOF1Point.cxx:26
BmnTOF1Point::fDetectorUID
Int_t fDetectorUID
Unique Identification Number.
Definition
BmnTOF1Point.h:63
BmnTOF1Point::Print
virtual void Print(const Option_t *opt) const
Definition
BmnTOF1Point.cxx:28
FairMCPoint
TVector3
BmnTOF1Point.h
std
Definition
json.hpp:4446
detectors
tof1
BmnTOF1Point.cxx
Generated on
for BmnRoot by
1.17.0