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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
blob
master
base
cbmbase
cbmdata
global
rich
CbmBaseHit.cxx
CbmBaseHit.h
CbmCluster.cxx
CbmCluster.h
CbmDetectorList.cxx
CbmDetectorList.h
CbmDigi.cxx
CbmDigi.h
CbmHit.cxx
CbmHit.h
CbmMCEpoch.cxx
CbmMCEpoch.h
CbmMCEvent.cxx
CbmMCEvent.h
CbmMCEventHeader.cxx
CbmMCEventHeader.h
CbmMCTrack.cxx
CbmMCTrack.h
CbmPixelHit.cxx
CbmPixelHit.h
CbmStack.cxx
CbmStack.h
CbmStripHit.cxx
CbmStripHit.h
CbmTrack.cxx
CbmTrack.h
CbmTrackMatch.cxx
CbmTrackMatch.h
DataLinkDef.h
dbase
eic
eventdisplay
examples
fairtools
field
gconfig
geane
genfit
GenfitTools
geobase
geometry
input
littrack
parbase
passive
pCDR-2018
pid
pnddata
PndTools
rich
trackbase
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmStripHit.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmStripHit.cxx
1
7
#include "
CbmStripHit.h
"
8
9
#include "TVector3.h"
10
11
#include <sstream>
12
using
std::stringstream;
13
using
std::endl;
14
15
CbmStripHit::CbmStripHit
():
16
CbmBaseHit
(),
17
fU(0.),
18
fPhi(0.),
19
fDu(0.),
20
fDphi(0.)
21
{
22
SetType
(
kSTRIPHIT
);
23
}
24
25
CbmStripHit::CbmStripHit
(
26
Int_t address,
27
Double_t
u
,
28
Double_t
phi
,
29
Double_t
z
,
30
Double_t du,
31
Double_t dphi,
32
Double_t
dz
,
33
Int_t refId):
34
CbmBaseHit
(),
35
fU(u),
36
fPhi(phi),
37
fDu(du),
38
fDphi(dphi)
39
{
40
SetType
(
kSTRIPHIT
);
41
SetAddress
(address);
42
SetZ
(z);
43
SetDz
(dz);
44
SetRefId
(refId);
45
}
46
47
CbmStripHit::CbmStripHit
(
48
Int_t address,
49
const
TVector3&
pos
,
50
const
TVector3&
err
,
51
Int_t refId):
52
CbmBaseHit
(),
53
fU(pos.X()),
54
fPhi(pos.Y()),
55
fDu(err.X()),
56
fDphi(err.Y())
57
{
58
SetType
(
kSTRIPHIT
);
59
SetAddress
(address);
60
SetZ
(pos.Z());
61
SetDz
(err.Z());
62
SetRefId
(refId);
63
}
64
65
CbmStripHit::~CbmStripHit
()
66
{
67
}
68
69
string
CbmStripHit::ToString
()
const
70
{
71
stringstream ss;
72
ss <<
"CbmStripHit: address="
<<
GetAddress
()
73
<<
" pos=("
<<
GetU
() <<
","
<<
GetPhi
() <<
","
<<
GetZ
()
74
<<
") err=("
<<
GetDu
() <<
","
<<
GetDphi
() <<
","
<<
GetDz
()
75
<<
") refId="
<<
GetRefId
() << endl;
76
return
ss.str();
77
}
78
79
ClassImp
(
CbmStripHit
);
EicRoot
blob
master
cbmdata
CbmStripHit.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration