ATLAS Offline Software
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 
49 class TileID;
50 class TileHWID;
51 class TileHit;
52 class TileCablingService;
54 
55 
57  public:
58  // Constructor
59  TileRawChannelToHit(const std::string& name, ISvcLocator* pSvcLocator);
60 
61  //Destructor
62  virtual ~TileRawChannelToHit();
63 
64  //Gaudi Hooks
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileRawChannelToHit::m_hitVectorKey
SG::WriteHandleKey< TileHitVector > m_hitVectorKey
Definition: TileRawChannelToHit.h:75
SG::ReadHandleKey< TileRawChannelContainer >
TileRawChannelToHit::~TileRawChannelToHit
virtual ~TileRawChannelToHit()
Definition: TileRawChannelToHit.cxx:55
TileRawChannelToHit::execute
StatusCode execute()
Definition: TileRawChannelToHit.cxx:91
AthAlgorithm.h
TileRawChannelContainer.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileRawChannelToHit::finalize
StatusCode finalize()
Definition: TileRawChannelToHit.cxx:215
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
TileRawChannelToHit::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
Definition: TileRawChannelToHit.h:91
TileRawChannelToHit::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition: TileRawChannelToHit.h:71
TileSamplingFraction.h
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileRawChannelToHit::TileRawChannelToHit
TileRawChannelToHit(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileRawChannelToHit.cxx:46
TileRawChannelToHit::m_useSamplFract
bool m_useSamplFract
Definition: TileRawChannelToHit.h:86
TileCablingService
Definition: TileCablingService.h:23
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TileHitVector.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileRawChannelToHit::m_tileID
const TileID * m_tileID
Definition: TileRawChannelToHit.h:88
TileRawChannelToHit::m_infoName
std::string m_infoName
Definition: TileRawChannelToHit.h:85
TileHit
Definition: TileSimEvent/TileSimEvent/TileHit.h:30
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition: TileCondToolEmscale.h:58
SG::ReadCondHandleKey< TileSamplingFraction >
TileRawChannelToHit::m_samplingFractionKey
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
Definition: TileRawChannelToHit.h:82
TileRawChannelToHit::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileRawChannelToHit.h:89
TileRawChannelToHit::initialize
StatusCode initialize()
Definition: TileRawChannelToHit.cxx:62
TileRawChannelToHit
Definition: TileRawChannelToHit.h:56