]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/AliSignal.cxx
Introduction of the Copyright and cvs Log
[u/mrichter/AliRoot.git] / RALICE / AliSignal.cxx
CommitLineData
4c039060 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
18*/
19
d88f97cc 20#include "AliSignal.h"
21
22ClassImp(AliSignal) // Class implementation to enable ROOT I/O
23
24AliSignal::AliSignal()
25{
26// Creation of an AliSignal object and initialisation of parameters
27 Reset();
28}
29///////////////////////////////////////////////////////////////////////////
30AliSignal::~AliSignal()
31{
32// Destructor to delete dynamically allocated memory
33}
34///////////////////////////////////////////////////////////////////////////
35void AliSignal::Reset()
36{
37// Reset all values
38 Float_t r[3]={0,0,0};
39 SetPosition(r,"sph");
40 fSignal=0;
41}
42///////////////////////////////////////////////////////////////////////////
43void AliSignal::SetSignal(Float_t sig)
44{
45// Store signal value
46 fSignal=sig;
47}
48///////////////////////////////////////////////////////////////////////////
49Float_t AliSignal::GetSignal()
50{
51// Provide signal value
52 return fSignal;
53}
54///////////////////////////////////////////////////////////////////////////