ATLAS Offline Software
IReadHistoDef.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 //
5 // IReadHistoDef.h
6 // HDef
7 //
8 // Created by sroe on 08/07/2015.
9 //
10 
11 #ifndef IReadHistoDef_h
12 #define IReadHistoDef_h
13 #include <map>
14 #include <string>
17 public:
19  };
20  virtual ~IReadHistoDef() {
21  };
22  virtual std::string source() const = 0;
23  virtual std::string format() const = 0;
24  virtual bool histoDefinitionMap(std::map<std::string, SingleHistogramDefinition>& usersMap) const = 0;
25  virtual bool initialize() = 0;
26  virtual bool sourceExists() const = 0;
27 private:
28  virtual bool insertDefinition(const SingleHistogramDefinition& oneDefinition) = 0;
29  std::map<std::string, SingleHistogramDefinition> m_histoDefinitionMap;
30 };
31 
32 #endif
SingleHistogramDefinition.h
IReadHistoDef::histoDefinitionMap
virtual bool histoDefinitionMap(std::map< std::string, SingleHistogramDefinition > &usersMap) const =0
IReadHistoDef::insertDefinition
virtual bool insertDefinition(const SingleHistogramDefinition &oneDefinition)=0
IReadHistoDef
Definition: IReadHistoDef.h:16
IReadHistoDef::m_histoDefinitionMap
std::map< std::string, SingleHistogramDefinition > m_histoDefinitionMap
Definition: IReadHistoDef.h:29
IReadHistoDef::initialize
virtual bool initialize()=0
IReadHistoDef::IReadHistoDef
IReadHistoDef()
Definition: IReadHistoDef.h:18
IReadHistoDef::format
virtual std::string format() const =0
IReadHistoDef::~IReadHistoDef
virtual ~IReadHistoDef()
Definition: IReadHistoDef.h:20
SingleHistogramDefinition
Almost-a-struct for holding the single histogram definition.
Definition: SingleHistogramDefinition.h:17
IReadHistoDef::source
virtual std::string source() const =0
IReadHistoDef::sourceExists
virtual bool sourceExists() const =0