ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
14
18
19
26
28
29public:
30 L1CaloPedestalGenerator(const std::string& name, ISvcLocator* pSvcLocator);
32
33 virtual StatusCode initialize();
34 virtual StatusCode execute();
35 virtual StatusCode finalize();
36
37private:
38
39 // Id managers
41
42 // Id helpers
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
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This class initializes the Calo (LAr and Tile) offline identifiers.
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
double IDeta(const Identifier &id, const CaloLVL1_ID *l1id)
double IDphi(const Identifier &id, const CaloLVL1_ID *l1id)
L1CaloPedestalGenerator(const std::string &name, ISvcLocator *pSvcLocator)
LVL1::TriggerTowerKey * m_towerKey
LVL1::InternalTriggerTower * findInternalTriggerTower(const Identifier &towerId, bool bCreate=true)
std::map< unsigned int, LVL1::InternalTriggerTower * > * m_IntTTContainer
const CaloIdManager * m_caloMgr
A version of the TriggerTower that contains information that would not be availiable during datatakin...
The TriggerTowerKey object provides the key for each trigger tower depending on its eta-phi coords.