ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTileCal
src
MbtsToVectorsTool.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// MbtsToVectorsTool.h
8
// Header file for class MBTSToVectors
10
#ifndef DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H
11
#define DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H 1
12
13
#include "
TileEvent/TileContainer.h
"
14
15
// FrameWork includes
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
StoreGate/ReadHandleKey.h
"
18
#include "
StoreGate/WriteHandleKey.h
"
19
20
// PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces includes
21
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
22
23
// STL includes
24
#include <string>
25
26
// Forward declaration
27
class
TileTBID
;
28
29
namespace
DerivationFramework
{
30
31
class
MbtsToVectorsTool
:
public
extends<AthAlgTool, IAugmentationTool>
32
{
33
34
public
:
35
36
using
base_class::base_class;
37
38
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
39
virtual
StatusCode
initialize
()
override
final
;
40
41
private
:
42
43
Gaudi::Property<bool>
m_saveEtaPhi
{
this
,
"SaveEtaPhiInfo"
,
true
};
44
45
SG::ReadHandleKey<TileCellContainer>
m_cellContainerKey
{
this
,
"CellContainer"
,
"MBTSContainer"
};
46
47
SG::WriteHandleKey<std::vector<float>
>
m_energyKey
{
this
,
"Energy"
,
"energy"
};
48
SG::WriteHandleKey<std::vector<float>
>
m_timeKey
{
this
,
"Time"
,
"time"
};
49
SG::WriteHandleKey<std::vector<float>
>
m_etaKey
{
this
,
"Eta"
,
"eta"
};
50
SG::WriteHandleKey<std::vector<float>
>
m_phiKey
{
this
,
"Phi"
,
"phi"
};
51
SG::WriteHandleKey<std::vector<int>
>
m_qualityKey
{
this
,
"Quality"
,
"quality"
};
52
SG::WriteHandleKey<std::vector<int>
>
m_typeKey
{
this
,
"Type"
,
"type"
};
53
SG::WriteHandleKey<std::vector<int>
>
m_moduleKey
{
this
,
"Module"
,
"module"
};
54
SG::WriteHandleKey<std::vector<int>
>
m_channelKey
{
this
,
"Channel"
,
"channel"
};
55
56
const
TileTBID
*
m_tileTBID
{};
57
58
static
const
unsigned
int
MAX_MBTS_COUNTER
{32};
59
};
60
61
}
62
63
64
#endif
//> !DERIVATIONFRAMEWORK_DERIVATIONFRAMEWORKTILECAL_MBTSTOVECTORSTOOL_H
AthAlgTool.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TileContainer.h
DerivationFramework::MbtsToVectorsTool
Definition
MbtsToVectorsTool.h:32
DerivationFramework::MbtsToVectorsTool::m_typeKey
SG::WriteHandleKey< std::vector< int > > m_typeKey
Definition
MbtsToVectorsTool.h:52
DerivationFramework::MbtsToVectorsTool::m_moduleKey
SG::WriteHandleKey< std::vector< int > > m_moduleKey
Definition
MbtsToVectorsTool.h:53
DerivationFramework::MbtsToVectorsTool::m_qualityKey
SG::WriteHandleKey< std::vector< int > > m_qualityKey
Definition
MbtsToVectorsTool.h:51
DerivationFramework::MbtsToVectorsTool::m_etaKey
SG::WriteHandleKey< std::vector< float > > m_etaKey
Definition
MbtsToVectorsTool.h:49
DerivationFramework::MbtsToVectorsTool::m_cellContainerKey
SG::ReadHandleKey< TileCellContainer > m_cellContainerKey
Definition
MbtsToVectorsTool.h:45
DerivationFramework::MbtsToVectorsTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
MbtsToVectorsTool.cxx:43
DerivationFramework::MbtsToVectorsTool::initialize
virtual StatusCode initialize() override final
Definition
MbtsToVectorsTool.cxx:25
DerivationFramework::MbtsToVectorsTool::m_energyKey
SG::WriteHandleKey< std::vector< float > > m_energyKey
Definition
MbtsToVectorsTool.h:47
DerivationFramework::MbtsToVectorsTool::m_phiKey
SG::WriteHandleKey< std::vector< float > > m_phiKey
Definition
MbtsToVectorsTool.h:50
DerivationFramework::MbtsToVectorsTool::m_channelKey
SG::WriteHandleKey< std::vector< int > > m_channelKey
Definition
MbtsToVectorsTool.h:54
DerivationFramework::MbtsToVectorsTool::m_saveEtaPhi
Gaudi::Property< bool > m_saveEtaPhi
Definition
MbtsToVectorsTool.h:43
DerivationFramework::MbtsToVectorsTool::m_timeKey
SG::WriteHandleKey< std::vector< float > > m_timeKey
Definition
MbtsToVectorsTool.h:48
DerivationFramework::MbtsToVectorsTool::MAX_MBTS_COUNTER
static const unsigned int MAX_MBTS_COUNTER
Definition
MbtsToVectorsTool.h:58
DerivationFramework::MbtsToVectorsTool::m_tileTBID
const TileTBID * m_tileTBID
Definition
MbtsToVectorsTool.h:56
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition
Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0