ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
MuonPRDTest
TGCDigitVariables.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_TGCDigitVARIABLES_H
6
#define MuonPRDTEST_TGCDigitVARIABLES_H
7
8
#include "
MuonDigitContainer/TgcDigitContainer.h
"
9
#include "
MuonPRDTest/PrdTesterModule.h
"
10
#include "
MuonTesterTree/TwoVectorBranch.h
"
11
namespace
MuonPRDTest
{
12
class
TgcDigitVariables
:
public
PrdTesterModule
{
13
public
:
14
TgcDigitVariables
(
MuonTesterTree
&
tree
,
const
std::string& container_name, MSG::Level msglvl);
15
16
~TgcDigitVariables
() =
default
;
17
18
bool
fill
(
const
EventContext& ctx)
override
final
;
19
20
bool
declare_keys
() override final;
21
22
private
:
23
SG
::ReadHandleKey<
TgcDigitContainer
>
m_key
{};
24
ScalarBranch<unsigned int>
&
m_TGC_nDigits
{
parent
().
newScalar
<
unsigned
int
>(
"N_Digits_TGC"
)};
25
ThreeVectorBranch
m_TGC_dig_globalPos
{
parent
(),
"Digits_TGC_globalPos"
};
26
TwoVectorBranch
m_TGC_dig_localPos
{
parent
(),
"Digits_TGC_localPos"
};
27
VectorBranch<uint8_t>
&
m_TGC_dig_bcId
{
parent
().
newVector
<uint8_t>(
"Digits_TGC_bcId"
)};
28
TgcIdentifierBranch
m_TGC_dig_id
{
parent
(),
"Digits_TGC"
};
29
};
30
};
31
32
#endif
// MuonPRDTEST_TGCDigitVARIABLES_H
PrdTesterModule.h
TgcDigitContainer.h
TwoVectorBranch.h
MuonPRDTest::PrdTesterModule::PrdTesterModule
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Definition
PrdTesterModule.cxx:8
MuonPRDTest::TgcDigitVariables::~TgcDigitVariables
~TgcDigitVariables()=default
MuonPRDTest::TgcDigitVariables::m_TGC_dig_globalPos
ThreeVectorBranch m_TGC_dig_globalPos
Definition
TGCDigitVariables.h:25
MuonPRDTest::TgcDigitVariables::TgcDigitVariables
TgcDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition
TGCDigitVariables.cxx:9
MuonPRDTest::TgcDigitVariables::m_TGC_nDigits
ScalarBranch< unsigned int > & m_TGC_nDigits
Definition
TGCDigitVariables.h:24
MuonPRDTest::TgcDigitVariables::m_TGC_dig_id
TgcIdentifierBranch m_TGC_dig_id
Definition
TGCDigitVariables.h:28
MuonPRDTest::TgcDigitVariables::m_TGC_dig_localPos
TwoVectorBranch m_TGC_dig_localPos
Definition
TGCDigitVariables.h:26
MuonPRDTest::TgcDigitVariables::m_TGC_dig_bcId
VectorBranch< uint8_t > & m_TGC_dig_bcId
Definition
TGCDigitVariables.h:27
MuonPRDTest::TgcDigitVariables::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
TGCDigitVariables.cxx:12
MuonPRDTest::TgcDigitVariables::declare_keys
bool declare_keys() override final
Definition
TGCDigitVariables.cxx:56
MuonPRDTest::TgcDigitVariables::m_key
SG::ReadHandleKey< TgcDigitContainer > m_key
Definition
TGCDigitVariables.h:23
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
TgcDigitContainer
Use IdentifiableContainer with TgcDigitCollection.
Definition
TgcDigitContainer.h:53
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