ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSHistoLateralShapeGausLogWeight.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TFCSHistoLateralShapeGausLogWeight_h
6
#define TFCSHistoLateralShapeGausLogWeight_h
7
8
#include "
ISF_FastCaloSimEvent/TFCSHistoLateralShapeWeight.h
"
9
#ifdef USE_GPU
10
#include "
ISF_FastCaloGpu/LoadGpuHist.h
"
11
#include "
ISF_FastCaloGpu/FH_structs.h
"
12
#endif
13
14
class
TH1;
15
16
class
TFCSHistoLateralShapeGausLogWeight
:
public
TFCSHistoLateralShapeWeight
{
17
public
:
18
TFCSHistoLateralShapeGausLogWeight
(
const
char
*name =
nullptr
,
19
const
char
*title =
nullptr
);
20
virtual
~TFCSHistoLateralShapeGausLogWeight
();
21
23
virtual
FCSReturnCode
24
simulate_hit
(
Hit
&hit,
TFCSSimulationState
&simulstate,
25
const
TFCSTruthState
*truth,
26
const
TFCSExtrapolationState
*extrapol)
override
;
27
28
#ifdef USE_GPU
29
// will not compile by default
30
void
set_d_Hist(
FH1D
*hf_ptr) { m_d_Hist = hf_ptr; };
31
const
FH1D
*d_Hist() {
return
m_d_Hist; };
32
void
LoadHist();
33
LoadGpuHist
*LdFH() {
return
m_LdFH; };
34
#endif
35
36
protected
:
37
ClassDefOverride(
TFCSHistoLateralShapeGausLogWeight
,
38
1)
// TFCSHistoLateralShapeGausLogWeight
39
40
private
:
41
42
#ifdef USE_GPU
43
FH1D
*m_d_Hist =
nullptr
;
44
LoadGpuHist
*m_LdFH =
nullptr
;
45
#endif
46
};
47
48
#endif
FH_structs.h
LoadGpuHist.h
TFCSHistoLateralShapeWeight.h
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition
TFCSParametrizationBase.h:41
LoadGpuHist
Definition
LoadGpuHist.h:10
TFCSExtrapolationState
Definition
TFCSExtrapolationState.h:13
TFCSHistoLateralShapeGausLogWeight::~TFCSHistoLateralShapeGausLogWeight
virtual ~TFCSHistoLateralShapeGausLogWeight()
Definition
TFCSHistoLateralShapeGausLogWeight.cxx:23
TFCSHistoLateralShapeGausLogWeight::simulate_hit
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
weight the energy of one hit in order to generate fluctuations
Definition
TFCSHistoLateralShapeGausLogWeight.cxx:29
TFCSHistoLateralShapeGausLogWeight::TFCSHistoLateralShapeGausLogWeight
TFCSHistoLateralShapeGausLogWeight(const char *name=nullptr, const char *title=nullptr)
Definition
TFCSHistoLateralShapeGausLogWeight.cxx:19
TFCSHistoLateralShapeWeight::TFCSHistoLateralShapeWeight
TFCSHistoLateralShapeWeight(const char *name=nullptr, const char *title=nullptr)
Definition
TFCSHistoLateralShapeWeight.cxx:21
TFCSLateralShapeParametrizationHitBase::Hit
Definition
TFCSLateralShapeParametrizationHitBase.h:42
TFCSSimulationState
Definition
TFCSSimulationState.h:32
TFCSTruthState
Definition
TFCSTruthState.h:13
FH1D
Definition
FH_structs.h:22
private
#define private
Definition
xAODTruthCnvAlg.h:20
Generated on
for ATLAS Offline Software by
1.14.0