ATLAS Offline Software
Loading...
Searching...
No Matches
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
CaloClusterStoreRawProperties::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Definition
CaloClusterStoreRawProperties.cxx:10
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
Generated on
for ATLAS Offline Software by
1.14.0