Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4ihcal
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
EmbRecoMatch.h
EmbRecoMatchContainer.cc
EmbRecoMatchContainer.h
EmbRecoMatchContainerLinkDef.h
EmbRecoMatchContainerv1.cc
EmbRecoMatchContainerv1.h
EmbRecoMatchContainerv1LinkDef.h
EmbRecoMatchLinkDef.h
EmbRecoMatchv1.cc
EmbRecoMatchv1.h
EmbRecoMatchv1LinkDef.h
TrkrTruthTrack.cc
TrkrTruthTrack.h
TrkrTruthTrackContainer.cc
TrkrTruthTrackContainer.h
TrkrTruthTrackContainerLinkDef.h
TrkrTruthTrackContainerv1.cc
TrkrTruthTrackContainerv1.h
TrkrTruthTrackContainerv1LinkDef.h
TrkrTruthTrackLinkDef.h
TrkrTruthTrackv1.cc
TrkrTruthTrackv1.h
TrkrTruthTrackv1LinkDef.h
TruthClusterizerBase.cc
TruthClusterizerBase.h
g4vertex
g4waveformsim
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrkrTruthTrackContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrTruthTrackContainer.h
1
#ifndef G4TRACKING_TRKRTRUTHTRACKCONTAINER_H
2
#define G4TRACKING_TRKRTRUTHTRACKCONTAINER_H
3
4
5
#include <
trackbase/TrkrDefs.h
>
6
#include <
phool/PHObject.h
>
7
#include <map>
8
#include <vector>
9
10
class
PHG4TruthInfoContainer
;
11
class
TrkrTruthTrack
;
12
13
class
TrkrTruthTrackContainer
:
public
PHObject
14
{
15
public
:
16
//using Vector = std::vector<TrkrTruthTrack*>;
17
using
Map
= std::map<unsigned int, TrkrTruthTrack*>;
18
using
Iterator
= Map::iterator;
//Vector::iterator;
19
using
ConstIterator
= Map::const_iterator;
20
using
Range
= std::pair<Iterator, Iterator>;
21
using
ConstRange
= std::pair<ConstIterator, ConstIterator>;
22
24
void
Reset
()
override
{}
25
27
virtual
void
addTruthTrack
(
TrkrTruthTrack
*) { };
28
virtual
TrkrTruthTrack
*
getTruthTrack
(
unsigned
int
/*trackid*/
) {
return
nullptr
; };
29
virtual
TrkrTruthTrack
*
getTruthTrack
(
unsigned
int
/*trackid*/
,
PHG4TruthInfoContainer
*)
30
{
return
nullptr
; };
31
virtual
ConstRange
getTruthTrackRange
()
const
;
32
virtual
bool
hasTrackid
(
unsigned
int
/*trackid*/
)
const
{
return
false
; };
33
virtual
Map
&
getMap
();
34
int
nhw
() {
return
6; };
35
int
nhw_cc
();
36
virtual
int
nhw_virt
() {
return
60; };
37
38
// PHObject virtual overload
39
void
identify
(std::ostream&
os
= std::cout)
const override
40
{
41
os
<<
"TrkrTruthTrackContainer base class"
<< std::endl;
42
};
43
44
protected
:
45
TrkrTruthTrackContainer
() =
default
;
46
ClassDefOverride(
TrkrTruthTrackContainer
, 1)
47
};
48
49
#endif // G4TRACKING_TRUTHTRACKCONTAINER_H
coresoftware
blob
master
simulation
g4simulation
g4tracking
TrkrTruthTrackContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration