ATLAS Offline Software
MergeTrackRecordCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MCTRUTHSIMALGS_MERGETRACKRECORDCOLLECTION_H
6 #define MCTRUTHSIMALGS_MERGETRACKRECORDCOLLECTION_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
11 class IPileUpTool;
12 
17 public:
18  MergeTrackRecordCollection(const std::string& name, ISvcLocator* svcLoc);
19  virtual ~MergeTrackRecordCollection() = default;
20  virtual StatusCode initialize() override final;
21  virtual StatusCode execute() override final;
22  virtual bool isClonable() const override final { return true; }
23 private:
24  ToolHandle<IPileUpTool> m_mergeTool{this, "MergeTrackRecordCollTool", "MergeTrackRecordCollTool", ""};
25 };
26 #endif //MCTRUTHSIMALGS_MERGETRACKRECORDCOLLECTION_H
MergeTrackRecordCollection::initialize
virtual StatusCode initialize() override final
Definition: MergeTrackRecordCollection.cxx:15
MergeTrackRecordCollection::execute
virtual StatusCode execute() override final
Definition: MergeTrackRecordCollection.cxx:23
MergeTrackRecordCollection::~MergeTrackRecordCollection
virtual ~MergeTrackRecordCollection()=default
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MergeTrackRecordCollection
an algorithm to propagate TrackRecordCollections into the overlay store
Definition: MergeTrackRecordCollection.h:16
IPileUpTool
Definition: IPileUpTool.h:24
AthAlgorithm
Definition: AthAlgorithm.h:47
MergeTrackRecordCollection::isClonable
virtual bool isClonable() const override final
Definition: MergeTrackRecordCollection.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MergeTrackRecordCollection::MergeTrackRecordCollection
MergeTrackRecordCollection(const std::string &name, ISvcLocator *svcLoc)
Definition: MergeTrackRecordCollection.cxx:9
MergeTrackRecordCollection::m_mergeTool
ToolHandle< IPileUpTool > m_mergeTool
Definition: MergeTrackRecordCollection.h:24