26 #ifndef ADF_AgataDataFrame
29 #ifndef ADF_ADFObjects
53 FullHit(), fTrapCCe(0), fTrapCCh(0), fTrapSGe(0), fTrapSGh(0), fStatus(0u) {fID[0] = fID[1] = 0;}
96 virtual Int_t
GetID(Int_t which_id = 0)
const
98 if ( which_id == 0 ) {
106 virtual void SetID(Int_t
id, Int_t which_id = 0)
108 if ( which_id == 0 ) {
122 {
FullHit::Reset(); fTrapCCe=fTrapCCh=fTrapSGe=fTrapSGh=0; fID[0]=fID[1]=0; fStatus=0;}
125 class AgataFrameFactory;
139 virtual Int_t
GetUID()
const = 0;
141 virtual void SetUID(Int_t) = 0;
144 virtual Double_t
GetE(UInt_t = 0u)
const = 0;
146 virtual void SetE(Double_t, UInt_t = 0u) = 0;
149 virtual Double_t
GetT(UInt_t = 0u)
const = 0;
151 virtual void SetT(Double_t, UInt_t = 0u) = 0;
161 virtual const Hit *
GetHit(UShort_t)
const = 0;
virtual UShort_t GetNbHits() const =0
To know the number of Hits currently on the stack.
virtual void SetTrapCCe(Double_t v)
virtual UShort_t GetStatus() const
virtual Double_t GetTrapCCh() const
virtual void SetTrapCCh(Double_t v)
virtual Double_t GetE(UInt_t=0u) const =0
to get the energy associated to the core
General interface for a AgataDataFrame.
virtual Double_t GetTrapSGe() const
virtual Int_t GetUID() const =0
to get the crystal ID
virtual Double_t GetDY() const
virtual Double_t GetT(UInt_t=0u) const =0
to get the time associated to the core
virtual Double_t GetX() const
virtual Double_t GetE() const
header file for AgataDataFrame.cpp
virtual void SetHit(const PSAHit &ahit)
virtual void SetUID(Int_t)=0
to set the crystal ID
virtual void SetTrapSGe(Double_t v)
virtual void SetE(Double_t, UInt_t=0u)=0
to set the energy associated to the core
virtual void SetE(Double_t e)
virtual Double_t GetZ() const
virtual Double_t GetDX() const
virtual Double_t GetT() const
virtual Bool_t DoConfigure(std::istream &)
configure this from an input stream
virtual void SetHit(const Hit &ahit)
to fully copy a Hit into another one. In principle, no need to overwritte it as soon as the interface...
AgataFrameFactory, implements agata's like Frame Factory.
virtual void SetTrapSGh(Double_t v)
virtual void SetXYZ(Double_t x, Double_t y, Double_t z)
virtual void SetDXYZ(Double_t dx, Double_t dy, Double_t dz)
virtual Hit * NewHit()=0
Add a NewHit to the stack of Hits associated to this PSAFrame.
virtual Int_t GetID(Int_t which_id=0) const
get crystal/segment id. if which_id > 0, get crystal ID.
virtual Double_t GetTrapCCe() const
virtual void SetT(Double_t t)
virtual void SetDT(Double_t dt)
virtual void SetT(Double_t, UInt_t=0u)=0
to set the time associated to the core
header file for ADFObjects.cpp
virtual void SetID(Int_t id, Int_t which_id=0)
set crystal/segment id. if which_id > 0, set crystal ID.
virtual Double_t GetTrapSGh() const
virtual Double_t GetDT() const
virtual void SetStatus(UShort_t s)
virtual void SetHit(const Hit &)
to fully copy a Hit into another one. In principle, no need to overwritte it as soon as the interface...
Base class for a DataInterface.
virtual Double_t GetY() const
virtual void SetDE(Double_t de)
virtual Hit * GetHit(UShort_t)=0
To get back a particular Hit (already on the stack !)
virtual Double_t GetDZ() const
virtual Double_t GetDE() const
General interface for a PSAFrame.