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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ECCEFastPIDReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ECCEFastPIDReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef ECCEFASTPIDRECO_H
4
#define ECCEFASTPIDRECO_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <
eicpidbase/EICPIDDefs.h
>
9
10
#include <string>
11
12
class
PHCompositeNode
;
13
class
ECCEFastPIDMap
;
14
class
SvtxTrackMap
;
15
class
EICPIDParticleContainer
;
16
class
PHG4TruthInfoContainer
;
17
class
PHG4HitContainer
;
18
19
class
ECCEFastPIDReco
:
public
SubsysReco
{
20
public
:
21
ECCEFastPIDReco
(
ECCEFastPIDMap
*map,
EICPIDDefs::PIDDetector
det,
22
const
std::string &
name
=
"ECCEFastPIDReco"
);
23
24
virtual
~ECCEFastPIDReco
();
25
31
int
Init
(
PHCompositeNode
*topNode)
override
;
32
38
int
InitRun
(
PHCompositeNode
*topNode)
override
;
39
43
int
process_event
(
PHCompositeNode
*topNode)
override
;
44
46
int
End
(
PHCompositeNode
*topNode)
override
;
47
48
void
setTrackmapNodeName
(
const
std::string &
name
) {
49
m_TrackmapNodeName
=
name
;
50
}
51
52
void
setEICPIDParticleMapNodeName
(
const
std::string &
name
) {
53
m_EICPIDParticleMapNodeName
=
name
;
54
}
55
56
void
setMatchG4Hit
(
const
std::string &g4hit_node_name) {
57
m_matchG4Hit
=
true
;
58
m_G4HitNodeName
= g4hit_node_name;
59
}
60
61
private
:
62
bool
m_matchG4Hit
=
false
;
63
64
std::string
m_G4HitNodeName
=
"Uninitialized"
;
65
66
ECCEFastPIDMap
*
m_pidmap
;
67
EICPIDDefs::PIDDetector
m_PIDDetector
;
68
69
std::string
m_TrackmapNodeName
=
"TrackMap"
;
70
std::string
m_EICPIDParticleMapNodeName
=
"EICPIDParticleMap"
;
71
72
SvtxTrackMap
*
m_SvtxTrackMap
=
nullptr
;
73
EICPIDParticleContainer
*
m_EICPIDParticleContainer
=
nullptr
;
74
PHG4TruthInfoContainer
*
m_truthInfo
=
nullptr
;
75
PHG4HitContainer
*
m_g4hits
=
nullptr
;
76
};
77
78
#endif // ECCEFASTPIDRECO_H
ecce-detectors
blob
master
FastPID
ECCEFastPIDReco.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration