ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileRecAlgs
src
TileRawChannelToHit.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 : TileRawChannelToHit.h
7
// Author : Alexander Solodkov
8
// Created : Feb 2005
9
//
10
// DESCRIPTION
11
//
12
// Convert RawChannel amplitude to total energy (like in TileCell)
13
// but save it as TileHit
14
15
// Properties (JobOption Parameters):
16
//
17
// TileRawChannelContainer string Name of container with TileRawChannel to read
18
// TileHitContainer string Name of TileHitContainer to write
19
//
20
// BUGS:
21
//
22
// History:
23
// 15Feb05 Created from TileRawChannelToCell
24
//
25
//****************************************************************************
26
27
#ifndef TILERECALGS_TILERAWCHANNELTOHIT_H
28
#define TILERECALGS_TILERAWCHANNELTOHIT_H
29
30
// Tile includes
31
#include "
TileEvent/TileRawChannelContainer.h
"
32
#include "
TileSimEvent/TileHitVector.h
"
33
#include "
TileConditions/TileSamplingFraction.h
"
34
35
// Atlas includes
36
#include "
AthenaBaseComps/AthAlgorithm.h
"
37
#include "
StoreGate/ReadHandleKey.h
"
38
#include "
StoreGate/WriteHandleKey.h
"
39
#include "
StoreGate/ReadCondHandleKey.h
"
40
41
// Gaudi includes
42
#include "GaudiKernel/ToolHandle.h"
43
44
// C++ STL includes
45
#include <string>
46
47
// Avoid pushing dependencies into clients- just fwd declare the following:
48
49
class
TileID
;
50
class
TileHWID
;
51
class
TileHit
;
52
class
TileCablingService
;
53
class
TileCondToolEmscale
;
54
55
56
class
TileRawChannelToHit
:
public
AthAlgorithm
{
57
public
:
58
// Constructor
59
TileRawChannelToHit
(
const
std::string& name, ISvcLocator* pSvcLocator);
60
61
//Destructor
62
virtual
~TileRawChannelToHit
();
63
64
//Gaudi Hooks
65
StatusCode
initialize
();
66
StatusCode
execute
(
const
EventContext& ctx);
67
StatusCode
finalize
();
68
69
private
:
70
71
SG::ReadHandleKey<TileRawChannelContainer>
m_rawChannelContainerKey
{
this
,
"TileRawChannelContainer"
,
72
"TileRawChannelCnt"
,
73
"Input Tile raw channel container key"
};
74
75
SG::WriteHandleKey<TileHitVector>
m_hitVectorKey
{
this
,
"TileHitContainer"
,
76
"TileHitVec"
,
"Output Tile hit container key"
};
77
78
82
SG::ReadCondHandleKey<TileSamplingFraction>
m_samplingFractionKey
{
this
,
83
"TileSamplingFraction"
,
"TileSamplingFraction"
,
"Input Tile sampling fraction"
};
84
85
std::string
m_infoName
;
86
bool
m_useSamplFract
;
87
88
const
TileID
*
m_tileID
{
nullptr
};
89
const
TileHWID
*
m_tileHWID
{
nullptr
};
90
91
ToolHandle<TileCondToolEmscale>
m_tileToolEmscale
;
92
};
93
94
#endif
// TILERECALGS_TILERAWCHANNELTOHIT_H
AthAlgorithm.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.
TileHitVector.h
TileRawChannelContainer.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
TileCablingService
Definition
TileCablingService.h:23
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition
TileCondToolEmscale.h:58
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileHit
Definition
TileSimEvent/TileSimEvent/TileHit.h:30
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
TileRawChannelToHit::m_hitVectorKey
SG::WriteHandleKey< TileHitVector > m_hitVectorKey
Definition
TileRawChannelToHit.h:75
TileRawChannelToHit::~TileRawChannelToHit
virtual ~TileRawChannelToHit()
Definition
TileRawChannelToHit.cxx:55
TileRawChannelToHit::m_infoName
std::string m_infoName
Definition
TileRawChannelToHit.h:85
TileRawChannelToHit::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileRawChannelToHit.h:89
TileRawChannelToHit::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition
TileRawChannelToHit.h:71
TileRawChannelToHit::finalize
StatusCode finalize()
Definition
TileRawChannelToHit.cxx:215
TileRawChannelToHit::m_useSamplFract
bool m_useSamplFract
Definition
TileRawChannelToHit.h:86
TileRawChannelToHit::m_samplingFractionKey
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
Definition
TileRawChannelToHit.h:82
TileRawChannelToHit::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
Definition
TileRawChannelToHit.h:91
TileRawChannelToHit::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileRawChannelToHit.cxx:91
TileRawChannelToHit::initialize
StatusCode initialize()
Definition
TileRawChannelToHit.cxx:62
TileRawChannelToHit::TileRawChannelToHit
TileRawChannelToHit(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileRawChannelToHit.cxx:46
TileRawChannelToHit::m_tileID
const TileID * m_tileID
Definition
TileRawChannelToHit.h:88
Generated on
for ATLAS Offline Software by
1.17.0