ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSParametrizationEbinChain.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 ISF_FASTCALOSIMEVENT_TFCSParametrizationEbinChain_h
6
#define ISF_FASTCALOSIMEVENT_TFCSParametrizationEbinChain_h
7
8
#include "
ISF_FastCaloSimEvent/TFCSParametrizationBinnedChain.h
"
9
#include "
ISF_FastCaloSimEvent/TFCSSimulationState.h
"
10
11
class
TFCSParametrizationEbinChain
:
public
TFCSParametrizationBinnedChain
{
12
public
:
13
TFCSParametrizationEbinChain
(
const
char
*
name
=
nullptr
,
14
const
char
*
title
=
nullptr
)
15
:
TFCSParametrizationBinnedChain
(
name
,
title
){};
16
TFCSParametrizationEbinChain
(
const
TFCSParametrizationEbinChain
&
ref
)
17
:
TFCSParametrizationBinnedChain
(
ref
){};
18
21
virtual
int
get_bin
(
TFCSSimulationState
&simulstate,
const
TFCSTruthState
*,
22
const
TFCSExtrapolationState
*)
const override
{
23
return
simulstate.
Ebin
();
24
};
25
virtual
const
std::string
26
get_variable_text
(
TFCSSimulationState
&simulstate,
const
TFCSTruthState
*,
27
const
TFCSExtrapolationState
*)
const override
;
28
29
static
void
unit_test
(
TFCSSimulationState
*simulstate =
nullptr
,
30
const
TFCSTruthState
*truth =
nullptr
,
31
const
TFCSExtrapolationState
*
extrapol
=
nullptr
);
32
33
private
:
34
ClassDefOverride(
TFCSParametrizationEbinChain
,
35
1)
// TFCSParametrizationEbinChain
36
};
37
38
#endif
TFCSParametrizationEbinChain
Definition:
TFCSParametrizationEbinChain.h:11
TFCSExtrapolationState
Definition:
TFCSExtrapolationState.h:13
RunActsMaterialValidation.extrapol
extrapol
Definition:
RunActsMaterialValidation.py:91
TFCSParametrizationEbinChain::TFCSParametrizationEbinChain
TFCSParametrizationEbinChain(const TFCSParametrizationEbinChain &ref)
Definition:
TFCSParametrizationEbinChain.h:16
TFCSParametrizationBinnedChain
Definition:
TFCSParametrizationBinnedChain.h:10
TFCSParametrizationBinnedChain.h
TFCSSimulationState::Ebin
int Ebin() const
Definition:
TFCSSimulationState.h:45
covarianceTool.title
title
Definition:
covarianceTool.py:542
TFCSParametrizationEbinChain::unit_test
static void unit_test(TFCSSimulationState *simulstate=nullptr, const TFCSTruthState *truth=nullptr, const TFCSExtrapolationState *extrapol=nullptr)
Definition:
TFCSParametrizationEbinChain.cxx:22
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TFCSParametrizationEbinChain::get_bin
virtual int get_bin(TFCSSimulationState &simulstate, const TFCSTruthState *, const TFCSExtrapolationState *) const override
current convention is to start Ebin counting at 1, to be updated to start counting with 0
Definition:
TFCSParametrizationEbinChain.h:21
TFCSParametrizationEbinChain::get_variable_text
virtual const std::string get_variable_text(TFCSSimulationState &simulstate, const TFCSTruthState *, const TFCSExtrapolationState *) const override
Definition:
TFCSParametrizationEbinChain.cxx:16
ref
const boost::regex ref(r_ef)
TFCSSimulationState.h
TFCSTruthState
Definition:
TFCSTruthState.h:13
TFCSSimulationState
Definition:
TFCSSimulationState.h:32
TFCSParametrizationEbinChain::TFCSParametrizationEbinChain
TFCSParametrizationEbinChain(const char *name=nullptr, const char *title=nullptr)
Definition:
TFCSParametrizationEbinChain.h:13
Generated on Sun Dec 22 2024 21:19:18 for ATLAS Offline Software by
1.8.18