24 #ifndef ADF_CrystalFrame
25 #define ADF_CrystalFrame
27 #ifndef ADF_AgataDataFrame
30 #ifndef ADF_ADFObjects
52 GeSegment(UInt_t length,
const char *type) : fStatus(0u), fID(0u), fE(0.0), fSignal(0x0)
64 virtual Double_t
GetE()
const
66 virtual void SetE(Double_t e)
74 virtual void Reset(UInt_t l = 0u)
75 { fStatus = fID = 0u; fE = 0.0; fSignal->
Reset(l); }
89 GeCore(UInt_t length,
const char *type):
93 virtual Double_t
GetT()
const
95 virtual void SetT(Double_t t)
98 virtual void Reset(UInt_t l = 0u)
118 virtual Int_t
GetUID()
const = 0;
120 virtual void SetUID(Int_t) = 0;
virtual Double_t GetE() const
virtual void SetStatus(UShort_t s)
virtual GeCore * GetCore(UShort_t)=0
to get each core
static const UShort_t kNbCores
static Signal * New(UInt_t length, const char *type="US")
method to allocate a new signal
virtual GeSegment * GetSegment(UShort_t)=0
to get individual segment
virtual Signal * GetSignal()
General interface for a AgataDataFrame.
virtual ~CrystalInterface()
virtual void SetUID(Int_t)=0
to set the crystal ID
General interface for a CrystalFrame.
Data produced fro a Crystal.
header file for AgataDataFrame.cpp
virtual void Reset(UInt_t l=0u)=0
Get the signal from the given array.
virtual void SetID(UShort_t id)
static UInt_t kDefaultLength
virtual void Reset(UInt_t l=0u)
virtual Int_t GetUID() const =0
to get the crystal ID
virtual void SetE(Double_t e)
virtual UShort_t GetStatus() const
header file for ADFObjects.cpp
virtual Double_t GetT() const
virtual UShort_t GetID() const
virtual void Reset(UInt_t l=0u)
Base class for a DataInterface.
virtual void SetT(Double_t t)
GeCore(UInt_t length, const char *type)
GeSegment(UInt_t length, const char *type)
static const UShort_t kNbSegments