ATLAS Offline Software
Loading...
Searching...
No Matches
RPCPRDVariables.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_RPCPRDVARIABLES_H
6#define MuonPRDTEST_RPCPRDVARIABLES_H
7
11
12namespace MuonPRDTest{
14 public:
15 RPCPRDVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
16
17 ~RPCPRDVariables() = default;
18
19 bool fill(const EventContext& ctx) override final;
20
21 bool declare_keys() override final;
22
23 private:
24 SG::ReadHandleKey<Muon::RpcPrepDataContainer> m_key{};
25 ScalarBranch<unsigned int>& m_RPC_nPRD{parent().newScalar<unsigned int>("N_PRD_RPC")};
31 };
32};
33
34#endif // MuonPRDTEST_RPCPRDVARIABLES_H
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
VectorBranch< double > & m_RPC_PRD_locX
VectorBranch< float > & m_RPC_PRD_time
ThreeVectorBranch m_RPC_PRD_globalPos
RPCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
ScalarBranch< unsigned int > & m_RPC_nPRD
VectorBranch< float > & m_RPC_PRD_error
SG::ReadHandleKey< Muon::RpcPrepDataContainer > 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...
RpcIdentifierBranch m_RPC_PRD_id
bool declare_keys() override final
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