ATLAS Offline Software
Loading...
Searching...
No Matches
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
34
35// Atlas includes
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
49class TileID;
50class TileHWID;
51class TileHit;
54
55
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();
67 StatusCode finalize();
68
69 private:
70
72 "TileRawChannelCnt",
73 "Input Tile raw channel container key"};
74
76 "TileHitVec","Output Tile hit container key"};
77
78
83 "TileSamplingFraction", "TileSamplingFraction", "Input Tile sampling fraction"};
84
85 std::string m_infoName;
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Calibration of TileCal channels and access to calibration factors.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
SG::WriteHandleKey< TileHitVector > m_hitVectorKey
const TileHWID * m_tileHWID
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
TileRawChannelToHit(const std::string &name, ISvcLocator *pSvcLocator)