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
g4jets
g4main
g4micromegas
PHG4MicromegasDetector.cc
PHG4MicromegasDetector.h
PHG4MicromegasDigitizer.cc
PHG4MicromegasDigitizer.h
PHG4MicromegasHitReco.cc
PHG4MicromegasHitReco.h
PHG4MicromegasSteppingAction.cc
PHG4MicromegasSteppingAction.h
PHG4MicromegasSubsystem.cc
PHG4MicromegasSubsystem.h
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
PHG4MicromegasDigitizer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4MicromegasDigitizer.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
4
#ifndef G4MICROMEGAS_PHG4MICROMEGASDIGITIZER_H
5
#define G4MICROMEGAS_PHG4MICROMEGASDIGITIZER_H
6
12
#include <
fun4all/SubsysReco.h
>
13
14
#include <phparameter/PHParameterInterface.h>
15
16
#include <gsl/gsl_rng.h>
17
18
#include <memory>
19
#include <string>
// for string
20
21
class
PHCompositeNode
;
22
23
class
PHG4MicromegasDigitizer
:
public
SubsysReco
,
public
PHParameterInterface
24
{
25
26
public
:
27
PHG4MicromegasDigitizer
(
const
std::string &
name
=
"PHG4MicromegasDigitizer"
);
28
30
int
InitRun
(
PHCompositeNode
*)
override
;
31
33
int
process_event
(
PHCompositeNode
*topNode)
override
;
34
36
void
SetDefaultParameters
()
override
;
37
38
private
:
39
41
double
add_noise
()
const
;
42
44
double
m_adc_threshold
= 2700;
45
47
double
m_enc
= 670;
48
50
double
m_pedestal
= 50000;
51
53
double
m_volts_per_charge
= 20;
54
56
double
m_volt_per_electron_signal
= 0;
57
59
double
m_volt_per_electron_noise
= 0;
60
62
63
static
constexpr
double
m_adc_per_volt
= 1024./2200;
64
66
class
Deleter
67
{
68
public
:
70
void
operator()
(gsl_rng* rng)
const
{ gsl_rng_free(rng); }
71
};
72
74
75
std::unique_ptr<gsl_rng, Deleter>
m_rng
;
76
77
};
78
79
#endif
coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasDigitizer.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration