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
TruthTrackerHepMC.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TruthTrackerHepMC.h
1
#ifndef __TRUTHTRACKERHEPMC_H__
2
#define __TRUTHTRACKERHEPMC_H__
3
4
/*HepMC include */
5
#include <HepMC/GenParticle.h>
6
#include <
phhepmc/PHHepMCGenEvent.h
>
7
#include <
phhepmc/PHHepMCGenEventMap.h
>
8
//#include <phhepmc/PHHepMCGenParticle.h>
23
class
TruthTrackerHepMC
24
{
25
26
public
:
27
29
TruthTrackerHepMC
();
30
32
~TruthTrackerHepMC
() {}
33
35
void
set_hepmc_geneventmap
(
PHHepMCGenEventMap
* evtmap )
36
{
37
_genevtmap
= evtmap;
38
}
39
41
HepMC::GenParticle*
FindParticle
(
int
);
42
45
HepMC::GenParticle*
FindDaughterParticle
(
int
, HepMC::GenParticle* );
46
48
HepMC::GenParticle*
FindBeamLepton
();
49
51
HepMC::GenParticle*
FindBeamHadron
();
52
54
HepMC::GenParticle*
FindScatteredLepton
( );
55
56
58
void
FindDecayParticles
(HepMC::GenParticle *, uint&, uint&, uint&);
59
61
void
FindMissingPt
(
float
& ,
float
& );
62
63
private
:
64
66
PHHepMCGenEventMap
*
_genevtmap
;
67
69
void
UpdateFinalStateParticle
( HepMC::GenParticle *& );
70
71
// void FindDecayParticles(HepMC::GenParticle *, int&, int&, int&);
72
73
};
74
75
76
#endif
analysis
blob
master
EICAnalysis
TruthTrackerHepMC.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:49
using
1.8.2 with
sPHENIX GitHub integration