ATLAS Offline Software
IL1TopoHistSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef IL1TOPOHISTSVC_H
5 #define IL1TOPOHISTSVC_H
6 
7 #include <iostream>
8 
9 class TH1;
10 class TH2;
11 
13 public:
14 
15  virtual void registerHist(TH1 * h) = 0;
16 
17  virtual void registerHist(TH2 * h) = 0;
18 
19  virtual TH1 * findHist(const std::string & histName) = 0;
20 
21  virtual void fillHist1D(const std::string & histName, double x) = 0;
22 
23  virtual void fillHist2D(const std::string & histName, double x, double y) = 0;
24 
25  virtual void setBaseDir(const std::string & baseDir) = 0;
26 
27  virtual void save() = 0;
28 
29 };
30 
31 #endif
IL1TopoHistSvc
Definition: IL1TopoHistSvc.h:12
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
IL1TopoHistSvc::setBaseDir
virtual void setBaseDir(const std::string &baseDir)=0
IL1TopoHistSvc::registerHist
virtual void registerHist(TH1 *h)=0
IL1TopoHistSvc::fillHist2D
virtual void fillHist2D(const std::string &histName, double x, double y)=0
x
#define x
IL1TopoHistSvc::save
virtual void save()=0
IL1TopoHistSvc::registerHist
virtual void registerHist(TH2 *h)=0
y
#define y
h
IL1TopoHistSvc::fillHist1D
virtual void fillHist1D(const std::string &histName, double x)=0
IL1TopoHistSvc::findHist
virtual TH1 * findHist(const std::string &histName)=0