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
PHG4ScoringManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ScoringManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
// $Id: $
4
13
#ifndef G4MAIN_PHG4SCORINGMANAGER_H
14
#define G4MAIN_PHG4SCORINGMANAGER_H
15
16
#include <
fun4all/SubsysReco.h
>
17
18
#include <string>
19
#include <vector>
20
#include <utility>
21
22
class
Fun4AllHistoManager
;
23
class
PHCompositeNode
;
24
32
class
PHG4ScoringManager
:
public
SubsysReco
33
{
34
public
:
35
PHG4ScoringManager
();
36
37
~PHG4ScoringManager
()
override
{}
38
40
int
InitRun
(
PHCompositeNode
*topNode)
override
;
41
43
int
process_event
(
PHCompositeNode
*)
override
;
44
46
int
End
(
PHCompositeNode
*)
override
;
47
49
void
setOutputFileName
(
const
std::string &outputfilename) {
m_outputFileName
= outputfilename; };
50
53
67
void
G4Command
(
const
std::string &cmd);
68
69
void
setVertexHistRange
(
double
min
,
double
max
) {
m_vertexHistRange
.first =
min
;
m_vertexHistRange
.second =
max
;}
70
void
setVertexAcceptanceRange
(
double
min
,
double
max
) {
m_vertexAcceptanceRange
.first =
min
;
m_vertexAcceptanceRange
.second =
max
;}
71
72
private
:
73
Fun4AllHistoManager
*
getHistoManager
();
74
void
makeScoringHistograms
();
75
76
std::vector<std::string>
m_commands
;
77
78
std::string
m_outputFileName
;
79
80
std::pair<double, double>
m_vertexHistRange
{-5
e2
,5
e2
};
81
std::pair<double, double>
m_vertexAcceptanceRange
{-5
e2
,5
e2
};
82
};
83
84
#endif
/* PHG4SCORINGMANAGER_H_ */
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4ScoringManager.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration