ATLAS Offline Software
Loading...
Searching...
No Matches
TGCPRDVariables.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MuonPRDTEST_TGCPRDVARIABLES_H
6#define MuonPRDTEST_TGCPRDVARIABLES_H
7
11
12namespace MuonPRDTest{
14 public:
15 TGCPRDVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
16
17 ~TGCPRDVariables() = default;
18
19 bool fill(const EventContext& ctx) override final;
20
21 bool declare_keys() override final;
22
23 private:
24 SG::ReadHandleKey<Muon::TgcPrepDataContainer> m_key{};
25 ScalarBranch<unsigned int>& m_TGC_nPRD{parent().newScalar<unsigned int>("N_PRD_TGC")};
26
32 };
33};
34
35#endif // MuonPRDTEST_TGCPRDVARIABLES_H
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ThreeVectorBranch m_TGC_PRD_globalPos
VectorBranch< float > & m_TGC_PRD_error
bool declare_keys() override final
ScalarBranch< unsigned int > & m_TGC_nPRD
TGCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_key
TgcIdentifierBranch m_TGC_PRD_id
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< uint8_t > & m_TGC_PRD_bcId
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)
Branch to store all information of the TgcIdentifier.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Forward declaration.
#define private