ATLAS Offline Software
Loading...
Searching...
No Matches
CSCPRDVariables.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_CSCPRDVARIABLES_H
6#define MuonPRDTEST_CSCPRDVARIABLES_H
7
10
11namespace MuonPRDTest{
13 public:
14 CSCPRDVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15
16 ~CSCPRDVariables() = default;
17
18 bool fill(const EventContext& ctx) override final;
19
20 bool declare_keys() override final;
21
22 private:
23 SG::ReadHandleKey<Muon::CscPrepDataContainer> m_key{};
24 ScalarBranch<unsigned int>& m_CSC_nPRD{parent().newScalar<unsigned int>("N_PRD_CSC")};
31 };
32};
33
34#endif // MuonPRDTEST_CSCPRDVARIABLES_H
MuonPrepDataContainerT< CscPrepData > CscPrepDataContainer
VectorBranch< int > & m_CSC_PRD_time
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_key
CSCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< float > & m_CSC_PRD_localPosY
ScalarBranch< unsigned int > & m_CSC_nPRD
bool declare_keys() override final
ThreeVectorBranch m_CSC_PRD_globalPos
VectorBranch< int > & m_CSC_PRD_charge
CscIdentifierBranch m_CSC_PRD_id
VectorBranch< float > & m_CSC_PRD_localPosX
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...
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)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Forward declaration.
#define private