ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCaloEvent
Root
CaloClusterShallowCopy.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
xAODCaloEvent/CaloCluster.h
"
6
7
std::unique_ptr<xAOD::CaloCluster>
xAOD::prepareElementForShallowCopy
(
const
xAOD::CaloCluster
* orgCluster) {
8
//std::cout << "Executing overloaded version of prepareElementForShallowCopy" << std::endl;
9
std::unique_ptr<xAOD::CaloCluster> newCluster(
new
CaloCluster
());
10
newCluster->setSamplingPattern(orgCluster->
samplingPattern
(),
false
);
11
return
newCluster;
12
}
13
CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
CaloCluster.h
xAOD::CaloCluster_v1::samplingPattern
unsigned samplingPattern() const
Access to sampling pattern (one bit per sampling) (Method may be removed later).
Definition
CaloCluster_v1.h:867
xAOD::prepareElementForShallowCopy
std::unique_ptr< CaloCluster > prepareElementForShallowCopy(const CaloCluster *orgCluster)
Definition
CaloClusterShallowCopy.cxx:7
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
Generated on
for ATLAS Offline Software by
1.17.0