ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoRDOAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVENT_INFO_RDO_ANALYSIS_H
6#define EVENT_INFO_RDO_ANALYSIS_H
7
9#include <GaudiKernel/ServiceHandle.h>
10#include <GaudiKernel/ITHistSvc.h>
13
14#include <string>
15#include <vector>
16
17class TH1;
18class TTree;
19
21
22public:
25
26 virtual StatusCode initialize() override final;
27 virtual StatusCode execute() override final;
28
30 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "EventInfo", "EventInfo", "Input event info key name"};
31
32 Gaudi::Property<std::string> m_histPath {this, "HistPath", "/RDOAnalysis/histos/", ""};
33 Gaudi::Property<std::string> m_ntuplePath {this, "NtuplePath", "/RDOAnalysis/ntuples/", ""};
34 Gaudi::Property<std::string> m_ntupleName {this, "NtupleName", "EventInfo", ""};
35
36 ServiceHandle<ITHistSvc> m_thistSvc {this, "HistSvc", "THistSvc", ""};
37
38 // Branches
39 uint32_t m_runNumber{};
40 unsigned long long m_eventNumber{};
41 uint32_t m_lumiBlock{};
42 uint32_t m_bcid{};
43
46
47 float m_beamPosX{};
48 float m_beamPosY{};
49 float m_beamPosZ{};
50
54
55 // Histograms
58
59 TTree *m_tree{};
60};
61
62#endif // EVENT_INFO_RDO_ANALYSIS_H
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
~EventInfoRDOAnalysis()=default
Gaudi::Property< std::string > m_histPath
virtual StatusCode initialize() override final
ServiceHandle< ITHistSvc > m_thistSvc
Gaudi::Property< std::string > m_ntuplePath
Gaudi::Property< std::string > m_ntupleName
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
unsigned long long m_eventNumber
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override final
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private