ATLAS Offline Software
Loading...
Searching...
No Matches
RPCSDOVariables.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONPRDTEST_RPCSDOVARIABLES_H
6#define MUONPRDTEST_RPCSDOVARIABLES_H
7
10
13
14namespace MuonPRDTest {
16 public:
17 RpcSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
18
19 ~RpcSDOVariables() = default;
20
21 bool fill(const EventContext& ctx) override final;
22
23 bool declare_keys() override final;
24
25 private:
26 SG::ReadHandleKey<MuonSimDataCollection> m_key{};
27
32 VectorBranch<float>& m_rpc_sdo_globaltime{parent().newVector<float>("SDO_RPC_globalTime")};
33
36
37 };
38} // namespace MuonPRDTest
39#endif // RPCSDOVARIABLES_H
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ScalarBranch< unsigned int > & m_rpc_nsdo
RpcIdentifierBranch m_rpc_sdo_id
VectorBranch< float > & m_rpc_sdo_globaltime
VectorBranch< int > & m_rpc_sdo_word
VectorBranch< int > & m_rpc_sdo_barcode
bool declare_keys() override final
ThreeVectorBranch m_RPC_dig_globalPos
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...
RpcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
SG::ReadHandleKey< MuonSimDataCollection > m_key
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)
Forward declaration.
#define private