ATLAS Offline Software
Calorimeter
CaloRecGPU
src
CaloClusterStoreRawProperties.cxx
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
//
4
// Dear emacs, this is -*- c++ -*-
5
//
6
7
#include "
CaloClusterStoreRawProperties.h
"
8
9
10
StatusCode
CaloClusterStoreRawProperties::execute
(
const
EventContext &,
xAOD::CaloClusterContainer
* cluster_collection)
const
11
{
12
for
(
xAOD::CaloCluster
* cluster : *cluster_collection)
13
{
14
cluster->setRawE(cluster->calE());
15
cluster->setRawEta(cluster->calEta());
16
cluster->setRawPhi(cluster->calPhi());
17
cluster->setRawM(cluster->calM());
18
}
19
20
return
StatusCode::SUCCESS;
21
22
}
23
CaloClusterStoreRawProperties.h
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:62
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
CaloClusterStoreRawProperties::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Definition:
CaloClusterStoreRawProperties.cxx:10
Generated on Tue Sep 2 2025 21:08:08 for ATLAS Offline Software by
1.8.18