ATLAS Offline Software
IAthHistogramTool.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // IAthHistogramTool.h
8 // Header file for class IAthHistogramTool
9 // Author: Karsten Koeneke
11 #ifndef PATCORE_IATHHISTOGRAMTOOL_H
12 #define PATCORE_IATHHISTOGRAMTOOL_H 1
13 
14 // FrameWork includes
15 #include "GaudiKernel/IAlgTool.h"
16 
17 // Forward declaration
18 //namespace Trk
19 //{
20 // class VxCandidate;
21 //}
22 
23 
24 static const InterfaceID IID_IAthHistogramTool("IAthHistogramTool", 1, 0);
25 
27  : virtual public ::IAlgTool
28 {
29 
31  // Public methods:
33  public:
34 
37  //virtual ~IAthHistogramTool();
38 
40  // Const methods:
42  static const InterfaceID& interfaceID();
43 
45  // Non-const methods:
47 
49  virtual StatusCode fill( const double weight = 1.0) = 0;
50 
52  // Protected data:
54  protected:
55 
56 };
57 
61 inline const InterfaceID& IAthHistogramTool::interfaceID()
62 {
63  return IID_IAthHistogramTool;
64 }
65 
66 
67 #endif //> !PATCORE_IATHHISTOGRAMTOOL_H
IAthHistogramTool
Definition: IAthHistogramTool.h:28
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAthHistogramTool::interfaceID
static const InterfaceID & interfaceID()
Destructor:
Definition: IAthHistogramTool.h:61
IAthHistogramTool::fill
virtual StatusCode fill(const double weight=1.0)=0
Main method to fill histograms.