ATLAS Offline Software
Loading...
Searching...
No Matches
TrackContainerModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PRDTESTERR4_TRACKCONTAINERMODULE_H
6#define PRDTESTERR4_TRACKCONTAINERMODULE_H
10
11namespace MuonValR4{
14 class TrackFitIterBranch : public MuonVal::VectorBranch<std::uint16_t>,
16 public:
18
19 using VectorBranch<std::uint16_t>::push_back;
20 virtual void push_back(const xAOD::IParticle* p) override;
21 virtual void push_back(const xAOD::IParticle& p) override;
22 virtual void operator+=(const xAOD::IParticle* p) override;
23 virtual void operator+=(const xAOD::IParticle& p) override;
24
25 };
26
30 public:
31
33
35 virtual void push_back(const xAOD::IParticle* p) override;
36 virtual void push_back(const xAOD::IParticle& p) override;
37 virtual void operator+=(const xAOD::IParticle* p) override;
38 virtual void operator+=(const xAOD::IParticle& p) override;
39 virtual bool init() override final;
40
41 private:
43 std::shared_ptr<MuonVal::VectorBranch<float>> m_thickX0{};
44 std::shared_ptr<MuonVal::VectorBranch<std::uint8_t>> m_nStates{};
45 };
46
50 public:
52
54 virtual void push_back(const xAOD::IParticle* p) override;
55 virtual void push_back(const xAOD::IParticle& p) override;
56 virtual void operator+=(const xAOD::IParticle* p) override;
57 virtual void operator+=(const xAOD::IParticle& p) override;
58 };
59}
60
61#endif
EnergyLossBranch(MuonVal::IParticleFourMomBranch &parent)
virtual void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
virtual void operator+=(const xAOD::IParticle *p) override
virtual void operator+=(const xAOD::IParticle *p) override
ActsTrk::GeoContextReadKey_t m_geoCtxKey
std::shared_ptr< MuonVal::VectorBranch< float > > m_thickX0
virtual void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
MaterialRecorderBranch(MuonVal::IParticleFourMomBranch &parent)
virtual bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
std::shared_ptr< MuonVal::VectorBranch< std::uint8_t > > m_nStates
virtual void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
TrackFitIterBranch(IParticleFourMomBranch &parent)
virtual void operator+=(const xAOD::IParticle *p) override
Helper class to easily to add xAOD::IParticles and associated decorator variables to the MuonTesterTr...
VectorBranch(TTree *tree, const std::string &name)
Class providing the definition of the 4-vector interface.
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...