ATLAS Offline Software
Loading...
Searching...
No Matches
JGTowerNoiseAlg.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#ifndef TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
6#define TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
7
11#include "TProfile.h"
12#include "TH1.h"
13#include "TFile.h"
14
15namespace LVL1
16{
18 {
19 public:
20 JGTowerNoiseAlg(const std::string &name, ISvcLocator *pSvcLocator);
21 virtual ~JGTowerNoiseAlg() override;
22
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx) const override;
25
26 private:
28 std::string m_noiseFile;
31
32 // Detector eta binning
33 std::vector<float> m_etaBins;
34 // Noise values for the full detector (for gFEX)
35 std::vector<float> m_noiseValues;
36 // Split detector noise values (for jFEX)
37 std::vector<float> m_noiseValuesEM;
38 std::vector<float> m_noiseValuesHAD;
39 std::map<std::size_t, float> m_noiseValuesFCAL;
40 }; //> end class JGTowerNoiseAlg
41} // namespace LVL1
42
43#endif //> !TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
std::vector< float > m_noiseValues
SG::ReadHandleKey< xAOD::JGTowerContainer > m_inputKey
virtual ~JGTowerNoiseAlg() override
std::vector< float > m_noiseValuesEM
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
std::vector< float > m_noiseValuesHAD
std::map< std::size_t, float > m_noiseValuesFCAL
JGTowerNoiseAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< float > m_etaBins
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...