ATLAS Offline Software
Loading...
Searching...
No Matches
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
21public:
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
28private:
29 ToolHandle<IPileUpTool> m_mergeTool{this, "MergeMcEventCollTool", "MergeMcEventCollTool", ""};
30};
31#endif //MCTRUTHSIMALGS_MERGEMCEVENTCOLLECTION_H
the preferred mechanism to access information from the different event stores in a pileup job.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~MergeMcEventCollection()=default
virtual StatusCode initialize() override final
MergeMcEventCollection(const std::string &name, ISvcLocator *svcLoc)
virtual bool isClonable() const override final
ToolHandle< IPileUpTool > m_mergeTool
virtual StatusCode execute() override final