ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloReco
centrality
ClusterIso
compressor
Half
HelixHough
intt
jetbackground
KFParticle_sPHENIX
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
ActsSurfaceMaps.cc
ActsSurfaceMaps.h
ActsTrackingGeometry.h
CMFlashCluster.h
CMFlashClusterContainer.h
CMFlashClusterContainerLinkDef.h
CMFlashClusterContainerv1.cc
CMFlashClusterContainerv1.h
CMFlashClusterContainerv1LinkDef.h
CMFlashClusterLinkDef.h
CMFlashClusterv1.cc
CMFlashClusterv1.h
CMFlashClusterv1LinkDef.h
TpcSeedTrackMap.cc
TpcSeedTrackMap.h
TpcSeedTrackMapLinkDef.h
TpcSeedTrackMapv1.cc
TpcSeedTrackMapv1.h
TpcSeedTrackMapv1LinkDef.h
TrkrCluster.h
TrkrClusterContainer.cc
TrkrClusterContainer.h
TrkrClusterContainerLinkDef.h
TrkrClusterContainerv1.cc
TrkrClusterContainerv1.h
TrkrClusterContainerv1LinkDef.h
TrkrClusterContainerv2.cc
TrkrClusterContainerv2.h
TrkrClusterContainerv2LinkDef.h
TrkrClusterContainerv3.cc
TrkrClusterContainerv3.h
TrkrClusterContainerv3LinkDef.h
TrkrClusterHitAssoc.cc
TrkrClusterHitAssoc.h
TrkrClusterHitAssocLinkDef.h
TrkrClusterHitAssocv1.cc
TrkrClusterHitAssocv1.h
TrkrClusterHitAssocv1LinkDef.h
TrkrClusterHitAssocv2.cc
TrkrClusterHitAssocv2.h
TrkrClusterHitAssocv2LinkDef.h
TrkrClusterHitAssocv3.cc
TrkrClusterHitAssocv3.h
TrkrClusterHitAssocv3LinkDef.h
TrkrClusterIterationMap.cc
TrkrClusterIterationMap.h
TrkrClusterIterationMapLinkDef.h
TrkrClusterIterationMapv1.cc
TrkrClusterIterationMapv1.h
TrkrClusterIterationMapv1LinkDef.h
TrkrClusterLinkDef.h
TrkrClusterv1.cc
TrkrClusterv1.h
TrkrClusterv1LinkDef.h
TrkrClusterv2.cc
TrkrClusterv2.h
TrkrClusterv2LinkDef.h
TrkrClusterv3.cc
TrkrClusterv3.h
TrkrClusterv3LinkDef.h
TrkrDefs.cc
TrkrDefs.h
TrkrHit.h
TrkrHitLinkDef.h
TrkrHitSet.cc
TrkrHitSet.h
TrkrHitSetContainer.cc
TrkrHitSetContainer.h
TrkrHitSetContainerLinkDef.h
TrkrHitSetContainerv1.cc
TrkrHitSetContainerv1.h
TrkrHitSetContainerv1LinkDef.h
TrkrHitSetLinkDef.h
TrkrHitSetv1.cc
TrkrHitSetv1.h
TrkrHitSetv1LinkDef.h
TrkrHitTruthAssoc.h
TrkrHitTruthAssocLinkDef.h
TrkrHitTruthAssocv1.cc
TrkrHitTruthAssocv1.h
TrkrHitTruthAssocv1LinkDef.h
TrkrHitv1.cc
TrkrHitv1.h
TrkrHitv1LinkDef.h
TrkrHitv2.cc
TrkrHitv2.h
TrkrHitv2LinkDef.h
trackbase_historic
trackreco
trigger
vararray
QA
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrkrClusterv3.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrClusterv3.h
1
7
#ifndef TRACKBASE_TRKRCLUSTERV3_H
8
#define TRACKBASE_TRKRCLUSTERV3_H
9
10
#include "
TrkrCluster.h
"
11
#include "
TrkrDefs.h
"
12
#include <iostream>
13
14
class
PHObject
;
15
22
class
TrkrClusterv3
:
public
TrkrCluster
23
{
24
public
:
25
27
TrkrClusterv3
();
28
30
~TrkrClusterv3
()
override
{}
31
// PHObject virtual overloads
32
void
identify
(std::ostream& os = std::cout)
const override
;
33
void
Reset
()
override
{}
34
int
isValid
()
const override
;
35
PHObject
*
CloneMe
()
const override
{
return
new
TrkrClusterv3
(*
this
); }
36
38
void
CopyFrom
(
const
TrkrCluster
& )
override
;
39
41
void
CopyFrom
(
TrkrCluster
* source )
override
42
{
CopyFrom
( *source ); }
43
44
void
setClusKey
(
TrkrDefs::cluskey
id
)
override
{
m_cluskey
= id; }
45
TrkrDefs::cluskey
getClusKey
()
const override
{
return
m_cluskey
; }
46
47
48
//
49
// cluster position
50
//
51
float
getPosition
(
int
coor)
const override
{
return
m_local
[coor]; }
52
void
setPosition
(
int
coor,
float
xi)
override
{
m_local
[coor] = xi; }
53
float
getLocalX
()
const override
{
return
m_local
[0]; }
54
void
setLocalX
(
float
loc0)
override
{
m_local
[0] = loc0; }
55
float
getLocalY
()
const override
{
return
m_local
[1]; }
56
void
setLocalY
(
float
loc1)
override
{
m_local
[1] = loc1; }
57
59
void
setActsLocalError
(
unsigned
int
i,
unsigned
int
j,
float
value
)
override
;
60
float
getActsLocalError
(
unsigned
int
i,
unsigned
int
j)
const override
{
return
m_actsLocalErr
[i][j]; }
61
TrkrDefs::subsurfkey
getSubSurfKey
()
const override
{
return
m_subsurfkey
; }
62
void
setSubSurfKey
(
TrkrDefs::subsurfkey
id
)
override
{
m_subsurfkey
= id; }
63
64
//
65
// cluster info
66
//
67
unsigned
int
getAdc
()
const override
{
return
m_adc
; }
68
void
setAdc
(
unsigned
int
adc)
override
{
m_adc
= adc; }
69
70
//
71
// convenience interface
72
//
73
float
getRPhiError
()
const override
;
74
float
getZError
()
const override
;
75
77
float
getX
()
const override
78
{ std::cout <<
"Deprecated getx trkrcluster function!"
<<std::endl;
return
NAN;}
79
float
getY
()
const override
80
{ std::cout <<
"Deprecated gety trkrcluster function!"
<<std::endl;
return
NAN;}
81
float
getZ
()
const override
82
{ std::cout <<
"Deprecated getz trkrcluster function!"
<<std::endl;
return
NAN;}
83
void
setX
(
float
)
override
84
{ std::cout <<
"Deprecated setx trkrcluster function!"
<<std::endl;}
85
void
setY
(
float
)
override
86
{ std::cout <<
"Deprecated sety trkrcluster function!"
<<std::endl;}
87
void
setZ
(
float
)
override
88
{ std::cout <<
"Deprecated setz trkrcluster function!"
<<std::endl;}
89
float
getSize
(
unsigned
int
,
unsigned
int
)
const override
90
{std::cout <<
"Deprecated getsize trkrcluster function!"
<< std::endl;
return
NAN;}
91
void
setSize
(
unsigned
int
,
unsigned
int
,
float
)
override
92
{std::cout <<
"Deprecated setsize trkrcluster function!"
<< std::endl;}
93
float
getError
(
unsigned
int
,
unsigned
int
)
const override
94
{std::cout <<
"Deprecated geterr trkrcluster function!"
<< std::endl;
return
NAN;}
95
void
setError
(
unsigned
int
,
unsigned
int
,
float
)
override
96
{ std::cout <<
"Deprecated seterr trkrcluster function!"
<< std::endl; }
97
float
getPhiSize
()
const override
98
{ std::cout <<
"Deprecated size function"
<< std::endl;
return
NAN;}
99
float
getZSize
()
const override
100
{std::cout <<
"Deprecated size function"
<< std::endl;
return
NAN;}
101
float
getPhiError
()
const override
102
{ std::cout <<
"Deprecated getPhiError function"
<< std::endl;
return
NAN;}
103
104
protected
:
105
106
TrkrDefs::cluskey
m_cluskey
;
//< unique identifier within container
107
TrkrDefs::subsurfkey
m_subsurfkey
;
//< unique identifier for hitsetkey-surface maps
108
109
unsigned
int
m_adc
;
//< cluster sum adc (D. McGlinchey - Do we need this?)
110
111
float
m_local
[2];
//< 2D local position [cm]
112
float
m_actsLocalErr
[2][2];
//< 2D local error for Acts [cm]
113
114
ClassDefOverride(
TrkrClusterv3
, 2)
115
};
116
117
#endif //TRACKBASE_TRKRCLUSTERV3_H
coresoftware
blob
master
offline
packages
trackbase
TrkrClusterv3.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration