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-2026 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
#include "
TileConditions/TileCondToolEmscale.h
"
35
36
// Atlas includes
37
#include "
AthenaBaseComps/AthAlgorithm.h
"
38
#include "
StoreGate/ReadHandleKey.h
"
39
#include "
StoreGate/WriteHandleKey.h
"
40
#include "
StoreGate/ReadCondHandleKey.h
"
41
42
// Gaudi includes
43
#include "GaudiKernel/ToolHandle.h"
44
45
// C++ STL includes
46
#include <string>
47
48
// Avoid pushing dependencies into clients- just fwd declare the following:
49
50
class
TileID
;
51
class
TileHWID
;
52
class
TileHit
;
53
class
TileCablingService
;
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
// if true energy in TileHit is the as it is coming from G4 simulation
87
// and by default it is equal to final - TileCell energy
88
Gaudi::Property<bool>
m_useSamplFract
{
this
,
"UseSamplFract"
,
false
,
"Take sampling fraction into account for TileHit energy"
};
89
90
const
TileID
*
m_tileID
{
nullptr
};
91
const
TileHWID
*
m_tileHWID
{
nullptr
};
92
93
ToolHandle<TileCondToolEmscale>
m_tileToolEmscale
{
this
,
"TileCondToolEmscale"
,
94
"TileCondToolEmscale"
,
"Tile EM scale calibration tool"
};
95
};
96
97
#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.
TileCondToolEmscale.h
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
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:50
TileRawChannelToHit::m_infoName
std::string m_infoName
Definition
TileRawChannelToHit.h:85
TileRawChannelToHit::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileRawChannelToHit.h:91
TileRawChannelToHit::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition
TileRawChannelToHit.h:71
TileRawChannelToHit::finalize
StatusCode finalize()
Definition
TileRawChannelToHit.cxx:210
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:93
TileRawChannelToHit::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileRawChannelToHit.cxx:86
TileRawChannelToHit::initialize
StatusCode initialize()
Definition
TileRawChannelToHit.cxx:57
TileRawChannelToHit::TileRawChannelToHit
TileRawChannelToHit(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileRawChannelToHit.cxx:45
TileRawChannelToHit::m_useSamplFract
Gaudi::Property< bool > m_useSamplFract
Definition
TileRawChannelToHit.h:88
TileRawChannelToHit::m_tileID
const TileID * m_tileID
Definition
TileRawChannelToHit.h:90
Generated on
for ATLAS Offline Software by
1.17.0