ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibUtils
TrigT1CaloCalibUtils
L1CaloPedestalGenerator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1CALOCALIBUTILS_L1CALOPEDESTALGENERATOR_H
6
#define TRIGT1CALOCALIBUTILS_L1CALOPEDESTALGENERATOR_H
7
8
#include <map>
9
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
12
#include "
CaloIdentifier/CaloIdManager.h
"
13
#include "
CaloIdentifier/CaloLVL1_ID.h
"
14
15
#include "
TrigT1CaloEvent/TriggerTower.h
"
16
#include "
TrigT1CaloUtils/InternalTriggerTower.h
"
17
#include "
TrigT1CaloUtils/TriggerTowerKey.h
"
18
19
26
27
class
L1CaloPedestalGenerator
:
public
AthAlgorithm
{
28
29
public
:
30
L1CaloPedestalGenerator
(
const
std::string& name, ISvcLocator* pSvcLocator);
31
virtual
~L1CaloPedestalGenerator
();
32
33
virtual
StatusCode
initialize
();
34
virtual
StatusCode
execute
(
const
EventContext& ctx);
35
virtual
StatusCode
finalize
();
36
37
private
:
38
39
// Id managers
40
const
CaloIdManager
*
m_caloMgr
;
41
42
// Id helpers
43
const
CaloLVL1_ID
*
m_lvl1Helper
;
44
45
// Properties
46
std::string
m_TTLocation
;
47
48
double
m_pedMean
;
49
double
m_pedRMS
;
50
unsigned
int
m_nSamples
;
51
52
// Trigger tower key provider
53
LVL1::TriggerTowerKey
*
m_towerKey
;
54
55
std::map<unsigned int, LVL1::InternalTriggerTower*>*
m_IntTTContainer
;
56
57
LVL1::InternalTriggerTower
*
findInternalTriggerTower
(
const
Identifier
& towerId,
bool
bCreate =
true
);
58
LVL1::InternalTriggerTower
*
findInternalTriggerTower
(
double
tt_phi,
double
tt_eta,
unsigned
int
key,
bool
bCreate =
true
);
59
60
double
IDeta
(
const
Identifier
&
id
,
const
CaloLVL1_ID
* l1id);
61
double
IDphi
(
const
Identifier
&
id
,
const
CaloLVL1_ID
* l1id);
62
63
};
64
65
#endif
AthAlgorithm.h
CaloIdManager.h
CaloLVL1_ID.h
InternalTriggerTower.h
TriggerTowerKey.h
TriggerTower.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition
CaloIdManager.h:45
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition
CaloLVL1_ID.h:66
L1CaloPedestalGenerator::IDeta
double IDeta(const Identifier &id, const CaloLVL1_ID *l1id)
Definition
L1CaloPedestalGenerator.cxx:403
L1CaloPedestalGenerator::m_lvl1Helper
const CaloLVL1_ID * m_lvl1Helper
Definition
L1CaloPedestalGenerator.h:43
L1CaloPedestalGenerator::IDphi
double IDphi(const Identifier &id, const CaloLVL1_ID *l1id)
Definition
L1CaloPedestalGenerator.cxx:439
L1CaloPedestalGenerator::L1CaloPedestalGenerator
L1CaloPedestalGenerator(const std::string &name, ISvcLocator *pSvcLocator)
Definition
L1CaloPedestalGenerator.cxx:21
L1CaloPedestalGenerator::~L1CaloPedestalGenerator
virtual ~L1CaloPedestalGenerator()
Definition
L1CaloPedestalGenerator.cxx:37
L1CaloPedestalGenerator::m_pedRMS
double m_pedRMS
Definition
L1CaloPedestalGenerator.h:49
L1CaloPedestalGenerator::finalize
virtual StatusCode finalize()
Definition
L1CaloPedestalGenerator.cxx:336
L1CaloPedestalGenerator::m_towerKey
LVL1::TriggerTowerKey * m_towerKey
Definition
L1CaloPedestalGenerator.h:53
L1CaloPedestalGenerator::findInternalTriggerTower
LVL1::InternalTriggerTower * findInternalTriggerTower(const Identifier &towerId, bool bCreate=true)
Definition
L1CaloPedestalGenerator.cxx:351
L1CaloPedestalGenerator::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
L1CaloPedestalGenerator.cxx:104
L1CaloPedestalGenerator::m_IntTTContainer
std::map< unsigned int, LVL1::InternalTriggerTower * > * m_IntTTContainer
Definition
L1CaloPedestalGenerator.h:55
L1CaloPedestalGenerator::m_TTLocation
std::string m_TTLocation
Definition
L1CaloPedestalGenerator.h:46
L1CaloPedestalGenerator::initialize
virtual StatusCode initialize()
Definition
L1CaloPedestalGenerator.cxx:51
L1CaloPedestalGenerator::m_pedMean
double m_pedMean
Definition
L1CaloPedestalGenerator.h:48
L1CaloPedestalGenerator::m_caloMgr
const CaloIdManager * m_caloMgr
Definition
L1CaloPedestalGenerator.h:40
L1CaloPedestalGenerator::m_nSamples
unsigned int m_nSamples
Definition
L1CaloPedestalGenerator.h:50
LVL1::InternalTriggerTower
A version of the TriggerTower that contains information that would not be availiable during datatakin...
Definition
InternalTriggerTower.h:31
LVL1::TriggerTowerKey
The TriggerTowerKey object provides the key for each trigger tower depending on its eta-phi coords.
Definition
TriggerTowerKey.h:51
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0