thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ManagedObject.h
1// -*- C++ -*-
2//
3// ManagedObject.h is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
5//
6// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef LWH_ManagedObject_H
10#define LWH_ManagedObject_H
11//
12// This is the declaration of the ManagedObject class.
13//
14
15#include "AIManagedObject.h"
16#include <iostream>
17
18namespace LWH {
19
20using namespace AIDA;
21
25class ManagedObject: public IManagedObject {
26
27public:
28
30 virtual ~ManagedObject() {}
31
35 virtual bool writeXML(std::ostream & os,
36 std::string path, std::string name) = 0;
37
41 virtual bool writeFLAT(std::ostream & os,
42 std::string path, std::string name) = 0;
43
44};
45
46}
47
48#endif /* LWH_ManagedObject_H */
The creator of trees.
Definition: ManagedObject.h:25
virtual ~ManagedObject()
Destructor.
Definition: ManagedObject.h:30
virtual bool writeXML(std::ostream &os, std::string path, std::string name)=0
Write out the object to the given stream in XML format.
virtual bool writeFLAT(std::ostream &os, std::string path, std::string name)=0
Write out the object to the given stream in simple table format.
The LWH namespace contains a Light-Weight Histogram package which implements the most rudimentary his...