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
PHCosmicSiliconPropagator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHCosmicSiliconPropagator.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHCOSMICSILICONPROPAGATOR_H
4
#define PHCOSMICSILICONPROPAGATOR_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
ActsGeometry
;
12
class
TrackSeedContainer
;
13
class
TrkrClusterContainer
;
14
15
class
PHCosmicSiliconPropagator
:
public
SubsysReco
16
{
17
public
:
18
PHCosmicSiliconPropagator
(
const
std::string
&
name
=
"PHCosmicSiliconPropagator"
);
19
20
~PHCosmicSiliconPropagator
()
override
;
21
22
int
Init
(
PHCompositeNode
* topNode)
override
;
23
int
InitRun
(
PHCompositeNode
* topNode)
override
;
24
int
process_event
(
PHCompositeNode
* topNode)
override
;
25
int
End
(
PHCompositeNode
* topNode)
override
;
26
void
set_track_map_name
(
const
std::string
&
name
) {
_track_map_name
=
name
; }
27
void
set_dca_z_cut
(
float
z
) {
_dca_z_cut
=
z
; }
28
void
set_dca_xy_cut
(
float
xy
) {
_dca_xy_cut
=
xy
; }
29
void
zero_field
() {
m_zeroField
=
true
; }
30
void
resetSvtxSeedContainer
() {
m_resetContainer
=
true
; }
31
32
private
:
33
int
createSeedContainer
(
TrackSeedContainer
*&
container
,
const
std::string
& container_name,
PHCompositeNode
* topNode);
34
35
ActsGeometry
*
_tgeometry
=
nullptr
;
36
TrackSeedContainer
*
_si_seeds
=
nullptr
;
37
TrackSeedContainer
*
_tpc_seeds
=
nullptr
;
38
TrackSeedContainer
*
_svtx_seeds
=
nullptr
;
39
TrkrClusterContainer
*
_cluster_map
=
nullptr
;
40
41
float
m_resetContainer
=
false
;
42
float
_dca_z_cut
= 5.;
43
float
_dca_xy_cut
= 5.;
44
bool
m_zeroField
=
false
;
45
std::string
_track_map_name
=
"SvtxTrackSeedContainer"
;
46
};
47
48
#endif // PHCOSMICSILICONPROPAGATOR_H
coresoftware
blob
master
offline
packages
trackreco
PHCosmicSiliconPropagator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration