ATLAS Offline Software
Loading...
Searching...
No Matches
TGCSDOVariables.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_TGCSDOVARIABLES_H
6#define MUONPRDTEST_TGCSDOVARIABLES_H
7
10namespace MuonPRDTest{
12 public:
13 TgcSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
14
15 ~TgcSDOVariables() = default;
16
17 bool fill(const EventContext& ctx) override final;
18
19 bool declare_keys() override final;
20
21 private:
22 SG::ReadHandleKey<MuonSimDataCollection> m_key{};
23
28 VectorBranch<float>& m_tgc_sdo_globaltime{parent().newVector<float>("SDO_TGC_global_time")};
29
33 };
34};
35#endif // TGCSDOVARIABLES_H
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ThreeVectorBranch m_TGC_dig_globalPos
VectorBranch< float > & m_tgc_sdo_localPosY
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_tgc_nsdo
bool declare_keys() override final
VectorBranch< int > & m_tgc_sdo_word
VectorBranch< int > & m_tgc_sdo_barcode
SG::ReadHandleKey< MuonSimDataCollection > m_key
VectorBranch< float > & m_tgc_sdo_localPosX
TgcIdentifierBranch m_tgc_sdo_id
TgcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< float > & m_tgc_sdo_globaltime
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.
Forward declaration.
#define private