|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/MsgStream.h"
40 for(
size_t i = 0;
i < oldObj->
size(); ++
i ) {
43 oldInt.setStore( oldObj );
46 for(
size_t i = 0;
i < newObj->
size(); ++
i ) {
49 newInt.setStore( newObj );
51 for(
size_t i = 0;
i < oldInt.
size(); ++
i ) {
64 float Eratio = fabs(emax+emax2)>0. ? (emax-emax2)/(emax+emax2) : 0.;
72 const float eta2 = fabsf(cluster->
etaBE(2));
74 const double energy = cluster->
e();
77 const double cosheta = cosh(
eta2);
78 et = (cosheta != 0.) ?
energy /cosheta : 0.;
98 MsgStream&
log )
const {
101 <<
"Somebody called xAODPhotonAuxContainerCnv_v2::transToPers"
103 throw std::runtime_error(
"Somebody called xAODPhotonAuxContainerCnv_v2::"
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
Extra patterns decribing particle interation process.
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
virtual void transToPers(const xAOD::PhotonAuxContainer *, xAOD::PhotonAuxContainer_v2 *, MsgStream &log) const override
Dummy function inherited from the base class.
xAODPhotonAuxContainerCnv_v2()
Default constructor.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
virtual size_t size() const override
Get the size of the container.
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Helper to copy an aux store while applying thinning.
Description of a calorimeter cluster.
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Auxiliary store for offline photons.
virtual void persToTrans(const xAOD::PhotonAuxContainer_v2 *oldObj, xAOD::PhotonAuxContainer *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Auxiliary store for offline photons.
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
size_type size() const noexcept
Returns the number of elements in the collection.
@ emaxs1
energy of strip with maximal energy deposit
virtual double e() const
The total energy of the particle.