ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSHitCellMapping.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TFCSHitCellMapping_h
6#define TFCSHitCellMapping_h
7
9
10class ICaloGeometry;
11
13public:
14 TFCSHitCellMapping(const char *name = nullptr, const char *title = nullptr,
15 ICaloGeometry *geo = nullptr);
16
17 virtual void set_geometry(ICaloGeometry *geo) override { m_geo = geo; };
19
21 virtual FCSReturnCode
22 simulate_hit(Hit &hit, TFCSSimulationState &simulstate,
23 const TFCSTruthState *truth,
24 const TFCSExtrapolationState *extrapol) override;
25
26 virtual bool operator==(const TFCSParametrizationBase &ref) const override;
27
28 void Print(Option_t *option) const override;
29
30protected:
32
33private:
34 ClassDefOverride(TFCSHitCellMapping, 1) // TFCSHitCellMapping
35};
36
37#endif
const boost::regex ref(r_ef)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual void set_geometry(ICaloGeometry *geo) override
Method to set the geometry access pointer.
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
fills all hits into calorimeter cells
ICaloGeometry * get_geometry()
void Print(Option_t *option) const override
virtual bool operator==(const TFCSParametrizationBase &ref) const override
The == operator compares the content of instances.
ICaloGeometry * m_geo
TFCSHitCellMapping(const char *name=nullptr, const char *title=nullptr, ICaloGeometry *geo=nullptr)
TFCSLateralShapeParametrizationHitBase(const char *name=nullptr, const char *title=nullptr)