FreeHEP API
Version current

hep.aida.ref.remote
Class RemoteCloud1D

java.lang.Object
  extended byhep.aida.ref.event.AIDAObservable
      extended byhep.aida.ref.ManagedObject
          extended byhep.aida.ref.remote.RemoteManagedObject
              extended byhep.aida.ref.remote.RemoteCloud1D
All Implemented Interfaces:
Connectable, hep.aida.IBaseHistogram, hep.aida.ICloud, hep.aida.ICloud1D, hep.aida.dev.IDevManagedObject, hep.aida.IManagedObject, IsObservable

public class RemoteCloud1D
extends RemoteManagedObject
implements hep.aida.ICloud1D

Author:
serbo
Source Code:
RemoteCloud1D.java

Field Summary
protected  double sumOfWeights
           
 
Fields inherited from class hep.aida.ref.remote.RemoteManagedObject
aidaType, dataIsValid, DEFAULT_DOUBLE, DEFAULT_FLOAT, DEFAULT_INT, DEFAULT_LONG, remoteLogger, stateDidChange, store, treePath
 
Fields inherited from class hep.aida.ref.ManagedObject
fillable
 
Fields inherited from class hep.aida.ref.event.AIDAObservable
connectionDidChange, isConnected, isValid
 
Constructor Summary
RemoteCloud1D(IDevMutableStore store, String name)
           
RemoteCloud1D(IDevMutableStore store, String name, String title)
           
RemoteCloud1D(String name)
          Creates a new instance of RemoteCloud1D
 
Method Summary
 hep.aida.IAnnotation annotation()
           
 void convert(double[] values)
           
 void convert(int param, double param1, double param2)
           
 void convertToHistogram()
           
protected  EventObject createEvent()
           
 int dimension()
           
 int entries()
           
 void fill(double param)
           
 void fill(double param, double param1)
           
 void fillHistogram(hep.aida.IHistogram1D iHistogram1D)
           
 hep.aida.IHistogram1D histogram()
           
 boolean isConverted()
           
 double lowerEdge()
           
 int maxEntries()
           
 double mean()
           
 int nanEntries()
           
 void reset()
           
 double rms()
           
 void scale(double param)
           
 void setConversionParameters(int bins, double le, double ue)
           
 void setConverted(boolean b)
           
 void setEntries(int i)
           
 void setLowerEdge(double d)
           
 void setMaxEntries(int i)
           
 void setMean(double d)
           
 void setNanEntries(int i)
           
 void setRms(double d)
           
 void setSummOfWeights(double d)
           
 void setTitle(String str)
           
 void setUpperEdge(double d)
           
 void setValues(double[] a)
           
 void setWeights(double[] a)
           
 double sumOfWeights()
           
 String title()
           
 double upperEdge()
           
 double value(int param)
           
 double weight(int param)
           
 
Methods inherited from class hep.aida.ref.remote.RemoteManagedObject
getStore, getTreePath, isDataValid, makeSureDataIsValid, setConnected, setDataValid, setStore, setTreeFolder, setValid, setValidForAll, type
 
Methods inherited from class hep.aida.ref.ManagedObject
isFillable, name, setFillable, setName
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setIsValidAfterNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.ref.event.IsObservable
addListener, removeAllListeners, removeListener
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected
 

Field Detail

sumOfWeights

protected double sumOfWeights
Constructor Detail

RemoteCloud1D

public RemoteCloud1D(String name)
Creates a new instance of RemoteCloud1D


RemoteCloud1D

public RemoteCloud1D(IDevMutableStore store,
                     String name)

RemoteCloud1D

public RemoteCloud1D(IDevMutableStore store,
                     String name,
                     String title)
Method Detail

createEvent

protected EventObject createEvent()
Overrides:
createEvent in class AIDAObservable

setConverted

public void setConverted(boolean b)

setMaxEntries

public void setMaxEntries(int i)

setNanEntries

public void setNanEntries(int i)

setEntries

public void setEntries(int i)

