ATLAS Offline Software
Loading...
Searching...
No Matches
sTGCSDOVariables.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_sTGCSDOVARIABLES_H
6#define MUONPRDTEST_sTGCSDOVARIABLES_H
7
10
11namespace MuonPRDTest{
13 public:
14 sTgcSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15
16 ~sTgcSDOVariables() = 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
36 };
37};
38
39#endif // sTGCSDOVARIABLES_H
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
sTgcIdentifierBranch m_NSWsTGC_sdo_id
bool declare_keys() override final
SG::ReadHandleKey< MuonSimDataCollection > m_key
ThreeVectorBranch m_NSWsTGC_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...
VectorBranch< float > & m_NSWsTGC_sdo_globaltime
ScalarBranch< unsigned int > & m_NSWsTGC_nsdo
VectorBranch< int > & m_NSWsTGC_sdo_word
VectorBranch< float > & m_NSWsTGC_sdo_tof
VectorBranch< float > & m_NSWsTGC_sdo_E
VectorBranch< float > & m_NSWsTGC_sdo_localPosX
sTgcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< int > & m_NSWsTGC_sdo_barcode
VectorBranch< float > & m_NSWsTGC_sdo_localPosY
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 sTgcIdentifier.
Forward declaration.
#define private