RunData.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RunData.h
3 ///
4 /// Definition of object to store run related information
5 ///
6 /// \version $Id: RunData.h,v 1.1.1.1 2011/03/03 00:19:49 brebel Exp $
7 /// \author brebel@fnal.gov
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef SD_RUNDATA_H
10 #define SD_RUNDATA_H
11 
12 #include <string>
13 
14 namespace gar {
15  namespace sumdata {
16 
17  class RunData{
18 
19  public:
20 
21  RunData(); // Default constructor
22  void aggregate(RunData const& other);
23 
24  private:
25 
26  std::string fDetName; ///< detector name
27 #ifndef __GCCXML__
28 
29  public:
30  explicit RunData(std::string const& detectorName);
31  std::string const& DetName() const;
32 
33 #endif
34 
35  };
36  }
37 } // gar
38 
39 #ifndef __GCCXML__
40 
41 inline std::string const& gar::sumdata::RunData::DetName() const { return fDetName; }
42 
43 #endif
44 
45 #endif // SD_RUNDATA_H
std::string const & DetName() const
Definition: RunData.h:41
std::string string
Definition: nybbler.cc:12
void aggregate(RunData const &other)
Definition: RunData.cxx:29
std::string fDetName
detector name
Definition: RunData.h:26
General GArSoft Utilities.