Base class for a Signal. More...
#include <Signals.h>
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 =0 |
Write the signal into a Buffer. More... | |
virtual UShort_t | Get (UShort_t, UInt_t) const =0 |
Method to get the value for a particular bin of the signal. More... | |
virtual Short_t | Get (Short_t, UInt_t) const =0 |
virtual UInt_t | Get (UInt_t, UInt_t) const =0 |
virtual Int_t | Get (Int_t, UInt_t) const =0 |
virtual Float_t | Get (Float_t, UInt_t) const =0 |
virtual Double_t | Get (Double_t, UInt_t) const =0 |
virtual UInt_t | Get (UShort_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
Method to extract a subset of the signal with conversion. More... | |
virtual UInt_t | Get (Short_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
virtual UInt_t | Get (UInt_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
virtual UInt_t | Get (Int_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
virtual UInt_t | Get (Float_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
virtual UInt_t | Get (Double_t *sig, UInt_t n, UInt_t istart=0u) const =0 |
virtual UInt_t | GetLast () const |
Return the real last position used. More... | |
virtual UInt_t | GetLength () const =0 |
virtual UInt_t | Import (const BufferIO *buf, const Char_t opt= '_')=0 |
Read the signal into a Buffer. More... | |
virtual Double_t | operator[] (UInt_t i) const |
virtual void | Reset (UInt_t l=0u)=0 |
Get the signal from the given array. More... | |
virtual Bool_t | Resize (UInt_t, Char_t)=0 |
virtual void | Set (UShort_t, UInt_t)=0 |
Method to set the value for a particular bin of the signal. More... | |
virtual void | Set (Short_t, UInt_t)=0 |
virtual void | Set (UInt_t, UInt_t)=0 |
virtual void | Set (Int_t, UInt_t)=0 |
virtual void | Set (Float_t, UInt_t)=0 |
virtual void | Set (Double_t, UInt_t)=0 |
virtual UInt_t | Set (const UShort_t *sig, UInt_t n, UInt_t istart=0u)=0 |
Method to initialize a subset or the full signal from an array. More... | |
virtual UInt_t | Set (const Short_t *sig, UInt_t n, UInt_t istart=0u)=0 |
virtual UInt_t | Set (const UInt_t *sig, UInt_t n, UInt_t istart=0u)=0 |
virtual UInt_t | Set (const Int_t *sig, UInt_t n, UInt_t istart=0u)=0 |
virtual UInt_t | Set (const Float_t *sig, UInt_t n, UInt_t istart=0u)=0 |
virtual UInt_t | Set (const Double_t *sig, UInt_t n, UInt_t istart=0u)=0 |
virtual Bool_t | SetAddress (Char_t *=0x0, UInt_t=0u) |
To attach an external array (to avoid copies) More... | |
virtual UInt_t | SizeOf (const Char_t opt= '_')=0 |
In memory size for the signal. More... | |
virtual | ~Signal () |
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 Signal * | New (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 | |
Signal () | |
temporary More... | |
Protected Attributes | |
UInt_t | fLast |
Base class for a Signal.
A signal is composed of an array of basic values : short, integer, or real