This commit was generated by cvs2svn to compensate for changes in r165,
[u/mrichter/AliRoot.git] / RALICE / AliSignal.cxx
CommitLineData
d88f97cc 1#include "AliSignal.h"
2
3ClassImp(AliSignal) // Class implementation to enable ROOT I/O
4
5AliSignal::AliSignal()
6{
7// Creation of an AliSignal object and initialisation of parameters
8 Reset();
9}
10///////////////////////////////////////////////////////////////////////////
11AliSignal::~AliSignal()
12{
13// Destructor to delete dynamically allocated memory
14}
15///////////////////////////////////////////////////////////////////////////
16void AliSignal::Reset()
17{
18// Reset all values
19 Float_t r[3]={0,0,0};
20 SetPosition(r,"sph");
21 fSignal=0;
22}
23///////////////////////////////////////////////////////////////////////////
24void AliSignal::SetSignal(Float_t sig)
25{
26// Store signal value
27 fSignal=sig;
28}
29///////////////////////////////////////////////////////////////////////////
30Float_t AliSignal::GetSignal()
31{
32// Provide signal value
33 return fSignal;
34}
35///////////////////////////////////////////////////////////////////////////