ATLAS Offline Software
Loading...
Searching...
No Matches
MuEntryVariables.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONPRDTEST_MUENTRYVARIABLES_H
6#define MUONPRDTEST_MUENTRYVARIABLES_H
7
8
13namespace MuonPRDTest{
15 public:
16 MuEntryVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
17
18 bool fill(const EventContext& ctx) override final;
19 bool declare_keys() override final;
20
21
22 private:
25 PtEtaPhiEBranch m_MuEntry_mom{parent(), "MuEntry_Particle"};
26 ThreeVectorBranch m_MuEntry_pos{parent(), "MuEntry_Position"};
29 };
30}
31#endif // MUENTRYVARIABLES_H
ScalarBranch< unsigned int > & m_MuEntry_nParticles
SG::ReadHandleKey< TrackRecordCollection > m_key
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...
MuEntryVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< int > & m_MuEntry_particlePdg_id
VectorBranch< int > & m_MuEntry_particleBarcode
bool declare_keys() override final
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
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.
ScalarBranch< T > & newScalar(const std::string &name)
Helper class to store the four-momentum in a TTree using the Pt, Eta, Phi, E representation.
Property holding a SG store/key/clid from which a ReadHandle is made.