ATLAS Offline Software
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 
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 }
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
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
TFCSInitWithEkin::TFCSInitWithEkin
TFCSInitWithEkin(const char *name=nullptr, const char *title=nullptr)
Definition: TFCSInitWithEkin.cxx:13
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TFCSTruthState::Ekin
double Ekin() const
Definition: TFCSTruthState.h:26
covarianceTool.title
title
Definition: covarianceTool.py:542
TFCSParametrizationBase::set_match_all_pdgid
virtual void set_match_all_pdgid()
Definition: TFCSParametrizationBase.h:83
FCSSuccess
@ FCSSuccess
Definition: TFCSParametrizationBase.h:41
TFCSParametrization
Definition: TFCSParametrization.h:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TFCSSimulationState::set_E
void set_E(int sample, double Esample)
Definition: TFCSSimulationState.h:48
TFCSInitWithEkin.h
TFCSTruthState.h
TFCSSimulationState.h
TFCSTruthState
Definition: TFCSTruthState.h:13
TFCSSimulationState
Definition: TFCSSimulationState.h:32