ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSLateralShapeTuning.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TFCSLateralShapeTuning_h
6
#define TFCSLateralShapeTuning_h
7
8
/*Parent class*/
9
#include "
ISF_FastCaloSimEvent/TFCSLateralShapeParametrizationHitBase.h
"
10
/*Truth state include*/
11
#include "
ISF_FastCaloSimEvent/TFCSTruthState.h
"
12
/*Particle data includes*/
13
#include "HepPDT/ParticleData.hh"
14
#include "HepPDT/ParticleDataTable.hh"
15
/*TFile include*/
16
#include <TFile.h>
17
/*Pieciewise linear interpolation class include*/
18
#include "
ISF_FastCaloSimEvent/TFCSEnergyInterpolationPiecewiseLinear.h
"
19
20
class
TFCSLateralShapeTuning
:
public
TFCSLateralShapeParametrizationHitBase
{
21
22
typedef
std::map<std::string, TFCSEnergyInterpolationPiecewiseLinear *>
23
interpolationMap
;
24
25
public
:
27
TFCSLateralShapeTuning
(
const
char
*
name
=
nullptr
,
28
const
char
*
title
=
nullptr
);
29
// Destructor
30
~TFCSLateralShapeTuning
();
31
// Simulation call
32
virtual
FCSReturnCode
33
simulate_hit
(
Hit
&hit,
TFCSSimulationState
&simulstate,
34
const
TFCSTruthState
*truth,
35
const
TFCSExtrapolationState
*
extrapol
)
override
;
36
// Initialization from model parameter file
37
FCSReturnCode
initFromModelFile
(
const
std::string &pathToModelParameters,
38
int
intMinEta,
int
intMaxEta);
39
// Initialization from interpolation map
40
FCSReturnCode
initFromMap
(
const
interpolationMap
&);
41
// Helper function for strip layer model
42
static
double
getSeriesScalingFactor
(
double
a0
,
double
a1,
double
a2,
43
double
a3,
double
distToShowerCenter);
44
45
private
:
46
// mapping between the parameter names of the model and its pieciewise linear
47
// interpolation obect
48
interpolationMap
m_parameterInterpol
;
49
50
ClassDefOverride(
TFCSLateralShapeTuning
, 1)
// TFCSLateralShapeTuning
51
};
52
53
#endif
TFCSLateralShapeTuning::m_parameterInterpol
interpolationMap m_parameterInterpol
Definition:
TFCSLateralShapeTuning.h:48
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition:
TFCSParametrizationBase.h:41
TFCSLateralShapeTuning::TFCSLateralShapeTuning
TFCSLateralShapeTuning(const char *name=nullptr, const char *title=nullptr)
Constructor.
Definition:
TFCSLateralShapeTuning.cxx:12
TFCSLateralShapeTuning::initFromModelFile
FCSReturnCode initFromModelFile(const std::string &pathToModelParameters, int intMinEta, int intMaxEta)
Definition:
TFCSLateralShapeTuning.cxx:24
TFCSLateralShapeTuning::interpolationMap
std::map< std::string, TFCSEnergyInterpolationPiecewiseLinear * > interpolationMap
Definition:
TFCSLateralShapeTuning.h:23
TFCSExtrapolationState
Definition:
TFCSExtrapolationState.h:13
TFCSLateralShapeParametrizationHitBase::Hit
Definition:
TFCSLateralShapeParametrizationHitBase.h:42
RunActsMaterialValidation.extrapol
extrapol
Definition:
RunActsMaterialValidation.py:90
TFCSLateralShapeTuning::initFromMap
FCSReturnCode initFromMap(const interpolationMap &)
Definition:
TFCSLateralShapeTuning.cxx:71
TFCSLateralShapeTuning::~TFCSLateralShapeTuning
~TFCSLateralShapeTuning()
Definition:
TFCSLateralShapeTuning.cxx:16
TFCSLateralShapeParametrizationHitBase
Definition:
TFCSLateralShapeParametrizationHitBase.h:13
TFCSLateralShapeParametrizationHitBase.h
TFCSLateralShapeTuning::simulate_hit
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
simulated one hit position with some energy.
Definition:
TFCSLateralShapeTuning.cxx:79
TFCSLateralShapeTuning
Definition:
TFCSLateralShapeTuning.h:20
covarianceTool.title
title
Definition:
covarianceTool.py:542
TFCSLateralShapeTuning::getSeriesScalingFactor
static double getSeriesScalingFactor(double a0, double a1, double a2, double a3, double distToShowerCenter)
Definition:
TFCSLateralShapeTuning.cxx:165
a0
double a0
Definition:
globals.cxx:27
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TFCSTruthState.h
TFCSEnergyInterpolationPiecewiseLinear.h
TFCSTruthState
Definition:
TFCSTruthState.h:13
TFCSSimulationState
Definition:
TFCSSimulationState.h:32
Generated on Thu Nov 7 2024 21:27:33 for ATLAS Offline Software by
1.8.18