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
trackbase_historic
trackreco
ActsEvaluator.cc
ActsEvaluator.h
ALICEKF.cc
ALICEKF.h
AssocInfoContainer.cc
AssocInfoContainer.h
AssocInfoContainerLinkDef.h
AssocInfoContainerv1.cc
AssocInfoContainerv1.h
AssocInfoContainerv1LinkDef.h
CellularAutomaton.h
CellularAutomaton_v1.cc
CellularAutomaton_v1.h
GPUTPCBaseTrackParam.h
GPUTPCTrackLinearisation.h
GPUTPCTrackParam.cxx
GPUTPCTrackParam.h
HelixHoughBin.cc
HelixHoughBin.h
HelixHoughBin_v1.cc
HelixHoughBin_v1.h
HelixHoughBin_v1LinkDef.h
HelixHoughBinLinkDef.h
HelixHoughFuncs.h
HelixHoughFuncs_v1.cc
HelixHoughFuncs_v1.h
HelixHoughFuncs_v1LinkDef.h
HelixHoughFuncsLinkDef.h
HelixHoughSpace.h
HelixHoughSpace_v1.cc
HelixHoughSpace_v1.h
HelixHoughSpace_v1LinkDef.h
HelixHoughSpaceLinkDef.h
HelixKalmanFilter.cc
HelixKalmanFilter.h
MakeActsGeometry.cc
MakeActsGeometry.h
nanoflann.hpp
PH3DVertexing.cc
PH3DVertexing.h
PHActsInitialVertexFinder.cc
PHActsInitialVertexFinder.h
PHActsSiliconSeeding.cc
PHActsSiliconSeeding.h
PHActsToSvtxTracks.cc
PHActsToSvtxTracks.h
PHActsTrackProjection.cc
PHActsTrackProjection.h
PHActsTrkFitter.cc
PHActsTrkFitter.h
PHActsVertexFinder.cc
PHActsVertexFinder.h
PHActsVertexFitter.cc
PHActsVertexFitter.h
PHActsVertexPropagator.cc
PHActsVertexPropagator.h
PHCASeeding.cc
PHCASeeding.h
PHGenFitTrackProjection.cc
PHGenFitTrackProjection.h
PHGenFitTrkFitter.cc
PHGenFitTrkFitter.h
PHGenFitTrkProp.cc
PHGenFitTrkProp.h
PHGhostRejection.cc
PHGhostRejection.h
PHHoughSeeding.cc
PHHoughSeeding.h
PHHybridSeeding.cc
PHHybridSeeding.h
PHInitVertexing.cc
PHInitVertexing.h
PHInitZVertexing.cc
PHInitZVertexing.h
PHMicromegasTpcTrackMatching.cc
PHMicromegasTpcTrackMatching.h
PHPatternReco.cc
PHPatternReco.h
PHRaveVertexing.cc
PHRaveVertexing.h
PHRTreeSeeding.cc
PHRTreeSeeding.h
PHSiliconTpcTrackMatching.cc
PHSiliconTpcTrackMatching.h
PHSiliconTruthTrackSeeding.cc
PHSiliconTruthTrackSeeding.h
PHSimpleKFProp.cc
PHSimpleKFProp.h
PHSimpleVertexFinder.cc
PHSimpleVertexFinder.h
PHTpcClusterMover.cc
PHTpcClusterMover.h
PHTpcDeltaZCorrection.cc
PHTpcDeltaZCorrection.h
PHTpcTrackSeedCircleFit.cc
PHTpcTrackSeedCircleFit.h
PHTrackCleaner.cc
PHTrackCleaner.h
PHTrackFitting.cc
PHTrackFitting.h
PHTrackPropagating.cc
PHTrackPropagating.h
PHTrackSeeding.cc
PHTrackSeeding.h
PHTrackSelector.cc
PHTrackSelector.h
PHTrackSetCopyMerging.cc
PHTrackSetCopyMerging.h
PHTrackSetMerging.cc
PHTrackSetMerging.h
PHTruthClustering.cc
PHTruthClustering.h
PHTruthSiliconAssociation.cc
PHTruthSiliconAssociation.h
PHTruthTrackSeeding.cc
PHTruthTrackSeeding.h
PHTruthVertexing.cc
PHTruthVertexing.h
VertexFitter.cc
VertexFitter.h
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
PHTrackSetCopyMerging.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTrackSetCopyMerging.cc
1
#include "
PHTrackSetCopyMerging.h
"
2
3
#include "
AssocInfoContainerv1.h
"
4
5
#include <
trackbase_historic/SvtxTrackMap.h
>
6
#include <
trackbase_historic/SvtxTrackMap_v1.h
>
7
#include <
trackbase_historic/SvtxVertexMap.h
>
8
#include <
trackbase_historic/SvtxTrack.h
>
9
#include <
trackbase/TrkrClusterContainer.h
>
10
11
#include <
fun4all/Fun4AllReturnCodes.h
>
12
#include <
fun4all/SubsysReco.h
>
// for SubsysReco
13
14
#include <
phool/PHCompositeNode.h
>
15
#include <
phool/PHIODataNode.h
>
16
#include <
phool/PHNode.h
>
// for PHNode
17
#include <
phool/PHNodeIterator.h
>
18
#include <
phool/PHObject.h
>
// for PHObject
19
#include <
phool/getClass.h
>
20
#include <
phool/phool.h
>
// for PHWHERE
21
22
#include <iostream>
// for operator<<, basic_os...
23
24
using namespace
std;
25
26
PHTrackSetCopyMerging::PHTrackSetCopyMerging
(
const
std::string&
name
)
27
:
PHTrackSetMerging
(name)
28
{
29
}
30
31
32
int
PHTrackSetCopyMerging::Process
(
PHCompositeNode
*
/*topNode*/
)
33
{
34
35
if
(!
_track_map_in1
){
36
cerr <<
PHWHERE
<<
" ERROR: Can't find "
<<
_track_map_name_in1
<< endl;
37
return
Fun4AllReturnCodes::ABORTEVENT
;
38
}
39
if
(!
_track_map_in2
){
40
cerr <<
PHWHERE
<<
" ERROR: Can't find "
<<
_track_map_name_in2
<< endl;
41
return
Fun4AllReturnCodes::ABORTEVENT
;
42
}
43
//copy track map 1 to output track map
44
/*
45
// make a list of tracks that did not make the keep list
46
for(auto track_it = _track_map_in1->begin(); track_it != _track_map_in1->end(); ++track_it)
47
{
48
// auto id = track_it->first;
49
SvtxTrack *_track = track_it->second;
50
51
_track_map_out->insert(_track);
52
*/
53
//copy track map 2 to output track map
54
for
(
auto
track_it =
_track_map_in2
->
begin
(); track_it !=
_track_map_in2
->
end
(); ++track_it)
55
{
56
//auto id = track_it->first;
57
SvtxTrack
*_track = track_it->second;
58
59
// _track_map_out->insert(_track);
60
_track_map_in1
->
insert
(_track);
61
}
62
63
return
Fun4AllReturnCodes::EVENT_OK
;
64
}
65
/*
66
int PHTrackSetCopyMerging::Setup(PHCompositeNode* topNode)
67
{
68
int ret = CreateNodes(topNode);
69
if (ret != Fun4AllReturnCodes::EVENT_OK) return ret;
70
71
ret = GetNodes(topNode);
72
if (ret != Fun4AllReturnCodes::EVENT_OK) return ret;
73
74
return Fun4AllReturnCodes::EVENT_OK;
75
}
76
77
int PHTrackSetMerging::End(PHCompositeNode* topNode)
78
{
79
return Fun4AllReturnCodes::EVENT_OK;
80
}
81
*/
coresoftware
blob
master
offline
packages
trackreco
PHTrackSetCopyMerging.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:39
using
1.8.2 with
ECCE GitHub integration