ATLAS Offline Software
Loading...
Searching...
No Matches
MDTPRDVariables.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 MuonPRDTEST_MDTPRDVARIABLES_H
6#define MuonPRDTEST_MDTPRDVARIABLES_H
7
11
12namespace MuonPRDTest{
14 public:
15 MDTPRDVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
16
17 ~MDTPRDVariables() = default;
18
19 bool fill(const EventContext& ctx) override final;
20
21 bool declare_keys() override final;
22
23 private:
24 SG::ReadHandleKey<Muon::MdtPrepDataContainer> m_key{};
25 ScalarBranch<unsigned int>& m_MDT_nPRD{parent().newScalar<unsigned int>("N_PRD_MDT")};
26
28 VectorBranch<double>& m_MDT_PRD_radius{parent().newVector<double>( "PRD_MDT_radius")};
34 };
35};
36
37#endif // MuonPRDTEST_MDTPRDVARIABLES_H
VectorBranch< float > & m_MDT_PRD_error
MdtIdentifierBranch m_MDT_PRD_id
VectorBranch< int > & m_MDT_PRD_adc
ThreeVectorBranch m_MDT_PRD_globalPos
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_key
VectorBranch< int > & m_MDT_PRD_status
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...
VectorBranch< double > & m_MDT_PRD_radius
ScalarBranch< unsigned int > & m_MDT_nPRD
bool declare_keys() override final
VectorBranch< int > & m_MDT_PRD_tdc
MDTPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the MDT identifier.
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)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Forward declaration.
#define private