Belle II Software  release-05-02-19
DatabaseRepresentationOfWeightfile.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Thomas Keck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 #ifndef INCLUDE_GUARD_BELLE2_MVA_DATABASE_WEIGHTFILE_HEADER
13 #define INCLUDE_GUARD_BELLE2_MVA_DATABASE_WEIGHTFILE_HEADER
14 
15 #include <TObject.h>
16 
17 #include <string>
18 
19 namespace Belle2 {
30  class DatabaseRepresentationOfWeightfile : public TObject {
31  public:
36 
40  explicit DatabaseRepresentationOfWeightfile(const std::string& data) : m_data(data) { }
41 
42  std::string m_data;
45  };
46 
48 }
49 
50 #endif
Belle2::DatabaseRepresentationOfWeightfile::DatabaseRepresentationOfWeightfile
DatabaseRepresentationOfWeightfile(const std::string &data)
Constructor from weight file name.
Definition: DatabaseRepresentationOfWeightfile.h:40
Belle2::DatabaseRepresentationOfWeightfile::m_data
std::string m_data
Serialized weightfile.
Definition: DatabaseRepresentationOfWeightfile.h:42
Belle2::DatabaseRepresentationOfWeightfile
Database representation of a Weightfile object.
Definition: DatabaseRepresentationOfWeightfile.h:30
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::DatabaseRepresentationOfWeightfile::ClassDef
ClassDef(DatabaseRepresentationOfWeightfile, 2)
Class to store weightfile in datastore.
Belle2::DatabaseRepresentationOfWeightfile::DatabaseRepresentationOfWeightfile
DatabaseRepresentationOfWeightfile()
Default constructor, necessary for ROOT to stream the object.
Definition: DatabaseRepresentationOfWeightfile.h:35