ATLAS Offline Software
MergeMcEventCollection.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_MERGEMCEVENTCOLLECTION_H
6 #define MCTRUTHSIMALGS_MERGEMCEVENTCOLLECTION_H
7 
9 #include "GaudiKernel/ToolHandle.h"
11 
12 
21 public:
22  MergeMcEventCollection(const std::string& name, ISvcLocator *svcLoc);
23  virtual ~MergeMcEventCollection() = default;
24  virtual StatusCode initialize() override final;
25  virtual StatusCode execute() override final;
26  virtual bool isClonable() const override final { return true; }
27 
28 private:
29  ToolHandle<IPileUpTool> m_mergeTool{this, "MergeMcEventCollTool", "MergeMcEventCollTool", ""};
30 };
31 #endif //MCTRUTHSIMALGS_MERGEMCEVENTCOLLECTION_H
MergeMcEventCollection::~MergeMcEventCollection
virtual ~MergeMcEventCollection()=default
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MergeMcEventCollection::isClonable
virtual bool isClonable() const override final
Definition: MergeMcEventCollection.h:26
AthAlgorithm.h
MergeMcEventCollection::m_mergeTool
ToolHandle< IPileUpTool > m_mergeTool
Definition: MergeMcEventCollection.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MergeMcEventCollection::initialize
virtual StatusCode initialize() override final
Definition: MergeMcEventCollection.cxx:14
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
PileUpMergeSvc.h
the preferred mechanism to access information from the different event stores in a pileup job.
MergeMcEventCollection::MergeMcEventCollection
MergeMcEventCollection(const std::string &name, ISvcLocator *svcLoc)
Definition: MergeMcEventCollection.cxx:8
MergeMcEventCollection::execute
virtual StatusCode execute() override final
Definition: MergeMcEventCollection.cxx:22
MergeMcEventCollection
an algorithm to merge MC truth collection in the overlay store
Definition: MergeMcEventCollection.h:20