ATLAS Offline Software
Loading...
Searching...
No Matches
TrackContainerModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PRDTESTERR4_TRACKCONTAINERMODULE_H
6#define PRDTESTERR4_TRACKCONTAINERMODULE_H
9namespace MuonValR4{
10
12 public:
14 const std::string& inContainer,
15 MSG::Level msgLvl = MSG::Level::INFO,
16 const std::string& collName = "ActsMsTracks");
17
18 bool declare_keys() override final;
19
20 bool fill(const EventContext& ctx) override final;
21 private:
23 std::string m_collName{"ActsMsTracks"};
24
32
33 };
34}
35
36#endif
bool msgLvl(const MSG::Level lvl) const
Test the output level.
TesterModuleBase(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl=MSG::Level::INFO)
MuonVal::VectorBranch< int > & m_trackQ
SG::ReadHandleKey< ActsTrk::TrackContainer > m_key
MuonVal::VectorBranch< float > & m_trackEta
MuonVal::VectorBranch< float > & m_trackPt
MuonVal::VectorBranch< float > & m_trackPhi
TrackContainerModule(MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="ActsMsTracks")
MuonVal::VectorBranch< unsigned > & m_trackNdoF
MuonVal::VectorBranch< unsigned > & m_parentSeed
MuonVal::VectorBranch< float > & m_trackChi2
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
TTree * tree() override final
Returns the underlying TTree object.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
Property holding a SG store/key/clid from which a ReadHandle is made.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...