ATLAS Offline Software
TFCSCenterPositionCalculation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TFCSCenterPositionCalculation_h
6 #define TFCSCenterPositionCalculation_h
7 
9 
12 public:
13  TFCSCenterPositionCalculation(const char *name = nullptr,
14  const char *title = nullptr);
15 
17  virtual FCSReturnCode
18  simulate_hit(Hit &hit, TFCSSimulationState &simulstate,
19  const TFCSTruthState *truth,
20  const TFCSExtrapolationState *extrapol) override;
21  inline void setExtrapWeight(const float weight) { m_extrapWeight = weight; }
22  inline float getExtrapWeight() { return m_extrapWeight; }
23  void Print(Option_t *option = "") const override;
24 
25 private:
27  ClassDefOverride(TFCSCenterPositionCalculation,
28  1) // TFCSCenterPositionCalculation
29 };
30 
31 #endif
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition: TFCSParametrizationBase.h:41
TFCSCenterPositionCalculation
Definition: TFCSCenterPositionCalculation.h:11
TFCSCenterPositionCalculation::Print
void Print(Option_t *option="") const override
Definition: TFCSCenterPositionCalculation.cxx:68
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
TFCSLateralShapeParametrizationHitBase::Hit
Definition: TFCSLateralShapeParametrizationHitBase.h:42
RunActsMaterialValidation.extrapol
extrapol
Definition: RunActsMaterialValidation.py:90
TFCSLateralShapeParametrizationHitBase
Definition: TFCSLateralShapeParametrizationHitBase.h:13
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
TFCSLateralShapeParametrizationHitBase.h
covarianceTool.title
title
Definition: covarianceTool.py:542
TFCSCenterPositionCalculation::simulate_hit
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
Used to decorate Hit with extrap center positions.
Definition: TFCSCenterPositionCalculation.cxx:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TFCSCenterPositionCalculation::m_extrapWeight
float m_extrapWeight
Definition: TFCSCenterPositionCalculation.h:26
TFCSCenterPositionCalculation::TFCSCenterPositionCalculation
TFCSCenterPositionCalculation(const char *name=nullptr, const char *title=nullptr)
Definition: TFCSCenterPositionCalculation.cxx:15
TFCSCenterPositionCalculation::getExtrapWeight
float getExtrapWeight()
Definition: TFCSCenterPositionCalculation.h:22
TFCSTruthState
Definition: TFCSTruthState.h:13
TFCSCenterPositionCalculation::setExtrapWeight
void setExtrapWeight(const float weight)
Definition: TFCSCenterPositionCalculation.h:21
TFCSSimulationState
Definition: TFCSSimulationState.h:32