ATLAS Offline Software
Loading...
Searching...
No Matches
MMDigitVariables.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_MMDigitVARIABLES_H
6#define MuonPRDTEST_MMDigitVARIABLES_H
7
11
12namespace MuonPRDTest{
14 public:
15 MMDigitVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
16
17 ~MMDigitVariables() = default;
18
19 bool fill(const EventContext& ctx) override final;
20
21 bool declare_keys() override final;
22
23 private:
24 SG::ReadHandleKey<MmDigitContainer> m_key{};
28 TwoVectorBranch m_NSWMM_dig_stripLpos{parent(), "Digits_MM_stripLpos"};
31 };
32};
33#endif // MuonPRDTEST_MMDigitVARIABLES_H
Use IdentifiableContainer with MmDigitCollection.
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...
ThreeVectorBranch m_NSWMM_dig_stripGpos
MmIdentifierBranch m_NSWMM_dig_id
ScalarBranch< unsigned int > & m_NSWMM_nDigits
VectorBranch< float > & m_NSWMM_dig_charge
VectorBranch< float > & m_NSWMM_dig_time
bool declare_keys() override final
MMDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
SG::ReadHandleKey< MmDigitContainer > m_key
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