yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis  1.7.2
ReaderFLAT.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // This file is part of YODA -- Yet more Objects for Data Analysis
4 // Copyright (C) 2008-2017 The YODA collaboration (see AUTHORS for details)
5 //
6 #ifndef YODA_READERFLAT_H
7 #define YODA_READERFLAT_H
8 
9 #include "YODA/AnalysisObject.h"
10 #include "YODA/Reader.h"
11 #include <YODA/Counter.h>
12 #include <YODA/Scatter1D.h>
13 #include <YODA/Scatter2D.h>
14 #include <YODA/Scatter3D.h>
15 
16 namespace YODA {
17 
18 
20  class ReaderFLAT : public Reader {
21  public:
22 
24  static Reader& create();
25 
26  void read(std::istream& stream, std::vector<AnalysisObject*>& aos);
27 
28  private:
29 
31  ReaderFLAT() { }
32 
33  };
34 
35 }
36 
37 #endif
static Reader & create()
Singleton creation function.
void read(std::istream &stream, std::vector< AnalysisObject *> &aos)
Read in a collection of objects objs from output stream stream.
Persistency reader from YODA flat text data format.
Definition: ReaderFLAT.h:20
Pure virtual base class for various output writers.
Definition: Reader.h:21