ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7std::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_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
unsigned samplingPattern() const
Access to sampling pattern (one bit per sampling) (Method may be removed later)
std::unique_ptr< CaloCluster > prepareElementForShallowCopy(const CaloCluster *orgCluster)
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.