6#ifndef JETREC_JETCOPIER_H
7#define JETREC_JETCOPIER_H
29#ifndef XAOD_STANDALONE
45#ifndef XAOD_STANDALONE
54 virtual std::pair<std::unique_ptr<xAOD::JetContainer>, std::unique_ptr<SG::IAuxStore> >
getJets()
const override;
58 virtual std::pair<std::unique_ptr<xAOD::JetContainer>, std::unique_ptr<SG::IAuxStore> >
ShallowCopyJets()
const;
59 virtual std::pair<std::unique_ptr<xAOD::JetContainer>, std::unique_ptr<SG::IAuxStore> >
DeepCopyJets()
const;
64 Gaudi::Property<bool>
m_shallowCopy {
this,
"ShallowCopy",
true,
"True for shallow copy, false for deep copy"};
65 Gaudi::Property<bool>
m_shallowIO {
this,
"ShallowIO",
false,
"True for storing only modified data"};
67#ifndef XAOD_STANDALONE
69 "List of decorations to propagate through the shallow copy." };
Helper to propagate decoration dependencies to a shallow copy.
Creates a new JetContainer by doing a shallow copy of an input JetVector.
virtual std::pair< std::unique_ptr< xAOD::JetContainer >, std::unique_ptr< SG::IAuxStore > > ShallowCopyJets() const
virtual std::pair< std::unique_ptr< xAOD::JetContainer >, std::unique_ptr< SG::IAuxStore > > DeepCopyJets() const
Gaudi::Property< bool > m_shallowCopy
virtual StatusCode getAndRecordJets(SG::WriteHandle< xAOD::JetContainer > &jetHandle) const override
Method to allow the client to pass in a WriteHandle for the container and aux container to be recorde...
SG::ShallowCopyDecorDeps< xAOD::JetContainer > m_decorDeps
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
SG::ReadHandleKey< xAOD::JetContainer > m_inputJets
virtual std::pair< std::unique_ptr< xAOD::JetContainer >, std::unique_ptr< SG::IAuxStore > > getJets() const override
Method to build the collection and return it to the caller.
Gaudi::Property< bool > m_shallowIO
virtual StatusCode initWithOutput(const SG::WriteHandleKey< xAOD::JetContainer > &outputJets) override
Method to allow the client to pass in a WriteHandle during initialisation, in case this is needed for...
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper to propagate decoration dependencies to a shallow copy.
Property holding a SG store/key/clid from which a WriteHandle is made.