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
EicTrackingDigiHit.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicTrackingDigiHit.cxx
1
//
2
// AYK (ayk@bnl.gov), 2013/06/12
3
//
4
// Tracking digi hit class;
5
//
6
7
#include <iostream>
8
9
#include <TMath.h>
10
11
#include "
EicTrackingDigiHit.h
"
12
13
// ---------------------------------------------------------------------------------------
14
15
EicTrackingDigiHit::EicTrackingDigiHit
(TString cname,
const
EicMoCaPoint
*
point
,
16
unsigned
kfNodeID, TVector3& global,
17
const
TVector3& local,
bool
xy_mode) :
18
FairHit
(point->GetDetectorID(), global, point->GetPointID()), mLocalCoord(local), mXYmode(xy_mode)
19
{
20
ResetVars
();
21
22
mKfNodeID
= kfNodeID;
23
mMultiIndex
= point->
GetMultiIndex
();
24
25
SetLink
(
FairLink
(cname +
"MoCaPoint"
, point->
GetPointID
()));
26
}
// EicTrackingDigiHit::EicTrackingDigiHit()
27
28
// ---------------------------------------------------------------------------------------
29
#if _OLD_
30
TVector3
EicTrackingDigiHit::GetLocalCoordinates
()
31
{
32
TVector3 local;
33
34
for
(
unsigned
iq=0; iq<
GetMdim
(); iq++)
35
local[iq] = GetCoord(iq);
36
37
return
local;
38
}
// EicTrackingDigiHit::GetLocalCoordinates()
39
#endif
40
// ---------------------------------------------------------------------------------------
41
42
ClassImp
(
EicTrackingDigiHit
)
43
ClassImp
(
EicTrackingDigiHit1D
)
44
ClassImp
(
EicTrackingDigiHitOrth2D
)
45
ClassImp
(
EicTrackingDigiHit3D
)
46
EicRoot
blob
master
eic
tracking
EicTrackingDigiHit.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration