ATLAS Offline Software
Loading...
Searching...
No Matches
LArHECNoise.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCAFJOBS_LARHECNOISE_H
6#define LARCAFJOBS_LARHECNOISE_H
7
8//LAr services:
12
13// Trigger
15
16//Framework
18#include "GaudiKernel/ToolHandle.h"
20#include "GaudiKernel/ITHistSvc.h"
21
22//STL:
23#include <string>
24
25
26class LArOnlineID;
27
28class TTree;
29
30class LArHECNoise : public AthAlgorithm {
31
32 public:
33
34 LArHECNoise(const std::string& name, ISvcLocator* pSvcLocator);
36
37 virtual StatusCode initialize() override;
38 virtual StatusCode finalize() override;
39 virtual StatusCode execute(const EventContext& ctx) override;
40
41 private:
42
43 ServiceHandle<ITHistSvc> m_thistSvc{this,"THistSvc","THistSvc"};
44
45 TTree* m_tree{};
46
47 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
48 SG::ReadCondHandleKey<ILArPedestal> m_pedKey{this,"PedestalKey","LArPedestal","SG Key of Pedestal obj"};
49 /*Tools*/
50
51 PublicToolHandle< Trig::TrigDecisionTool > m_trigDec{this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"};
52
53 /*services*/
56 , "CaloDetDescrManager"
57 , "CaloDetDescrManager"
58 , "SG Key for CaloDetDescrManager in the Condition Store" };
59
61
62 /*declaration of branches*/
77 short m_nt_digi[32];
83 float m_nt_e;
84 float m_nt_t;
85 float m_nt_eta;
86 float m_nt_phi;
87 float m_nt_z;
88 float m_nt_r;
89 float m_nt_ped;
91 std::vector<float> m_nt_prescale;
92 std::vector<int> m_nt_trigger;
93
94 // other members
95 std::vector<std::string> m_TriggerLines;
98
99
100};
101
102#endif // LArHECNoise_H
103
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
virtual StatusCode initialize() override
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
Definition LArHECNoise.h:48
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Definition LArHECNoise.h:51
int m_MinDigitADC
Definition LArHECNoise.h:96
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition LArHECNoise.h:55
const LArOnlineID * m_LArOnlineIDHelper
Definition LArHECNoise.h:54
ServiceHandle< ITHistSvc > m_thistSvc
Definition LArHECNoise.h:43
short m_nt_digi[32]
Definition LArHECNoise.h:77
virtual StatusCode finalize() override
float m_nt_ped
Definition LArHECNoise.h:89
std::vector< int > m_nt_trigger
Definition LArHECNoise.h:92
float m_nt_actMu
Definition LArHECNoise.h:82
std::vector< std::string > m_TriggerLines
Definition LArHECNoise.h:95
float m_nt_pedRMS
Definition LArHECNoise.h:90
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
int m_nt_evtCount
Definition LArHECNoise.h:65
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition LArHECNoise.h:47
float m_nt_avgMu
Definition LArHECNoise.h:81
std::vector< float > m_nt_prescale
Definition LArHECNoise.h:91
float m_nt_phi
Definition LArHECNoise.h:86
TTree * m_tree
Definition LArHECNoise.h:45
int m_nt_evtTime_ns
Definition LArHECNoise.h:67
const CaloCell_ID * m_calocell_id
Definition LArHECNoise.h:60
LArHECNoise(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
float m_nt_eta
Definition LArHECNoise.h:85