ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
MuonPRDTest
RPCPRDVariables.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_RPCPRDVARIABLES_H
6
#define MuonPRDTEST_RPCPRDVARIABLES_H
7
8
#include "
MuonPrepRawData/RpcPrepDataContainer.h
"
9
#include "
MuonPRDTest/PrdTesterModule.h
"
10
#include "
MuonTesterTree/TwoVectorBranch.h
"
11
12
namespace
MuonPRDTest
{
13
class
RPCPRDVariables
:
public
PrdTesterModule
{
14
public
:
15
RPCPRDVariables
(
MuonTesterTree
&
tree
,
const
std::string& container_name, MSG::Level msglvl);
16
17
~RPCPRDVariables
() =
default
;
18
19
bool
fill
(
const
EventContext& ctx)
override
final
;
20
21
bool
declare_keys
() override final;
22
23
private
:
24
SG
::ReadHandleKey<
Muon
::RpcPrepDataContainer>
m_key
{};
25
ScalarBranch<unsigned int>
&
m_RPC_nPRD
{
parent
().
newScalar
<
unsigned
int
>(
"N_PRD_RPC"
)};
26
ThreeVectorBranch
m_RPC_PRD_globalPos
{
parent
(),
"PRD_RPC_globalPos"
};
27
VectorBranch<double>
&
m_RPC_PRD_locX
{
parent
().
newVector
<
double
>(
"PRD_RPC_locX"
)};
28
RpcIdentifierBranch
m_RPC_PRD_id
{
parent
(),
"PRD_RPC"
};
29
VectorBranch<float>
&
m_RPC_PRD_error
{
parent
().
newVector
<
float
>(
"PRD_RPC_error"
)};
30
VectorBranch<float>
&
m_RPC_PRD_time
{
parent
().
newVector
<
float
>(
"PRD_RPC_time"
)};
31
};
32
};
33
34
#endif
// MuonPRDTEST_RPCPRDVARIABLES_H
PrdTesterModule.h
RpcPrepDataContainer.h
TwoVectorBranch.h
MuonPRDTest::PrdTesterModule::PrdTesterModule
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Definition
PrdTesterModule.cxx:8
MuonPRDTest::RPCPRDVariables::m_RPC_PRD_locX
VectorBranch< double > & m_RPC_PRD_locX
Definition
RPCPRDVariables.h:27
MuonPRDTest::RPCPRDVariables::m_RPC_PRD_time
VectorBranch< float > & m_RPC_PRD_time
Definition
RPCPRDVariables.h:30
MuonPRDTest::RPCPRDVariables::~RPCPRDVariables
~RPCPRDVariables()=default
MuonPRDTest::RPCPRDVariables::m_RPC_PRD_globalPos
ThreeVectorBranch m_RPC_PRD_globalPos
Definition
RPCPRDVariables.h:26
MuonPRDTest::RPCPRDVariables::RPCPRDVariables
RPCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition
RPCPRDVariables.cxx:12
MuonPRDTest::RPCPRDVariables::m_RPC_nPRD
ScalarBranch< unsigned int > & m_RPC_nPRD
Definition
RPCPRDVariables.h:25
MuonPRDTest::RPCPRDVariables::m_RPC_PRD_error
VectorBranch< float > & m_RPC_PRD_error
Definition
RPCPRDVariables.h:29
MuonPRDTest::RPCPRDVariables::m_key
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_key
Definition
RPCPRDVariables.h:24
MuonPRDTest::RPCPRDVariables::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
RPCPRDVariables.cxx:16
MuonPRDTest::RPCPRDVariables::m_RPC_PRD_id
RpcIdentifierBranch m_RPC_PRD_id
Definition
RPCPRDVariables.h:28
MuonPRDTest::RPCPRDVariables::declare_keys
bool declare_keys() override final
Definition
RPCPRDVariables.cxx:14
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::RpcIdentifierBranch
Definition
IdentifierBranch.h:53
MuonVal::ScalarBranch
Definition
ScalarBranch.h:12
MuonVal::ThreeVectorBranch
Definition
ThreeVectorBranch.h:14
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