ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelToTTL1.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 : TileRawChannelToTTL1.h
7// Author : Pedro Amaral, based on TileHitToTTL1
8// Created : Feb 2005
9//
10// DESCRIPTION
11//
12// Creates TileTTL1 Digits from TileRawChannel
13//
14// Properties (JobOption Parameters):
15//
16// TileRawChannelContainer string Name of container with TileRawChannel to read
17// TileTTL1Container string Name of container with TileTTL1Digits to write
18// TileInfoName string Name of object in TDS with all parameters
19//
20// BUGS:
21//
22// History:
23//
24//
25//****************************************************************************
26
27#ifndef TILERECALGS_TILERAWCHANNELTOTTL1_H
28#define TILERECALGS_TILERAWCHANNELTOTTL1_H
29
30// Tile includes
31//#include "TileEvent/TileRawChannelContainer.h"
35
36// Atlas includes
40
41// Gaudi includes
42#include "GaudiKernel/ToolHandle.h"
43
44
45class TileID;
46class TileHWID;
47class TileInfo;
48class CaloLVL1_ID;
51
52#include <string>
53
55 public:
56 // Constructor
57 TileRawChannelToTTL1(const std::string& name, ISvcLocator* pSvcLocator);
58
59 //Destructor
60 virtual ~TileRawChannelToTTL1();
61
62 //Gaudi Hooks
63 StatusCode initialize();
64 StatusCode execute(const EventContext& ctx);
65 StatusCode finalize();
66
67 private:
68
70 "TileRawChannelCnt",
71 "Input Tile raw channel container key"};
72
74 "TileTTL1Container","Output Tile TTL1 container key"};
75
76 Gaudi::Property<std::string> m_infoName{this, "TileInfoName", "TileInfo", "Name of TileInfo object in TES"};
77 // true by default, so only gets ttl1 shape once at initialization, with phase=0 for all towers.
78 Gaudi::Property<bool> m_constantTTL1shape{this, "TileConstantTTL1Shape", true, "Use constant TTL1 shape (phase=0 for all towers)"};
79
80 const TileID* m_tileID{nullptr};
81 const TileHWID* m_tileHWID{nullptr};
82 const TileInfo* m_tileInfo{nullptr};
83 const CaloLVL1_ID* m_TT_ID{nullptr};
84
85 std::vector<double> m_TTL1Shape;
86 double m_phase{0};
87 int m_nSamp{0};
88 int m_iTrig{0};
89
90 ToolHandle<ITileBadChanTool> m_tileBadChanTool{this, "TileBadChanTool",
91 "TileBadChanTool", "Tile bad channel tool"};
92 ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this, "TileCondToolEmscale",
93 "TileCondToolEmscale", "Tile EM scale calibration tool"};
94};
95
96#endif // TILERECALGS_TILERAWCHANNELTOTTL1_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.
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
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.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
std::vector< double > m_TTL1Shape
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Tile Bad Channel tool.
const TileInfo * m_tileInfo
StatusCode execute(const EventContext &ctx)
Execute method.
Gaudi::Property< bool > m_constantTTL1shape
const TileHWID * m_tileHWID
TileRawChannelToTTL1(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< TileTTL1Container > m_ttl1ContainerKey
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
const CaloLVL1_ID * m_TT_ID
Gaudi::Property< std::string > m_infoName