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-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"
32
#include "
TileEvent/TileTTL1Container.h
"
33
34
// Atlas includes
35
#include "
AthenaBaseComps/AthAlgorithm.h
"
36
#include "
StoreGate/ReadHandleKey.h
"
37
#include "
StoreGate/WriteHandleKey.h
"
38
39
// Gaudi includes
40
#include "GaudiKernel/ToolHandle.h"
41
42
43
class
TileID
;
44
class
TileHWID
;
45
class
TileInfo
;
46
class
CaloLVL1_ID
;
47
class
TileCablingService
;
48
class
ITileBadChanTool
;
49
class
TileCondToolEmscale
;
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
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
79
const
TileID
*
m_tileID
;
80
const
TileHWID
*
m_tileHWID
;
81
const
TileInfo
*
m_tileInfo
;
82
const
CaloLVL1_ID
*
m_TT_ID
;
83
84
std::vector<double>
m_TTL1Shape
;
85
double
m_phase
;
86
int
m_nSamp
;
87
int
m_iTrig
;
88
89
ToolHandle<ITileBadChanTool>
m_tileBadChanTool
;
90
ToolHandle<TileCondToolEmscale>
m_tileToolEmscale
;
91
};
92
93
#endif
// TILERECALGS_TILERAWCHANNELTOTTL1_H
AthAlgorithm.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.
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
ITileBadChanTool
An abstract inteface to get Tile channel and ADC status.
Definition
ITileBadChanTool.h:21
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
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition
TileCondToolEmscale.h:58
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:84
TileRawChannelToTTL1::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Tile Bad Channel tool.
Definition
TileRawChannelToTTL1.h:89
TileRawChannelToTTL1::m_tileInfo
const TileInfo * m_tileInfo
Definition
TileRawChannelToTTL1.h:81
TileRawChannelToTTL1::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileRawChannelToTTL1.cxx:128
TileRawChannelToTTL1::m_nSamp
int m_nSamp
Definition
TileRawChannelToTTL1.h:86
TileRawChannelToTTL1::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileRawChannelToTTL1.h:80
TileRawChannelToTTL1::TileRawChannelToTTL1
TileRawChannelToTTL1(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileRawChannelToTTL1.cxx:64
TileRawChannelToTTL1::m_constantTTL1shape
bool m_constantTTL1shape
Definition
TileRawChannelToTTL1.h:77
TileRawChannelToTTL1::m_tileID
const TileID * m_tileID
Definition
TileRawChannelToTTL1.h:79
TileRawChannelToTTL1::initialize
StatusCode initialize()
Definition
TileRawChannelToTTL1.cxx:88
TileRawChannelToTTL1::m_ttl1ContainerKey
SG::WriteHandleKey< TileTTL1Container > m_ttl1ContainerKey
Definition
TileRawChannelToTTL1.h:73
TileRawChannelToTTL1::~TileRawChannelToTTL1
virtual ~TileRawChannelToTTL1()
Definition
TileRawChannelToTTL1.cxx:82
TileRawChannelToTTL1::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
Definition
TileRawChannelToTTL1.h:90
TileRawChannelToTTL1::m_infoName
std::string m_infoName
Definition
TileRawChannelToTTL1.h:76
TileRawChannelToTTL1::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition
TileRawChannelToTTL1.h:69
TileRawChannelToTTL1::m_iTrig
int m_iTrig
Definition
TileRawChannelToTTL1.h:87
TileRawChannelToTTL1::m_TT_ID
const CaloLVL1_ID * m_TT_ID
Definition
TileRawChannelToTTL1.h:82
TileRawChannelToTTL1::m_phase
double m_phase
Definition
TileRawChannelToTTL1.h:85
TileRawChannelToTTL1::finalize
StatusCode finalize()
Definition
TileRawChannelToTTL1.cxx:406
Generated on
for ATLAS Offline Software by
1.17.0