ATLAS Offline Software
Loading...
Searching...
No Matches
MuonTesterAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONPRDTEST_MUONTESTERALG_H
5#define MUONPRDTEST_MUONTESTERALG_H
7
12
13namespace MuonVal{
15 public:
16
18
19 virtual StatusCode initialize() override;
20 virtual StatusCode finalize() override;
21 virtual StatusCode execute(const EventContext& ctx) override;
22 virtual unsigned int cardinality() const override final { return 1; }
23 private:
25
26 MuonVal::MuonTesterTree m_tree{"BasicMuonTest", "MUONVALIDSTREAM"};
27
28 std::shared_ptr<IParticleFourMomBranch> m_muonBr{};
29
30
31 };
32}
33
34#endif
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual unsigned int cardinality() const override final
std::shared_ptr< IParticleFourMomBranch > m_muonBr
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
MuonVal::MuonTesterTree m_tree
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
virtual StatusCode finalize() override
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Class to store array like branches into the n-tuples.
Definition HitValAlg.cxx:19