Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHCosmicTrackMerger.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHCosmicTrackMerger.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHCOSMICTRACKMERGER_H
4
#define PHCOSMICTRACKMERGER_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <
trackbase/ActsGeometry.h
>
9
10
#include <TFile.h>
11
#include <TH1.h>
12
#include <TH2.h>
13
14
#include <string>
15
#include <vector>
16
17
class
PHCompositeNode
;
18
class
TrackSeedContainer
;
19
class
TrkrClusterContainer
;
20
class
TrackSeed
;
21
class
ActsGeometry
;
22
23
class
PHCosmicTrackMerger
:
public
SubsysReco
24
{
25
using
KeyPosMap
= std::pair<std::vector<TrkrDefs::cluskey>, std::vector<Acts::Vector3>>;
26
27
public
:
28
PHCosmicTrackMerger
(
const
std::string
&
name
=
"PHCosmicTrackMerger"
);
29
30
~PHCosmicTrackMerger
()
override
;
31
32
int
Init
(
PHCompositeNode
*)
override
;
33
int
InitRun
(
PHCompositeNode
*topNode)
override
;
34
int
process_event
(
PHCompositeNode
*topNode)
override
;
35
int
End
(
PHCompositeNode
*)
override
;
36
37
private
:
38
void
addKeys
(
TrackSeed
*toAddTo,
TrackSeed
*toAdd);
39
void
removeOutliers
(
TrackSeed
*
seed
);
40
41
ActsGeometry
*
m_geometry
=
nullptr
;
42
KeyPosMap
getGlobalPositions
(
TrackSeed
*
seed
);
43
TrkrClusterContainer
*
m_clusterMap
=
nullptr
;
44
TrackSeedContainer
*
m_seeds
=
nullptr
;
45
TrackSeedContainer
*
m_tpcSeeds
=
nullptr
;
46
TrackSeedContainer
*
m_siliconSeeds
=
nullptr
;
47
};
48
49
#endif // PHCOSMICTRACKMERGER_H
coresoftware
blob
master
offline
packages
trackreco
PHCosmicTrackMerger.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration