ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition
TFCSParametrizationBase.h:41
TFCSParametrization.h
TFCSExtrapolationState
Definition
TFCSExtrapolationState.h:13
TFCSInitWithEkin
Definition
TFCSInitWithEkin.h:10
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::is_match_all_calosample
virtual bool is_match_all_calosample() const override
Definition
TFCSInitWithEkin.h:21
TFCSInitWithEkin::is_match_Ekin_bin
virtual bool is_match_Ekin_bin(int) const override
Definition
TFCSInitWithEkin.h:14
TFCSInitWithEkin::is_match_calosample
virtual bool is_match_calosample(int) const override
Definition
TFCSInitWithEkin.h:17
TFCSInitWithEkin::TFCSInitWithEkin
TFCSInitWithEkin(const char *name=nullptr, const char *title=nullptr)
Definition
TFCSInitWithEkin.cxx:13
TFCSInitWithEkin::is_match_all_Ekin_bin
virtual bool is_match_all_Ekin_bin() const override
Definition
TFCSInitWithEkin.h:20
TFCSParametrization::TFCSParametrization
TFCSParametrization(const char *name=nullptr, const char *title=nullptr)
Definition
TFCSParametrization.cxx:12
TFCSSimulationState
Definition
TFCSSimulationState.h:32
TFCSTruthState
Definition
TFCSTruthState.h:13
Generated on
for ATLAS Offline Software by
1.17.0