ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSInitWithEkin.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_FASTCALOSIMEVENT_TFCSInitWithEkin_h
6
#define ISF_FASTCALOSIMEVENT_TFCSInitWithEkin_h
7
8
#include "
ISF_FastCaloSimEvent/TFCSParametrization.h
"
9
10
class
TFCSInitWithEkin
:
public
TFCSParametrization
{
11
public
:
12
TFCSInitWithEkin
(
const
char
*
name
=
nullptr
,
const
char
*
title
=
nullptr
);
13
14
virtual
bool
is_match_Ekin_bin
(
int
/*Ekin_bin*/
)
const override
{
15
return
true
;
16
};
17
virtual
bool
is_match_calosample
(
int
/*calosample*/
)
const override
{
18
return
true
;
19
};
20
virtual
bool
is_match_all_Ekin_bin
()
const override
{
return
true
; };
21
virtual
bool
is_match_all_calosample
()
const override
{
return
true
; };
22
23
// Initialize simulstate with the kinetic energy Ekin from truth
24
virtual
FCSReturnCode
25
simulate
(
TFCSSimulationState
&simulstate,
const
TFCSTruthState
*truth,
26
const
TFCSExtrapolationState
*
extrapol
)
const override
;
27
28
private
:
29
ClassDefOverride(
TFCSInitWithEkin
, 1)
// TFCSInitWithEkin
30
};
31
32
#endif
TFCSInitWithEkin::is_match_all_Ekin_bin
virtual bool is_match_all_Ekin_bin() const override
Definition:
TFCSInitWithEkin.h:20
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition:
TFCSParametrizationBase.h:41
TFCSInitWithEkin::simulate
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
Definition:
TFCSInitWithEkin.cxx:18
TFCSInitWithEkin
Definition:
TFCSInitWithEkin.h:10
TFCSInitWithEkin::is_match_all_calosample
virtual bool is_match_all_calosample() const override
Definition:
TFCSInitWithEkin.h:21
TFCSExtrapolationState
Definition:
TFCSExtrapolationState.h:13
RunActsMaterialValidation.extrapol
extrapol
Definition:
RunActsMaterialValidation.py:90
TFCSInitWithEkin::TFCSInitWithEkin
TFCSInitWithEkin(const char *name=nullptr, const char *title=nullptr)
Definition:
TFCSInitWithEkin.cxx:13
TFCSInitWithEkin::is_match_calosample
virtual bool is_match_calosample(int) const override
Definition:
TFCSInitWithEkin.h:17
TFCSParametrization.h
covarianceTool.title
title
Definition:
covarianceTool.py:542
TFCSParametrization
Definition:
TFCSParametrization.h:10
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TFCSTruthState
Definition:
TFCSTruthState.h:13
TFCSSimulationState
Definition:
TFCSSimulationState.h:32
TFCSInitWithEkin::is_match_Ekin_bin
virtual bool is_match_Ekin_bin(int) const override
Definition:
TFCSInitWithEkin.h:14
Generated on Thu Nov 7 2024 21:27:32 for ATLAS Offline Software by
1.8.18