ATLAS Offline Software
AthenaL1TopoHistSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAL1TOPOHISTSVC_H
6 #define ATHENAL1TOPOHISTSVC_H
7 
8 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ITHistSvc.h"
11 
12 #include "GaudiKernel/LockedHandle.h"
13 
14 #include <memory>
15 
17 public:
19  virtual ~AthenaL1TopoHistSvc();
20 
21  virtual void registerHist(TH1 * h) override;
22 
23  virtual void registerHist(TH2 * h) override;
24 
25  virtual TH1 * findHist(const std::string & histName) override;
26 
27  virtual void fillHist1D(const std::string & histName, double x) override;
28 
29  virtual void fillHist2D(const std::string & histName, double x, double y) override;
30 
31  virtual void setBaseDir(const std::string & baseDir) override;
32 
33  virtual void save() override;
34 
35 private:
36 
38  std::unique_ptr<AthenaL1TopoHistSvcImpl> m_impl;
39 
40 };
41 
42 #endif
AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl
Definition: AthenaL1TopoHistSvc.cxx:24
IL1TopoHistSvc
Definition: IL1TopoHistSvc.h:12
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
AthenaL1TopoHistSvc::fillHist1D
virtual void fillHist1D(const std::string &histName, double x) override
Definition: AthenaL1TopoHistSvc.cxx:152
AthenaL1TopoHistSvc::save
virtual void save() override
Definition: AthenaL1TopoHistSvc.cxx:167
x
#define x
MuonSegmentReaderConfig.histSvc
histSvc
Definition: MuonSegmentReaderConfig.py:96
IL1TopoHistSvc.h
AthenaL1TopoHistSvc::findHist
virtual TH1 * findHist(const std::string &histName) override
Definition: AthenaL1TopoHistSvc.cxx:147
AthenaL1TopoHistSvc::~AthenaL1TopoHistSvc
virtual ~AthenaL1TopoHistSvc()
Definition: AthenaL1TopoHistSvc.cxx:133
AthenaL1TopoHistSvc::setBaseDir
virtual void setBaseDir(const std::string &baseDir) override
Definition: AthenaL1TopoHistSvc.cxx:162
y
#define y
h
AthenaL1TopoHistSvc::fillHist2D
virtual void fillHist2D(const std::string &histName, double x, double y) override
Definition: AthenaL1TopoHistSvc.cxx:157
AthenaL1TopoHistSvc::AthenaL1TopoHistSvc
AthenaL1TopoHistSvc(ServiceHandle< ITHistSvc > histSvc)
Definition: AthenaL1TopoHistSvc.cxx:129
AthenaL1TopoHistSvc
Definition: AthenaL1TopoHistSvc.h:16
AthenaL1TopoHistSvc::m_impl
std::unique_ptr< AthenaL1TopoHistSvcImpl > m_impl
Definition: AthenaL1TopoHistSvc.h:37
AthenaL1TopoHistSvc::registerHist
virtual void registerHist(TH1 *h) override
Definition: AthenaL1TopoHistSvc.cxx:137
ServiceHandle< ITHistSvc >