ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSimAlgs
TileSimAlgs
TileHitToCell.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
//****************************************************************************
6
// Filename : TileHitToCell.h
7
// Author : UC-ATLAS TileCal group
8
// Created : April 2002
9
//
10
//****************************************************************************
11
12
#ifndef TILESIMALGS_TILEHITTOCELL_H
13
#define TILESIMALGS_TILEHITTOCELL_H
14
15
// Tile includes
16
#include "
TileEvent/TileHitContainer.h
"
17
#include "
TileConditions/TileSamplingFraction.h
"
18
19
// Calo includes
20
#include "
CaloEvent/CaloCellContainer.h
"
21
22
// Atlas includes
23
#include "
AthenaBaseComps/AthAlgorithm.h
"
24
#include "
StoreGate/ReadHandleKey.h
"
25
#include "
StoreGate/WriteHandleKey.h
"
26
#include "
StoreGate/ReadCondHandleKey.h
"
27
28
#include <string>
29
30
class
TileID
;
31
class
TileDetDescrManager
;
32
33
53
54
class
TileHitToCell
:
public
AthAlgorithm
{
55
public
:
56
57
TileHitToCell
(
const
std::string& name, ISvcLocator* pSvcLocator);
58
59
virtual
~TileHitToCell
();
60
61
virtual
StatusCode
initialize
()
override
;
62
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
63
virtual
StatusCode
finalize
()
override
;
64
65
private
:
66
67
SG::ReadHandleKey<TileHitContainer>
m_hitContainerKey
{
this
,
"TileHitContainer"
,
"TileHitContainer"
,
68
"input Tile hit container key"
};
69
70
SG::WriteHandleKey<CaloCellContainer>
m_cellContainerKey
{
this
,
"TileCellContainer"
,
71
"TileCellContainer"
,
72
"Output Tile cell container key"
};
73
77
SG::ReadCondHandleKey<TileSamplingFraction>
m_samplingFractionKey
{
this
,
78
"TileSamplingFraction"
,
"TileSamplingFraction"
,
"Input Tile sampling fraction"
};
79
80
const
TileID
*
m_tileID
{
nullptr
};
81
const
TileHWID
*
m_tileHWID
{
nullptr
};
82
const
TileDetDescrManager
*
m_tileMgr
{
nullptr
};
83
};
84
85
#endif
// TILESIMALGS_TILEHITTOCELL_H
AthAlgorithm.h
CaloCellContainer.h
ReadCondHandleKey.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.
TileHitContainer.h
TileSamplingFraction.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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
TileDetDescrManager
Definition
TileDetDescrManager.h:33
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileHitToCell::m_tileHWID
const TileHWID * m_tileHWID
Pointer to TileHWID helper.
Definition
TileHitToCell.h:81
TileHitToCell::m_cellContainerKey
SG::WriteHandleKey< CaloCellContainer > m_cellContainerKey
Definition
TileHitToCell.h:70
TileHitToCell::~TileHitToCell
virtual ~TileHitToCell()
Destructor.
Definition
TileHitToCell.cxx:44
TileHitToCell::execute
virtual StatusCode execute(const EventContext &ctx) override
execute method
Definition
TileHitToCell.cxx:73
TileHitToCell::finalize
virtual StatusCode finalize() override
finalize method
Definition
TileHitToCell.cxx:178
TileHitToCell::initialize
virtual StatusCode initialize() override
initialize method
Definition
TileHitToCell.cxx:50
TileHitToCell::m_hitContainerKey
SG::ReadHandleKey< TileHitContainer > m_hitContainerKey
Definition
TileHitToCell.h:67
TileHitToCell::m_tileID
const TileID * m_tileID
Pointer to TileID helper.
Definition
TileHitToCell.h:80
TileHitToCell::TileHitToCell
TileHitToCell(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
TileHitToCell.cxx:39
TileHitToCell::m_samplingFractionKey
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
Definition
TileHitToCell.h:77
TileHitToCell::m_tileMgr
const TileDetDescrManager * m_tileMgr
Pointer to TileDetDescrManager.
Definition
TileHitToCell.h:82
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
Generated on
for ATLAS Offline Software by
1.17.0