LDMX Software
ConditionsObject.h
Go to the documentation of this file.
1
7#ifndef FRAMEWORK_CONDITIONSOBJECT_H_
8#define FRAMEWORK_CONDITIONSOBJECT_H_
9
10#include <string>
11
12namespace framework {
13
19 public:
23 ConditionsObject(const std::string& name) : name_(name) {}
24
28 virtual ~ConditionsObject() {}
29
33 std::string getName() const { return name_; }
34
35 private:
39 std::string name_;
40};
41
42} // namespace framework
43
44#endif
Base class for all conditions objects, very simple.
ConditionsObject(const std::string &name)
Class constructor.
std::string getName() const
Get the name of this object.
virtual ~ConditionsObject()
Destructor.
std::string name_
Name of the object.
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45