ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloSim
src
TileTTL1Overlay.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// ================================================
8
// TileTTL1Overlay class description
9
// ================================================
10
//
11
// THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
12
//
13
//
14
// class: TileTTL1Overlay
15
//
16
// Description:
17
//
18
//The TileTTL1Overlay class takes calorimeter cells from the TES and
19
// forms Trigger Towers, which it then places back into the TES The calorimeter
20
// cells can be produced either by GEANT or other fast simulation packages
21
// - this is defined by setting a parameter
22
// CellType to 1 for CaloCells, 2 to reprocess TriggerTowers and 3 for LAr/Tile TTL1 input (a simulation of analogue towers);
23
//
24
// ................................................................
25
//
26
27
#ifndef TRIGT1CALOSIM_TILETTL1OVERLAY_H
28
#define TRIGT1CALOSIM_TILETTL1OVERLAY_H
29
30
// Athena/Gaudi
31
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
32
33
// Calorimeter tower includes
34
#include "
TileEvent/TileTTL1Container.h
"
35
36
// STL
37
#include <map>
38
#include <string>
39
#include <vector>
40
41
class
TileTTL1
;
42
class
Identifier
;
43
class
EventContext;
44
45
namespace
LVL1
46
{
47
48
class
TileTTL1Overlay
:
public
AthReentrantAlgorithm
49
{
50
public
:
51
TileTTL1Overlay
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
52
53
// main AthReentrantAlgorithm methods
54
virtual
StatusCode
initialize
()
override
final
;
55
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
56
57
private
:
58
// locations of background TTL1 data
59
SG::ReadHandleKey<TileTTL1Container>
m_bkgTileTTL1Key
{
this
,
"BkgTileTTL1Key"
,
"Bkg_TileTTL1Cnt"
,
"ReadHandleKey for Background Input TileTTL1Container"
};
60
SG::ReadHandleKey<TileTTL1Container>
m_bkgTileMBTSTTL1Key
{
this
,
"BkgTileMBTSTTL1Key"
,
"Bkg_TileTTL1MBTS"
,
"ReadHandleKey for Background Input MBTS TileTTL1Container"
};
61
// locations of signal TTL1 data
62
SG::ReadHandleKey<TileTTL1Container>
m_signalTileTTL1Key
{
this
,
"SignalTileTTL1Key"
,
"Sig_TileTTL1Cnt"
,
"ReadHandleKey for Signal Input TileTTL1Container"
};
63
SG::ReadHandleKey<TileTTL1Container>
m_signalTileMBTSTTL1Key
{
this
,
"SignalTileMBTSTTL1Key"
,
"Sig_TileTTL1MBTS"
,
"ReadHandleKey for Signal Input MBTS TileTTL1Container"
};
64
// locations of output TTL1 data
65
SG::WriteHandleKey<TileTTL1Container>
m_outputTileTTL1Key
{
this
,
"OutputTileTTL1Key"
,
"TileTTL1Cnt"
,
"WriteHandleKey for Output TileTTL1Container"
};
66
SG::WriteHandleKey<TileTTL1Container>
m_outputTileMBTSTTL1Key
{
this
,
"OutputTileMBTSTTL1Key"
,
"TileTTL1MBTS"
,
"WriteHandleKey for Output MBTS TileTTL1Container"
};
67
68
// overlay amplitudes from other TTL1
69
void
groupTowers
(
const
TileTTL1Container
*towers,
70
std::map<
Identifier
, std::vector<const TileTTL1*>> &towerMap)
const
;
71
72
// specialised overlay functions
73
StatusCode
overlay
(
const
EventContext& ctx,
74
const
SG::ReadHandleKey<TileTTL1Container>
&bkgKey,
75
const
SG::ReadHandleKey<TileTTL1Container>
&signalKey,
76
const
SG::WriteHandleKey<TileTTL1Container>
&outputKey,
77
const
std::string &
label
)
const
;
78
};
79
80
}
// namespace LVL1
81
#endif
AthReentrantAlgorithm.h
TileTTL1Container
TileContainer< TileTTL1 > TileTTL1Container
Definition
TileContainer.h:65
TileTTL1Container.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1::TileTTL1Overlay::m_outputTileTTL1Key
SG::WriteHandleKey< TileTTL1Container > m_outputTileTTL1Key
Definition
TileTTL1Overlay.h:65
LVL1::TileTTL1Overlay::groupTowers
void groupTowers(const TileTTL1Container *towers, std::map< Identifier, std::vector< const TileTTL1 * > > &towerMap) const
Real Tile overlay towers and overlay on existing event.
Definition
TileTTL1Overlay.cxx:50
LVL1::TileTTL1Overlay::initialize
virtual StatusCode initialize() override final
Definition
TileTTL1Overlay.cxx:17
LVL1::TileTTL1Overlay::m_bkgTileMBTSTTL1Key
SG::ReadHandleKey< TileTTL1Container > m_bkgTileMBTSTTL1Key
Definition
TileTTL1Overlay.h:60
LVL1::TileTTL1Overlay::m_outputTileMBTSTTL1Key
SG::WriteHandleKey< TileTTL1Container > m_outputTileMBTSTTL1Key
Definition
TileTTL1Overlay.h:66
LVL1::TileTTL1Overlay::m_signalTileMBTSTTL1Key
SG::ReadHandleKey< TileTTL1Container > m_signalTileMBTSTTL1Key
Definition
TileTTL1Overlay.h:63
LVL1::TileTTL1Overlay::TileTTL1Overlay
TileTTL1Overlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileTTL1Overlay.cxx:14
LVL1::TileTTL1Overlay::m_bkgTileTTL1Key
SG::ReadHandleKey< TileTTL1Container > m_bkgTileTTL1Key
Definition
TileTTL1Overlay.h:59
LVL1::TileTTL1Overlay::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Main algorithm execute.
Definition
TileTTL1Overlay.cxx:39
LVL1::TileTTL1Overlay::m_signalTileTTL1Key
SG::ReadHandleKey< TileTTL1Container > m_signalTileTTL1Key
Definition
TileTTL1Overlay.h:62
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
TileTTL1
Definition
TileTTL1.h:26
label
std::string label(const std::string &format, int i)
Definition
label.h:19
overlay
bool overlay
Definition
listroot.cxx:42
Identifier
Definition
IdentifierFieldParser.cxx:14
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0