ATLAS Offline Software
Loading...
Searching...
No Matches
MMSDOVariables.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_MMSDOVARIABLES_H
6#define MUONPRDTEST_MMSDOVARIABLES_H
7
10
11namespace MuonPRDTest{
13 public:
14 MMSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15
16 ~MMSDOVariables() = default;
17
18 bool fill(const EventContext& ctx) override final;
19
20 bool declare_keys() override final;
21
22 private:
23 SG::ReadHandleKey<MuonSimDataCollection> m_key{};
24
30
34 };
35};
36
37#endif // MMSDOVARIABLES_H
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...
ScalarBranch< unsigned int > & m_NSWMM_nsdo
VectorBranch< float > & m_NSWMM_sdo_localPosX
ThreeVectorBranch m_NSWMM_dig_globalPos
MmIdentifierBranch m_NSWMM_sdo_id
VectorBranch< int > & m_NSWMM_sdo_barcode
MMSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< float > & m_NSWMM_sdo_globaltime
bool declare_keys() override final
SG::ReadHandleKey< MuonSimDataCollection > m_key
VectorBranch< int > & m_NSWMM_sdo_word
VectorBranch< float > & m_NSWMM_sdo_localPosY
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the MmIdentifier.
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