ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
{
35
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
IAtRndmGenSvc.h
TFCS1DFunction.h
ISF::PDFcreator::getName
const std::string & getName() const
Definition
PDFcreator.h:51
ISF::PDFcreator::~PDFcreator
~PDFcreator()
Definition
PDFcreator.cxx:32
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()
construct the class with a given TF1 and a random engine
Definition
PDFcreator.h:41
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::setName
void setName(const std::string &PDFname)
all following is used to set up the class
Definition
PDFcreator.h:46
ISF::PDFcreator::addToEnergyEtaHist1DMap
void addToEnergyEtaHist1DMap(int energy, int etaMin, TH1 *hist)
Definition
PDFcreator.cxx:41
ISF::PDFcreator::m_name
std::string m_name
Give pdf a name for debug purposes.
Definition
PDFcreator.h:54
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
Generated on
for ATLAS Offline Software by
1.17.0