RAIDA  1.9.0
ICloud.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_ICLOUD_H
8 #define AIDA_ICLOUD_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include "AIDA/IBaseHistogram.h"
16 
17 namespace AIDA {
18 
30 class ICloud : virtual public IBaseHistogram {
31 
32 public:
34  virtual ~ICloud() { /* nop */; }
35 
41  virtual double sumOfWeights() const = 0;
42 
48  virtual bool convertToHistogram() = 0;
49 
55  virtual bool isConverted() const = 0;
56 
62  virtual int maxEntries() const = 0;
63 
70  virtual bool scale(double scaleFactor) = 0;
71 }; // class
72 } // namespace AIDA
73 #endif /* ifndef AIDA_ICLOUD_H */
virtual double sumOfWeights() const =0
Get the sum of weights of all the entries.
virtual ~ICloud()
Destructor.
Definition: ICloud.h:34
virtual bool isConverted() const =0
Check if the ICloud has been converted to an IHistogram.
User level interface to a Cloud.
Definition: ICloud.h:30
virtual bool convertToHistogram()=0
Convert the ICloud to an IHistogram using the default number of bins.
class IAnnotation;
Definition: IBaseHistogram.h:29
virtual bool scale(double scaleFactor)=0
Scale the weights by a given factor.
virtual int maxEntries() const =0
Get the number of entries after which the cloud will be converted to an IHistogram.