ATLAS Offline Software
Loading...
Searching...
No Matches
CSCSDOVariables.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_CSCSDOVARIABLES_H
6#define MUONPRDTEST_CSCSDOVARIABLES_H
7
10namespace MuonPRDTest{
12 public:
13 CscSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
14
15 ~CscSDOVariables() = default;
16
17 bool fill(const EventContext& ctx) override final;
18
19 bool declare_keys() override final;
20
21 private:
22 SG::ReadHandleKey<CscSimDataCollection> m_key{};
23
29
33 };
34};
35#endif // CSCSDOVARIABLES_H
CscIdentifierBranch m_csc_sdo_id
ScalarBranch< unsigned int > & m_csc_nsdo
VectorBranch< int > & m_csc_sdo_word
VectorBranch< float > & m_csc_sdo_localPosY
CscSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
ThreeVectorBranch m_CSC_dig_globalPos
bool declare_keys() override final
VectorBranch< int > & m_csc_sdo_barcode
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< double > & m_csc_sdo_charge
VectorBranch< float > & m_csc_sdo_localPosX
SG::ReadHandleKey< CscSimDataCollection > m_key
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the CscIdentifier.
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