RAIDA  1.9.0
IFitDataROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_IFITDATAROOT_H
3 #define AIDA_IFITDATAROOT_H 1
4 
5 #include <AIDA/IFitData.h>
6 #include <string>
7 #include <vector>
8 
9 namespace AIDA {
10 
11 class ICloud1D;
12 class ICloud2D;
13 class ICloud3D;
14 class IDataPointSet;
15 class IEvaluator;
16 class IHistogram1D;
17 class IHistogram2D;
18 class IHistogram3D;
19 class IProfile1D;
20 class IProfile2D;
21 class IRangeSet;
22 class ITuple;
23 
29 class IFitDataROOT : public IFitData {
30 
31 public:
33  virtual ~IFitDataROOT() { /* nop */; }
34 
35  IFitDataROOT() { /* nop */; }
36 
46  virtual bool create1DConnection(const IHistogram1D & h) ;
47 
53  virtual bool create1DConnection(const ICloud1D & c) ;
54 
60  virtual bool create1DConnection(const IProfile1D & p) ;
61 
69  virtual bool create1DConnection(const IDataPointSet & dp,
70  int xIndex, int valIndex) ;
71 
81  virtual bool create2DConnection(const IHistogram2D & h) ;
82 
90  virtual bool create2DConnection(const IHistogram2D & h,
91  int xIndex, int yIndex) ;
92 
98  virtual bool create2DConnection(const ICloud2D & c) ;
99 
107  virtual bool create2DConnection(const ICloud2D & c,
108  int xIndex, int yIndex) ;
109 
115  virtual bool create2DConnection(const IProfile2D & p) ;
116 
124  virtual bool create2DConnection(const IProfile2D & p,
125  int xIndex, int yIndex) ;
126 
135  virtual bool create2DConnection(const IDataPointSet & dp,
136  int xIndex, int yIndex, int valIndex) ;
137 
147  virtual bool create3DConnection(const IHistogram3D & h) ;
148 
157  virtual bool create3DConnection(const IHistogram3D & h,
158  int xIndex, int yIndex, int zIndex) ;
159 
165  virtual bool create3DConnection(const ICloud3D & c) ;
166 
175  virtual bool create3DConnection(const ICloud3D & c,
176  int xIndex, int yIndex, int zIndex) ;
177 
187  virtual bool create3DConnection(const IDataPointSet & dp,
188  int xIndex, int yIndex, int zIndex,
189  int valIndex) ;
190 
205  virtual bool createConnection(const ITuple & t,
206  std::vector<std::string> colNames) ;
207 
214  virtual bool createConnection(const ITuple & t,
215  std::vector<IEvaluator *> & evals) ;
216 
224  virtual bool createConnection(const IDataPointSet & dp,
225  std::vector<int> indeces, int valIndex) ;
226 
230  virtual void reset() ;
231 
236  virtual int dimension() const ;
237 
242  virtual std::string dataDescription() const ;
243 
251  virtual IRangeSet & range(int index) const ;
252 }; // class
253 } // namespace AIDA
254 #endif /* ifndef AIDA_IFITDATAROOT_H */
virtual std::string dataDescription() const
Return a string describing the data.
Definition: IFitDataROOT.cc:159
Dummy implementation of the Abstract representation of the fit data.
Definition: IFitDataROOT.h:29
virtual void reset()
Remove all Ranges and connections; after this is like newly create.
Definition: IFitDataROOT.cc:148
virtual int dimension() const
The dimension of this IFitData, i.e.
Definition: IFitDataROOT.cc:153
virtual bool create1DConnection(const IHistogram1D &h)
One dimensional connections.
Definition: IFitDataROOT.cc:22
Definition: IFitData.h:92
virtual bool create3DConnection(const IHistogram3D &h)
Three dimensional connections.
Definition: IFitDataROOT.cc:93
virtual ~IFitDataROOT()
Destructor.
Definition: IFitDataROOT.h:33
virtual bool create2DConnection(const IHistogram2D &h)
Two dimensional connections.
Definition: IFitDataROOT.cc:47
virtual IRangeSet & range(int index) const
Get Range of the corresponding connection by index.
Definition: IFitDataROOT.cc:165
virtual bool createConnection(const ITuple &t, std::vector< std::string > colNames)
General connections.
Definition: IFitDataROOT.cc:127