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
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4intt
InttDeadMap.cc
InttDeadMap.h
InttDeadMapLinkDef.h
InttDeadMapv1.cc
InttDeadMapv1.h
InttDeadMapv1LinkDef.h
PHG4InttDeadMapLoader.cc
PHG4InttDeadMapLoader.h
PHG4InttDefs.h
PHG4InttDetector.cc
PHG4InttDetector.h
PHG4InttDigitizer.cc
PHG4InttDigitizer.h
PHG4InttDisplayAction.cc
PHG4InttDisplayAction.h
PHG4InttFPHXParameterisation.cc
PHG4InttFPHXParameterisation.h
PHG4InttHitReco.cc
PHG4InttHitReco.h
PHG4InttSteppingAction.cc
PHG4InttSteppingAction.h
PHG4InttSubsystem.cc
PHG4InttSubsystem.h
g4jets
g4main
g4micromegas
g4mvtx
g4tpc
g4trackfastsim
g4vertex
tpcresponse
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
PHG4InttDigitizer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InttDigitizer.h
1
#ifndef G4INTT_PHG4INTTDIGITIZER_H
2
#define G4INTT_PHG4INTTDIGITIZER_H
3
4
#include <phparameter/PHParameterInterface.h>
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <gsl/gsl_rng.h>
9
10
#include <map>
11
#include <string>
// for string
12
#include <utility>
// for pair
13
#include <vector>
14
15
class
PHCompositeNode
;
16
17
class
PHG4InttDigitizer
:
public
SubsysReco
,
public
PHParameterInterface
18
{
19
public
:
20
PHG4InttDigitizer
(
const
std::string &
name
=
"PHG4InttDigitizer"
);
21
~PHG4InttDigitizer
()
override
;
22
24
int
InitRun
(
PHCompositeNode
*topNode)
override
;
25
27
int
process_event
(
PHCompositeNode
*topNode)
override
;
28
30
int
End
(
PHCompositeNode
*topNode)
override
;
31
32
void
SetDefaultParameters
()
override
;
33
34
void
Detector
(
const
std::string &
d
) {
detector
=
d
; }
35
36
void
set_adc_scale
(
const
int
&
layer
,
const
std::vector<double> &userrange);
37
38
private
:
39
void
CalculateLadderCellADCScale
(
PHCompositeNode
*topNode);
40
41
void
DigitizeLadderCells
(
PHCompositeNode
*topNode);
42
43
std::string
detector
;
44
// noise electrons
45
float
added_noise
();
46
47
float
mNoiseMean
;
// Mean of noise electron distribution
48
float
mNoiseSigma
;
// Sigma of noise electron distribution
49
float
mEnergyPerPair
;
// GeV/e-h pair
50
51
// settings
52
std::map<int, unsigned int>
_max_adc
;
53
std::map<int, float>
_energy_scale
;
54
55
// storage
56
//SvtxHitMap *_hitmap;
57
58
const
unsigned
int
nadcbins
= 8;
59
std::map<int, std::vector<std::pair<double, double> > >
_max_fphx_adc
;
60
61
unsigned
int
m_nCells
;
62
unsigned
int
m_nDeadCells
;
63
65
gsl_rng *
RandomGenerator
;
66
};
67
68
#endif
coresoftware
blob
master
simulation
g4simulation
g4intt
PHG4InttDigitizer.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:43
using
1.8.2 with
ECCE GitHub integration