ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSHitCellMappingWiggleEMB.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 TFCSHitCellMappingWiggleEMB_h
6#define TFCSHitCellMappingWiggleEMB_h
7
9
11public:
12 TFCSHitCellMappingWiggleEMB(const char *name = nullptr,
13 const char *title = nullptr,
14 ICaloGeometry *geo = nullptr);
15
18 virtual FCSReturnCode
19 simulate_hit(Hit &hit, TFCSSimulationState &simulstate,
20 const TFCSTruthState *truth,
21 const TFCSExtrapolationState *extrapol) override;
22
23private:
24 //** Array for the hit-to-cell assignment accordion structure fix (wiggle)
25 //**//
26 //** To be moved to the conditions database at some point **//
27 double m_wiggleLayer1[50];
28 double m_wiggleLayer2[50];
29 double m_wiggleLayer3[50];
30
31 double doWiggle(double searchRand);
32
33 ClassDefOverride(TFCSHitCellMappingWiggleEMB,
34 1) // TFCSHitCellMappingWiggleEMB
35};
36
37#endif
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
TFCSHitCellMappingWiggleEMB(const char *name=nullptr, const char *title=nullptr, ICaloGeometry *geo=nullptr)
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
modify one hit position to emulate the LAr accordeon shape and then fills all hits into calorimeter c...
TFCSHitCellMapping(const char *name=nullptr, const char *title=nullptr, ICaloGeometry *geo=nullptr)