ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
MuonPRDTest
TGCPRDVariables.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_TGCPRDVARIABLES_H
6
#define MuonPRDTEST_TGCPRDVARIABLES_H
7
8
#include "
MuonPrepRawData/TgcPrepDataContainer.h
"
9
#include "
MuonPRDTest/PrdTesterModule.h
"
10
#include "
MuonTesterTree/TwoVectorBranch.h
"
11
12
namespace
MuonPRDTest
{
13
class
TGCPRDVariables
:
public
PrdTesterModule
{
14
public
:
15
TGCPRDVariables
(
MuonTesterTree
&
tree
,
const
std::string& container_name, MSG::Level msglvl);
16
17
~TGCPRDVariables
() =
default
;
18
19
bool
fill
(
const
EventContext& ctx)
override
final
;
20
21
bool
declare_keys
() override final;
22
23
private
:
24
SG
::ReadHandleKey<
Muon
::TgcPrepDataContainer>
m_key
{};
25
ScalarBranch<unsigned int>
&
m_TGC_nPRD
{
parent
().
newScalar
<
unsigned
int
>(
"N_PRD_TGC"
)};
26
27
ThreeVectorBranch
m_TGC_PRD_globalPos
{
parent
(),
"PRD_TGC_globalPos"
};
28
TwoVectorBranch
m_TGC_PRD_localPos
{
parent
(),
"PRD_TGC_localPos"
};
29
TgcIdentifierBranch
m_TGC_PRD_id
{
parent
(),
"PRD_TGC"
};
30
VectorBranch<uint8_t>
&
m_TGC_PRD_bcId
{
parent
().
newVector
<uint8_t>(
"PRD_TGC_bcId"
)};
31
VectorBranch<float>
&
m_TGC_PRD_error
{
parent
().
newVector
<
float
>(
"PRD_TGC_error"
)};
32
};
33
};
34
35
#endif
// MuonPRDTEST_TGCPRDVARIABLES_H
PrdTesterModule.h
TgcPrepDataContainer.h
TwoVectorBranch.h
MuonPRDTest::PrdTesterModule::PrdTesterModule
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Definition
PrdTesterModule.cxx:8
MuonPRDTest::TGCPRDVariables::m_TGC_PRD_globalPos
ThreeVectorBranch m_TGC_PRD_globalPos
Definition
TGCPRDVariables.h:27
MuonPRDTest::TGCPRDVariables::m_TGC_PRD_localPos
TwoVectorBranch m_TGC_PRD_localPos
Definition
TGCPRDVariables.h:28
MuonPRDTest::TGCPRDVariables::m_TGC_PRD_error
VectorBranch< float > & m_TGC_PRD_error
Definition
TGCPRDVariables.h:31
MuonPRDTest::TGCPRDVariables::declare_keys
bool declare_keys() override final
Definition
TGCPRDVariables.cxx:12
MuonPRDTest::TGCPRDVariables::m_TGC_nPRD
ScalarBranch< unsigned int > & m_TGC_nPRD
Definition
TGCPRDVariables.h:25
MuonPRDTest::TGCPRDVariables::TGCPRDVariables
TGCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition
TGCPRDVariables.cxx:10
MuonPRDTest::TGCPRDVariables::m_key
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_key
Definition
TGCPRDVariables.h:24
MuonPRDTest::TGCPRDVariables::m_TGC_PRD_id
TgcIdentifierBranch m_TGC_PRD_id
Definition
TGCPRDVariables.h:29
MuonPRDTest::TGCPRDVariables::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
TGCPRDVariables.cxx:14
MuonPRDTest::TGCPRDVariables::~TGCPRDVariables
~TGCPRDVariables()=default
MuonPRDTest::TGCPRDVariables::m_TGC_PRD_bcId
VectorBranch< uint8_t > & m_TGC_PRD_bcId
Definition
TGCPRDVariables.h:30
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::TwoVectorBranch
Definition
TwoVectorBranch.h:15
MuonVal::VectorBranch
Definition
VectorBranch.h:14
MuonPRDTest
Definition
MuonHitTesterAlg.h:15
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
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