ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSInitWithEkin.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9//=============================================
10//======= TFCSInitWithEkin =========
11//=============================================
12
13TFCSInitWithEkin::TFCSInitWithEkin(const char *name, const char *title)
14 : TFCSParametrization(name, title) {
16}
17
19 const TFCSTruthState *truth,
20 const TFCSExtrapolationState *) const {
21 ATH_MSG_DEBUG("set E to Ekin=" << truth->Ekin());
22 simulstate.set_E(truth->Ekin());
23 return FCSSuccess;
24}
#define ATH_MSG_DEBUG(x)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
TFCSInitWithEkin(const char *name=nullptr, const char *title=nullptr)
TFCSParametrization(const char *name=nullptr, const char *title=nullptr)
void set_E(int sample, double Esample)
double Ekin() const