Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Simulation
ISF
ISF_FastCaloSim
ISF_PunchThroughTools
src
PDFcreator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// PDFcreator.h, (c) ATLAS Detector software
8
9
#ifndef ISF_PUNCHTHROUGHTOOLS_SRC_PDFCREATOR_H
10
#define ISF_PUNCHTHROUGHTOOLS_SRC_PDFCREATOR_H
11
12
// Athena Base
13
#include "
AthenaKernel/IAtRndmGenSvc.h
"
14
15
// ROOT includes
16
#include "TH1F.h"
17
#include "TH2F.h"
18
19
//ISF includes
20
#include "
ISF_FastCaloSimEvent/TFCS1DFunction.h
"
21
22
23
24
25
namespace
ISF
26
{
36
class
PDFcreator
37
{
38
39
public
:
41
PDFcreator
() {};
42
43
~PDFcreator
();
44
46
void
setName
(
const
std::string &
PDFname
){
m_name
=
PDFname
; };
//get the pdf's name
47
void
addToEnergyEtaHist1DMap
(
int
energy
,
int
etaMin
, TH1 *
hist
);
//add entry to map linking energy, eta window and histogram
48
50
double
getRand
(CLHEP::HepRandomEngine* rndmEngine,
const
std::vector<int>& inputParameters)
const
;
51
const
std::string&
getName
()
const
{
return
m_name
;};
52
53
private
:
54
std::string
m_name
;
55
std::map< int , std::map< int, TH1*> >
m_energy_eta_hists1D
;
56
57
};
58
}
59
60
#endif
plotmaker.hist
hist
Definition:
plotmaker.py:148
ISF::PDFcreator
Definition:
PDFcreator.h:37
ISF::PDFcreator::getRand
double getRand(CLHEP::HepRandomEngine *rndmEngine, const std::vector< int > &inputParameters) const
get the random value with this method, by providing the input parameters
Definition:
PDFcreator.cxx:56
ISF::PDFcreator::~PDFcreator
~PDFcreator()
Definition:
PDFcreator.cxx:32
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition:
ParticleGun_FastCalo_ChargeFlip_Config.py:78
ISF::PDFcreator::PDFcreator
PDFcreator()
construct the class with a given TF1 and a random engine
Definition:
PDFcreator.h:41
mc.PDFname
PDFname
Definition:
mc.SFGenPy8_MuMu_DD.py:10
IAtRndmGenSvc.h
ISF::PDFcreator::setName
void setName(const std::string &PDFname)
all following is used to set up the class
Definition:
PDFcreator.h:46
LArCellBinning.etaMin
etaMin
Definition:
LArCellBinning.py:84
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
TFCS1DFunction.h
ISF::PDFcreator::m_name
std::string m_name
Give pdf a name for debug purposes.
Definition:
PDFcreator.h:51
ISF::PDFcreator::m_energy_eta_hists1D
std::map< int, std::map< int, TH1 * > > m_energy_eta_hists1D
map of energies to map of eta ranges to 1D histograms
Definition:
PDFcreator.h:55
ISF::PDFcreator::addToEnergyEtaHist1DMap
void addToEnergyEtaHist1DMap(int energy, int etaMin, TH1 *hist)
Definition:
PDFcreator.cxx:41
ISF::PDFcreator::getName
const std::string & getName() const
Definition:
PDFcreator.h:51
Generated on Sun May 4 2025 21:15:15 for ATLAS Offline Software by
1.8.18