ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
MuonPRDTest
TGCRDOVariables.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MuonPRDTEST_TGCRDOVARIABLES_H
6
#define MuonPRDTEST_TGCRDOVARIABLES_H
7
8
#include "
MuonPRDTest/PrdTesterModule.h
"
9
#include "
MuonRDO/TgcRdoContainer.h
"
10
#include "
MuonTGC_Cabling/TgcCablingMap.h
"
11
12
namespace
MuonPRDTest
{
13
class
TGCRDOVariables
:
public
PrdTesterModule
{
14
public
:
15
TGCRDOVariables
(
MuonTesterTree
&
tree
,
16
const
std::string& container_name,
17
const
std::string& cabling,
18
MSG::Level msglvl);
19
20
~TGCRDOVariables
() =
default
;
21
22
bool
fill
(
const
EventContext& ctx)
override
final
;
23
24
bool
declare_keys
() override final;
25
26
private
:
27
SG
::ReadHandleKey<
TgcRdoContainer
>
m_key
{};
28
SG::ReadCondHandleKey<Muon::TgcCablingMap>
m_tgcCablingKey
;
29
ScalarBranch<unsigned int>
&
m_TGC_nRDO
{
parent
().
newScalar
<
unsigned
int
>(
"N_RDO_TGC"
)};
30
VectorBranch<float>
&
m_TGC_rdo_localPosX
{
parent
().
newVector
<
float
>(
"RDO_TGC_localPosX"
)};
31
VectorBranch<float>
&
m_TGC_rdo_localPosY
{
parent
().
newVector
<
float
>(
"RDO_TGC_localPosY"
)};
32
ThreeVectorBranch
m_TGC_rdo_globalPos
{
parent
(),
"RDO_TGC_globalPos"
};
33
TgcIdentifierBranch
m_TGC_rdo_id
{
parent
(),
"RDO_TGC"
};
34
};
35
};
36
37
#endif
// MuonPRDTEST_TGCRDOVARIABLES_H
PrdTesterModule.h
TgcCablingMap.h
TgcRdoContainer.h
MuonPRDTest::PrdTesterModule::PrdTesterModule
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Definition
PrdTesterModule.cxx:8
MuonPRDTest::TGCRDOVariables::m_key
SG::ReadHandleKey< TgcRdoContainer > m_key
Definition
TGCRDOVariables.h:27
MuonPRDTest::TGCRDOVariables::m_TGC_rdo_globalPos
ThreeVectorBranch m_TGC_rdo_globalPos
Definition
TGCRDOVariables.h:32
MuonPRDTest::TGCRDOVariables::m_tgcCablingKey
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_tgcCablingKey
Definition
TGCRDOVariables.h:28
MuonPRDTest::TGCRDOVariables::m_TGC_rdo_localPosX
VectorBranch< float > & m_TGC_rdo_localPosX
Definition
TGCRDOVariables.h:30
MuonPRDTest::TGCRDOVariables::declare_keys
bool declare_keys() override final
Definition
TGCRDOVariables.cxx:20
MuonPRDTest::TGCRDOVariables::fill
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...
Definition
TGCRDOVariables.cxx:25
MuonPRDTest::TGCRDOVariables::TGCRDOVariables
TGCRDOVariables(MuonTesterTree &tree, const std::string &container_name, const std::string &cabling, MSG::Level msglvl)
Definition
TGCRDOVariables.cxx:13
MuonPRDTest::TGCRDOVariables::m_TGC_rdo_localPosY
VectorBranch< float > & m_TGC_rdo_localPosY
Definition
TGCRDOVariables.h:31
MuonPRDTest::TGCRDOVariables::m_TGC_nRDO
ScalarBranch< unsigned int > & m_TGC_nRDO
Definition
TGCRDOVariables.h:29
MuonPRDTest::TGCRDOVariables::m_TGC_rdo_id
TgcIdentifierBranch m_TGC_rdo_id
Definition
TGCRDOVariables.h:33
MuonPRDTest::TGCRDOVariables::~TGCRDOVariables
~TGCRDOVariables()=default
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition
MuonTesterBranch.cxx:38
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition
MuonTesterBranch.cxx:53
MuonVal::MuonTesterTree
Definition
MuonTesterTree.h:38
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonVal::ScalarBranch
Definition
ScalarBranch.h:12
MuonVal::TgcIdentifierBranch
Branch to store all information of the TgcIdentifier.
Definition
IdentifierBranch.h:83
MuonVal::ThreeVectorBranch
Definition
ThreeVectorBranch.h:14
MuonVal::VectorBranch
Definition
VectorBranch.h:14
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TgcRdoContainer
Definition
TgcRdoContainer.h:25
MuonPRDTest
Definition
MuonHitTesterAlg.h:15
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0