jas.hist.normalization
Class MaxBinNormalizer

java.lang.Object
  extended by java.util.Observable
      extended by jas.hist.normalization.SimpleNormalizer
          extended by jas.hist.normalization.DataSourceNormalizer
              extended by jas.hist.normalization.MaxBinNormalizer
All Implemented Interfaces:
Normalizer, Observer

public class MaxBinNormalizer
extends DataSourceNormalizer

Calculates a normalization factor based on the bin with the largest value.

Version:
$Id: MaxBinNormalizer.java 11553 2007-06-05 22:06:23Z duns $
Author:
tonyj

Field Summary
 
Fields inherited from class jas.hist.normalization.DataSourceNormalizer
hurry, source
 
Constructor Summary
MaxBinNormalizer(DataSource data)
          Creates new MaxBinNormalizer
 
Method Summary
protected  double calculateNormalization()
          Calculates the normalization factor.
 
Methods inherited from class jas.hist.normalization.DataSourceNormalizer
getNormalizationFactor, init, update
 
Methods inherited from class jas.hist.normalization.SimpleNormalizer
normalizationChanged, setFactor
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxBinNormalizer

public MaxBinNormalizer(DataSource data)
Creates new MaxBinNormalizer

Parameters:
data - The data source
Method Detail

calculateNormalization

protected double calculateNormalization()
Description copied from class: DataSourceNormalizer
Calculates the normalization factor.

Specified by:
calculateNormalization in class DataSourceNormalizer
Returns:
The normalization factor.


Copyright © 2000-2009 FreeHEP. All Rights Reserved.