Page MenuHomeHEPForge

IMeasurement.h
No OneTemporary

IMeasurement.h

// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_IMEASUREMENT_H
#define AIDA_IMEASUREMENT_H 1
// This file is part of the AIDA library
// Copyright (C) 2002 by the AIDA team. All rights reserved.
// This library is free software and under the terms of the
// GNU Library General Public License described in the LGPL.txt
namespace AIDA {
/**
* Basic user-level interface class for holding a single "measurement"
* with positive and negative errors (to allow for asymmetric errors).
* "IMeasurement" = "value" + "errorPlus" - "errorMinus"
*
* @author The AIDA team (http://aida.freehep.org/)
*
*/
class IMeasurement {
public:
/// Destructor.
virtual ~IMeasurement() { /* nop */; }
/**
* Get the value of the IMeasurement.
* @return The value of the IMeasurement.
*
*/
virtual double value() const = 0;
/**
* Get the plus error of the IMeasurement.
* @return The plus error.
*
*/
virtual double errorPlus() const = 0;
/**
* Get the minus error of the IMeasurement.
* @return The minus error.
*
*/
virtual double errorMinus() const = 0;
/**
* Set the value of the IMeasurement.
* @param value The new value of the IMeasurement.
* @return false If the value cannot be set.
*
*/
virtual bool setValue(double value) = 0;
/**
* Set the plus error of the IMeasurement.
* @param value The new plus error of the IMeasurement.
* @return false If the error cannot be set or it is negative.
*
*/
virtual bool setErrorPlus(double errorPlus) = 0;
/**
* Set the minus error of the IMeasurement.
* @param value The new minus error of the IMeasurement.
* @return false If the error cannot be set or it is negative.
*
*/
virtual bool setErrorMinus(double errorMinus) = 0;
}; // class
} // namespace AIDA
#endif /* ifndef AIDA_IMEASUREMENT_H */

File Metadata

Mime Type
text/x-c++
Expires
Sat, Dec 21, 4:25 PM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4023438
Default Alt Text
IMeasurement.h (2 KB)

Event Timeline