ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
9
10StatusCode 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
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.