ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSNNLateralShapeParametrization.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9//=============================================
10//======= TFCSLateralShapeParametrization =========
11//=============================================
12
16
18{
19 int cs=calosample();
20 hit.eta()=0.5*( extrapol->eta(cs, CaloSubPos::SUBPOS_ENT) + extrapol->eta(cs, CaloSubPos::SUBPOS_EXT) );
21 hit.phi()=0.5*( extrapol->phi(cs, CaloSubPos::SUBPOS_ENT) + extrapol->phi(cs, CaloSubPos::SUBPOS_EXT) );
22
23 return FCSSuccess;
24}
bool hit(const Container &ids, int pdgId)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
double phi(int layer, int subpos) const
double eta(int layer, int subpos) const
TFCSLateralShapeParametrizationHitBase(const char *name=nullptr, const char *title=nullptr)
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
simulated one hit position with some energy.
TFCSNNLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)