ATLAS Offline Software
Loading...
Searching...
No Matches
TruthTestTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef G4ATLASTESTS_TRUTHTESTTOOL_H
6#define G4ATLASTESTS_TRUTHTESTTOOL_H
7
8#include "SimTestToolBase.h"
11
12
14
15
16public:
17
18 TruthTestTool(const std::string& type, const std::string& name, const IInterface* parent);
19
20 virtual StatusCode initialize() override;
21 virtual StatusCode processEvent() override;
22
23private:
25 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfo", "EventInfo", "EventInfo name"};
26
27 // histograms
41
43};
44
45#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
SimTestToolBase(const std::string &type, const std::string &name, const IInterface *parent)
TH1 * m_particle_type
virtual StatusCode initialize() override
TH1 * m_particle_status
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG key for Event Info.
TH1 * m_n_generations
TruthTestTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode processEvent() override