GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ADF::SignalI Class Referenceabstract

#include <Signals.h>

Inheritance diagram for ADF::SignalI:

Public Member Functions

virtual UShort_t * Address (const UShort_t *)
 To have a direct access to the underlying array. More...
 
virtual Short_t * Address (const Short_t *)
 
virtual UInt_t * Address (const UInt_t *)
 
virtual Int_t * Address (const Int_t *)
 
virtual Float_t * Address (const Float_t *)
 
virtual Double_t * Address (const Double_t *)
 
virtual UInt_t Export (BufferIO *buf, const Char_t opt= '_') const
 Write the signal into a Buffer. More...
 
virtual UShort_t Get (UShort_t, UInt_t i) const
 Method to get the value for a particular bin of the signal. More...
 
virtual UInt_t Get (UShort_t *sig, UInt_t n, UInt_t istart=0u) const
 Method to extract a subset of the signal with conversion. More...
 
virtual Short_t Get (Short_t, UInt_t i) const
 
virtual UInt_t Get (Short_t *sig, UInt_t n, UInt_t istart=0u) const
 
virtual UInt_t Get (UInt_t, UInt_t i) const
 
virtual UInt_t Get (UInt_t *sig, UInt_t n, UInt_t istart=0u) const
 
virtual Int_t Get (Int_t, UInt_t i) const
 
virtual UInt_t Get (Int_t *sig, UInt_t n, UInt_t istart=0u) const
 
virtual Float_t Get (Float_t, UInt_t i) const
 
virtual UInt_t Get (Float_t *sig, UInt_t n, UInt_t istart=0u) const
 
virtual Double_t Get (Double_t, UInt_t i) const
 
virtual UInt_t Get (Double_t *sig, UInt_t n, UInt_t istart=0u) const
 
virtual UInt_t GetLast () const
 Return the real last position used. More...
 
virtual UInt_t GetLength () const
 
virtual UInt_t Import (const BufferIO *buf, const Char_t opt= '_')
 Read the signal into a Buffer. More...
 
virtual Double_t operator[] (UInt_t i) const
 
virtual void Reset (UInt_t l=0u)
 Get the signal from the given array. More...
 
virtual Bool_t Resize (UInt_t, Char_t)=0
 
virtual Bool_t Resize (UInt_t length, char c= '0')
 
virtual void Set (UShort_t val, UInt_t i)
 Method to set the value for a particular bin of the signal. More...
 
virtual UInt_t Set (const UShort_t *sig, UInt_t n, UInt_t istart=0u)
 Method to initialize a subset or the full signal from an array. More...
 
virtual void Set (Short_t val, UInt_t i)
 
virtual UInt_t Set (const Short_t *sig, UInt_t n, UInt_t istart=0u)
 
virtual void Set (UInt_t val, UInt_t i)
 
virtual UInt_t Set (const UInt_t *sig, UInt_t n, UInt_t istart=0u)
 
virtual void Set (Int_t val, UInt_t i)
 
virtual UInt_t Set (const Int_t *sig, UInt_t n, UInt_t istart=0u)
 
virtual void Set (Float_t val, UInt_t i)
 
virtual UInt_t Set (const Float_t *sig, UInt_t n, UInt_t istart=0u)
 
virtual void Set (Double_t val, UInt_t i)
 
virtual UInt_t Set (const Double_t *sig, UInt_t n, UInt_t istart=0u)
 
virtual Bool_t SetAddress (Char_t *external_sig=0x0, UInt_t length=0u)
 To attach an external array (to avoid copies) More...
 
 SignalI (UInt_t length)
 
virtual UInt_t SizeOf (const Char_t opt= '_')
 In memory size for the signal. More...
 
virtual ~SignalI ()
 

Static Public Member Functions

static Double_t Double (Short_t val)
 to convert a Short to Double_t taking into account type's ranges More...
 
static Double_t Double (UShort_t val)
 to convert a UShort to Double_t taking into account type's ranges More...
 
static Double_t Double (Int_t val)
 to convert an Int_t to Double_t taking into account type's ranges More...
 
