ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#ifdef USE_GPU
12#endif
13
14class TH1;
15
17public:
18 TFCSHistoLateralShapeGausLogWeight(const char *name = nullptr,
19 const char *title = nullptr);
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
36protected:
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
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
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
TFCSHistoLateralShapeGausLogWeight(const char *name=nullptr, const char *title=nullptr)
TFCSHistoLateralShapeWeight(const char *name=nullptr, const char *title=nullptr)
#define private