ATLAS Offline Software
Loading...
Searching...
No Matches
LengthIntegratorTool.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 G4USERACTIONS_G4UA_LENGTHINTEGRATOR_H
6#define G4USERACTIONS_G4UA_LENGTHINTEGRATOR_H
7
8// Framework includes
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ITHistSvc.h"
11
12// Infrastructure includes
14
15// Local includes
16#include "LengthIntegrator.h"
17
18namespace G4UA
19{
20
26 class LengthIntegratorTool : public UserActionToolBase<LengthIntegrator>
27 {
28
29 public:
30
32 LengthIntegratorTool(const std::string& type, const std::string& name,
33 const IInterface* parent);
34
36 virtual StatusCode initialize() override;
37
38 protected:
39
41 virtual std::unique_ptr<LengthIntegrator>
43
44 private:
45
48
49 //do we fill histograms as well as TTree?
50 //(very large filesize...)
52
53 }; // class LengthIntegratorTool
54
55} // namespace G4UA
56
57#endif
LengthIntegratorTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode initialize() override
Initialize the tool.
virtual std::unique_ptr< LengthIntegrator > makeAndFillAction(G4AtlasUserActions &) override final
Create aciton for this thread.
ServiceHandle< ITHistSvc > m_hSvc
Handle to the histogram service.
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.