EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmRichPoint.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmRichPoint.cxx
1
// -------------------------------------------------------------------------
2
// ----- CbmRichPoint source file -----
3
// ----- Created 28/04/04 by B. Polichtchouk -----
4
// -------------------------------------------------------------------------
5
6
#include "
CbmRichPoint.h
"
7
8
#include <iostream>
9
10
using
std::cout;
11
using
std::endl;
12
13
14
// ----- Default constructor -------------------------------------------
15
CbmRichPoint::CbmRichPoint
() :
FairMCPoint
(), fPDG(0) {}
16
// -------------------------------------------------------------------------
17
18
19
20
// ----- Standard constructor ------------------------------------------
21
CbmRichPoint::CbmRichPoint
(Int_t trackID, Int_t
pdg
, Int_t detID, TVector3
pos
,
22
TVector3
mom
, Double_t tof, Double_t
length
,
23
Double_t eLoss)
24
:
FairMCPoint
(trackID, detID, pos, mom, tof, length, eLoss), fPDG(pdg) { }
25
26
27
// -------------------------------------------------------------------------
28
29
30
31
// ----- Destructor ----------------------------------------------------
32
CbmRichPoint::~CbmRichPoint
() { }
33
// -------------------------------------------------------------------------
34
35
36
37
// ----- Public method Print -------------------------------------------
38
void
CbmRichPoint::Print
(
const
Option_t* opt)
const
{
39
cout <<
"-I- CbmRichPoint: RICH Point for track "
<<
fTrackID
40
<<
" in detector "
<<
fDetectorID
<< endl;
41
cout <<
" Position ("
<<
fX
<<
", "
<<
fY
<<
", "
<<
fZ
42
<<
") cm"
<< endl;
43
cout <<
" Momentum ("
<<
fPx
<<
", "
<<
fPy
<<
", "
<<
fPz
44
<<
") GeV"
<< endl;
45
cout <<
" Time "
<<
fTime
<<
" ns, Length "
<<
fLength
46
<<
" cm, Energy loss "
<<
fELoss
*1.0e06 <<
" keV"
<< endl;
47
}
48
// -------------------------------------------------------------------------
49
50
51
52
ClassImp
(
CbmRichPoint
)
EicRoot
blob
master
cbmdata
rich
CbmRichPoint.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration