ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelToTTL1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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"
33
34// Atlas includes
38
39// Gaudi includes
40#include "GaudiKernel/ToolHandle.h"
41
42
43class TileID;
44class TileHWID;
45class TileInfo;
46class 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();
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 std::string m_infoName; // name of TileInfo object in TES
77 bool m_constantTTL1shape; // true by default, so only gets ttl1 shape once at initialization, with phase=0 for all towers.
78
83
84 std::vector<double> m_TTL1Shape;
85 double m_phase;
88
89 ToolHandle<ITileBadChanTool> m_tileBadChanTool;
90 ToolHandle<TileCondToolEmscale> m_tileToolEmscale;
91};
92
93#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 with parameters:
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
An abstract inteface to get Tile channel and ADC status.
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
std::vector< double > m_TTL1Shape
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Tile Bad Channel tool.
const TileInfo * m_tileInfo
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