setLowerEdge

public void setLowerEdge(double d)

setUpperEdge

public void setUpperEdge(double d)

setSummOfWeights

public void setSummOfWeights(double d)

setMean

public void setMean(double d)

setRms

public void setRms(double d)

setValues

public void setValues(double[] a)

setWeights

public void setWeights(double[] a)

annotation

public hep.aida.IAnnotation annotation()
Specified by:
annotation in interface hep.aida.IBaseHistogram

dimension

public int dimension()
Specified by:
dimension in interface hep.aida.IBaseHistogram

entries

public int entries()
Specified by:
entries in interface hep.aida.IBaseHistogram

histogram

public hep.aida.IHistogram1D histogram()
                                throws RuntimeException
Specified by:
histogram in interface hep.aida.ICloud1D
Throws:
RuntimeException

isConverted

public boolean isConverted()
Specified by:
isConverted in interface hep.aida.ICloud

lowerEdge

public double lowerEdge()
Specified by:
lowerEdge in interface hep.aida.ICloud1D

maxEntries

public int maxEntries()
Specified by:
maxEntries in interface hep.aida.ICloud

mean

public double mean()
Specified by:
mean in interface hep.aida.ICloud1D

rms

public double rms()
Specified by:
rms in interface hep.aida.ICloud1D

setTitle

public void setTitle(String str)
              throws IllegalArgumentException
Specified by:
setTitle in interface hep.aida.IBaseHistogram
Throws:
IllegalArgumentException

sumOfWeights

public double sumOfWeights()
Specified by:
sumOfWeights in interface hep.aida.ICloud

title

public String title()
Specified by:
title in interface hep.aida.IBaseHistogram

upperEdge

public double upperEdge()
Specified by:
upperEdge in interface hep.aida.ICloud1D

nanEntries

public int nanEntries()
Specified by:
nanEntries in interface hep.aida.IBaseHistogram

value

public double value(int param)
             throws hep.aida.AlreadyConvertedException
Specified by:
value in interface hep.aida.ICloud1D
Throws:
hep.aida.AlreadyConvertedException

weight

public double weight(int param)
              throws hep.aida.AlreadyConvertedException
Specified by:
weight in interface hep.aida.ICloud1D
Throws:
hep.aida.AlreadyConvertedException

setConversionParameters

public void setConversionParameters(int bins,
                                    double le,
                                    double ue)
Specified by:
setConversionParameters in interface hep.aida.ICloud1D

convert

public void convert(double[] values)
             throws hep.aida.AlreadyConvertedException
Specified by:
convert in interface hep.aida.ICloud1D
Throws:
hep.aida.AlreadyConvertedException

convert

public void convert(int param,
                    double param1,
                    double param2)
             throws hep.aida.AlreadyConvertedException
Specified by:
convert in interface hep.aida.ICloud1D
Throws:
hep.aida.AlreadyConvertedException

convertToHistogram

public void convertToHistogram()
                        throws hep.aida.AlreadyConvertedException
Specified by:
convertToHistogram in interface hep.aida.ICloud
Throws:
hep.aida.AlreadyConvertedException

fill

public void fill(double param)
          throws IllegalArgumentException
Specified by:
fill in interface hep.aida.ICloud1D
Throws:
IllegalArgumentException

fill

public void fill(double param,
                 double param1)
          throws IllegalArgumentException
Specified by:
fill in interface hep.aida.ICloud1D
Throws:
IllegalArgumentException

fillHistogram

public void fillHistogram(hep.aida.IHistogram1D iHistogram1D)
                   throws RuntimeException
Specified by:
fillHistogram in interface hep.aida.ICloud1D
Throws:
RuntimeException

reset

public void reset()
           throws RuntimeException
Specified by:
reset in interface hep.aida.IBaseHistogram
Throws:
RuntimeException

scale

public void scale(double param)
           throws IllegalArgumentException
Specified by:
scale in interface hep.aida.ICloud
Throws:
IllegalArgumentException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.