ATLAS Offline Software
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 
14 class TH1;
15 
17 public:
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 
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
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition: TFCSParametrizationBase.h:41
TFCSHistoLateralShapeGausLogWeight::TFCSHistoLateralShapeGausLogWeight
TFCSHistoLateralShapeGausLogWeight(const char *name=nullptr, const char *title=nullptr)
Definition: TFCSHistoLateralShapeGausLogWeight.cxx:19
TFCSHistoLateralShapeWeight
Definition: TFCSHistoLateralShapeWeight.h:13
TFCSHistoLateralShapeGausLogWeight
Definition: TFCSHistoLateralShapeGausLogWeight.h:16
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
TFCSLateralShapeParametrizationHitBase::Hit
Definition: TFCSLateralShapeParametrizationHitBase.h:42
RunActsMaterialValidation.extrapol
extrapol
Definition: RunActsMaterialValidation.py:90
FH1D
Definition: FH_structs.h:22
LoadGpuHist.h
covarianceTool.title
title
Definition: covarianceTool.py:542
TFCSHistoLateralShapeWeight.h
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
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LoadGpuHist
Definition: LoadGpuHist.h:10
TH1
Definition: rootspy.cxx:268
TFCSHistoLateralShapeGausLogWeight::~TFCSHistoLateralShapeGausLogWeight
virtual ~TFCSHistoLateralShapeGausLogWeight()
Definition: TFCSHistoLateralShapeGausLogWeight.cxx:23
FH_structs.h
TFCSTruthState
Definition: TFCSTruthState.h:13
TFCSSimulationState
Definition: TFCSSimulationState.h:32