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
QA
modules
QAG4SimulationCalorimeter.cc
QAG4SimulationCalorimeter.h
QAG4SimulationCalorimeterSum.cc
QAG4SimulationCalorimeterSum.h
QAG4SimulationIntt.cc
QAG4SimulationIntt.h
QAG4SimulationJet.cc
QAG4SimulationJet.h
QAG4SimulationKFParticle.cc
QAG4SimulationKFParticle.h
QAG4SimulationMicromegas.cc
QAG4SimulationMicromegas.h
QAG4SimulationMvtx.cc
QAG4SimulationMvtx.h
QAG4SimulationTpc.cc
QAG4SimulationTpc.h
QAG4SimulationTracking.cc
QAG4SimulationTracking.h
QAG4SimulationUpsilon.cc
QAG4SimulationUpsilon.h
QAG4SimulationVertex.cc
QAG4SimulationVertex.h
QAG4Util.h
QAHistManagerDef.cc
QAHistManagerDef.h
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
QAG4SimulationKFParticle.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4SimulationKFParticle.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef QAG4SIMULATIONKFPARTICLE_H
4
#define QAG4SIMULATIONKFPARTICLE_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <
g4eval/SvtxEvalStack.h
>
9
10
#include <memory>
11
#include <string>
// for string
12
13
class
KFParticle_Container
;
14
class
PHCompositeNode
;
15
class
PHG4Particle
;
16
class
PHG4TruthInfoContainer
;
17
class
SvtxClusterEval
;
18
class
SvtxTrackMap
;
19
class
SvtxTrack
;
20
21
namespace
CLHEP
22
{
23
class
HepLorentzVector;
24
}
25
26
class
QAG4SimulationKFParticle
:
public
SubsysReco
27
{
28
public
:
29
QAG4SimulationKFParticle
(
const
std::string &
name
,
const
std::string &mother_name,
double
min_m,
double
max_m);
30
31
virtual
~QAG4SimulationKFParticle
() =
default
;
32
33
int
Init
(
PHCompositeNode
*topNode);
34
int
InitRun
(
PHCompositeNode
*topNode);
35
int
process_event
(
PHCompositeNode
*topNode);
36
37
std::string
get_histo_prefix
();
38
39
void
setTrackMapName
(
const
std::string &name) {
m_trackMapName
=
name
; }
40
41
protected
:
42
SvtxClusterEval
*
clustereval
=
nullptr
;
43
int
m_mother_id
= 0;
44
double
m_min_mass
= 0.;
45
double
m_max_mass
= 10.;
46
std::string
m_mother_name
;
47
48
private
:
49
int
load_nodes
(
PHCompositeNode
*);
50
51
SvtxTrack
*
getTrack
(
unsigned
int
track_id,
SvtxTrackMap
*trackmap);
52
PHG4Particle
*
getTruthTrack
(
SvtxTrack
*thisTrack);
53
CLHEP::HepLorentzVector
*
makeHepLV
(
PHCompositeNode
*topNode,
int
track_number);
54
55
PHG4TruthInfoContainer
*
m_truthContainer
=
nullptr
;
56
57
std::unique_ptr<SvtxEvalStack>
m_svtxEvalStack
;
58
59
SvtxTrackMap
*
m_trackMap
=
nullptr
;
60
PHG4TruthInfoContainer
*
m_truthInfo
=
nullptr
;
61
KFParticle_Container
*
m_kfpContainer
=
nullptr
;
62
std::map<std::string, std::pair<int, float>>
particleMasses
;
63
std::string
m_trackMapName
=
"SvtxTrackMap"
;
64
};
65
66
#endif // QAG4SIMULATIONKFPARTICLE_H
coresoftware
blob
master
offline
QA
modules
QAG4SimulationKFParticle.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration