ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileRecAlgs
src
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"
32
#include "
TileEvent/TileTTL1Container.h
"
33
#include "
TileConditions/ITileBadChanTool.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
41
// Gaudi includes
42
#include "GaudiKernel/ToolHandle.h"
43
44
45
class
TileID
;
46
class
TileHWID
;
47
class
TileInfo
;
48
class
CaloLVL1_ID
;
49
class
TileCablingService
;
50
class
TileRawChannelContainer
;
51
52
#include <string>
53
54
class
TileRawChannelToTTL1
:
public
AthAlgorithm
{
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
69
SG::ReadHandleKey<TileRawChannelContainer>
m_rawChannelContainerKey
{
this
,
"TileRawChannelContainer"
,
70
"TileRawChannelCnt"
,
71
"Input Tile raw channel container key"
};
72
73
SG::WriteHandleKey<TileTTL1Container>
m_ttl1ContainerKey
{
this
,
"TileTTL1Container"
,
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
AthAlgorithm.h
ITileBadChanTool.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
TileTTL1Container.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition
CaloLVL1_ID.h:66
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
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
TileInfo
Definition
TileInfo.h:49
TileRawChannelContainer
Definition
TileRawChannelContainer.h:13
TileRawChannelToTTL1::m_TTL1Shape
std::vector< double > m_TTL1Shape
Definition
TileRawChannelToTTL1.h:85
TileRawChannelToTTL1::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Tile Bad Channel tool.
Definition
TileRawChannelToTTL1.h:90
TileRawChannelToTTL1::m_tileInfo
const TileInfo * m_tileInfo
Definition
TileRawChannelToTTL1.h:82
TileRawChannelToTTL1::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileRawChannelToTTL1.cxx:113
TileRawChannelToTTL1::m_nSamp
int m_nSamp
Definition
TileRawChannelToTTL1.h:87
TileRawChannelToTTL1::m_constantTTL1shape
Gaudi::Property< bool > m_constantTTL1shape
Definition
TileRawChannelToTTL1.h:78
TileRawChannelToTTL1::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileRawChannelToTTL1.h:81
TileRawChannelToTTL1::TileRawChannelToTTL1
TileRawChannelToTTL1(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileRawChannelToTTL1.cxx:62
TileRawChannelToTTL1::m_tileID
const TileID * m_tileID
Definition
TileRawChannelToTTL1.h:80
TileRawChannelToTTL1::initialize
StatusCode initialize()
Definition
TileRawChannelToTTL1.cxx:73
TileRawChannelToTTL1::m_ttl1ContainerKey
SG::WriteHandleKey< TileTTL1Container > m_ttl1ContainerKey
Definition
TileRawChannelToTTL1.h:73
TileRawChannelToTTL1::~TileRawChannelToTTL1
virtual ~TileRawChannelToTTL1()
Definition
TileRawChannelToTTL1.cxx:67
TileRawChannelToTTL1::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
Definition
TileRawChannelToTTL1.h:92
TileRawChannelToTTL1::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition
TileRawChannelToTTL1.h:69
TileRawChannelToTTL1::m_iTrig
int m_iTrig
Definition
TileRawChannelToTTL1.h:88
TileRawChannelToTTL1::m_TT_ID
const CaloLVL1_ID * m_TT_ID
Definition
TileRawChannelToTTL1.h:83
TileRawChannelToTTL1::m_phase
double m_phase
Definition
TileRawChannelToTTL1.h:86
TileRawChannelToTTL1::finalize
StatusCode finalize()
Definition
TileRawChannelToTTL1.cxx:391
TileRawChannelToTTL1::m_infoName
Gaudi::Property< std::string > m_infoName
Definition
TileRawChannelToTTL1.h:76
Generated on
for ATLAS Offline Software by
1.17.0