static Double_t Double (UInt_t val)
 to convert a UInt_t to Double_t taking into account type's ranges More...
 
static Double_t Double (Float_t val)
 to convert a Float_t to Double_t taking into account type's ranges More...
 
static Double_t Double (Double_t val)
 to convert a Double_t to Double_t taking into account type's ranges More...
 
static Float_t Float (Short_t val)
 to convert a Short to Float_t taking into account type's ranges More...
 
static Float_t Float (UShort_t val)
 to convert a UShort to Float_t taking into account type's ranges More...
 
static Float_t Float (Int_t val)
 to convert an Int_t to Float_t taking into account type's ranges More...
 
static Float_t Float (UInt_t val)
 to convert a UInt_t to Float_t taking into account type's ranges More...
 
static Float_t Float (Float_t val)
 to convert a Float_t to Float_t taking into account type's ranges More...
 
static Float_t Float (Double_t val)
 to convert a Double_t to Float_t taking into account type's ranges More...
 
static Int_t Int (Short_t val)
 to convert a Short to Int_t taking into account type's ranges More...
 
static Int_t Int (UShort_t val)
 to convert a UShort to Int_t taking into account type's ranges More...
 
static Int_t Int (Int_t val)
 to convert an Int_t to UShortInt_t taking into account type's ranges More...
 
static Int_t Int (UInt_t val)
 to convert a UInt_t to Int_t taking into account type's ranges More...
 
static Int_t Int (Float_t val)
 to convert a Float_t to Int_t taking into account type's ranges More...
 
static Int_t Int (Double_t val)
 to convert a Double_t to Int_t taking into account type's ranges More...
 
static SignalNew (UInt_t length, const char *type="US")
 method to allocate a new signal More...
 
static Short_t Short (Short_t val)
 to convert a Short to Short taking into account type's ranges More...
 
static Short_t Short (UShort_t val)
 to convert a UShort to Short taking into account type's ranges More...
 
static Short_t Short (Int_t val)
 to convert an Int_t to Short taking into account type's ranges More...
 
static Short_t Short (UInt_t val)
 to convert a UInt_t to Short taking into account type's ranges More...
 
static Short_t Short (Float_t val)
 to convert a Float_t to Short taking into account type's ranges More...
 
static Short_t Short (Double_t val)
 to convert a Double_t to Short taking into account type's ranges More...
 
static UInt_t UInt (Short_t val)
 to convert a Short to UInt_t taking into account type's ranges More...
 
static UInt_t UInt (UShort_t val)
 to convert a UShort to UInt_t taking into account type's ranges More...
 
static UInt_t UInt (Int_t val)
 to convert an Int_t to UInt_t taking into account type's ranges More...
 
static UInt_t UInt (UInt_t val)
 to convert a UInt_t to UInt_t taking into account type's ranges More...
 
static UInt_t UInt (Float_t val)
 to convert a Float_t to UInt_t taking into account type's ranges More...
 
static UInt_t UInt (Double_t val)
 to convert a Double_t to UInt_t taking into account type's ranges More...
 
static UShort_t UShort (Short_t val)
 to convert a Short to UShort taking into account type's ranges More...
 
static UShort_t UShort (UShort_t val)
 to convert a UShort to UShort taking into account type's ranges More...
 
static UShort_t UShort (Int_t val)
 to convert an Int_t to UShort taking into account type's ranges More...
 
static UShort_t UShort (UInt_t val)
 to convert a UInt_t to UShort taking into account type's ranges More...
 
static UShort_t UShort (Float_t val)
 to convert a Float_t to UShort taking into account type's ranges More...
 
static UShort_t UShort (Double_t val)
 to convert a Double_t to UShort taking into account type's ranges More...
 

Protected Member Functions

virtual Bool_t Reserve (UInt_t length, char c= '0')
 to change the size of the current array More...
 

Protected Attributes

UInt_t fLast
 
UInt_t fLength
 
UInt_t fRealLength
 length of the signal More...
 
Int_t * fSignal
 Real length of the signal. More...
 

Detailed Description

Definition at line 1699 of file Signals.h.


The documentation for this class was generated from the following file: