]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/AliSignal.h
Removing files
[u/mrichter/AliRoot.git] / RALICE / AliSignal.h
1 #ifndef ALISIGNAL_H
2 #define ALISIGNAL_H
3 ///////////////////////////////////////////////////////////////////////////
4 // Class AliSignal
5 // Handling of ALICE (extrapolated) signals.
6 //
7 // Note :
8 // ------
9 // Signal positions (r) and reference frames (f) are specified via
10 // SetPosition(r,f) under the following conventions :
11 //
12 // f="car" ==> r is Cartesian   (x,y,z)
13 // f="sph" ==> r is Spherical   (r,theta,phi)
14 // f="cyl" ==> r is Cylindrical (rho,phi,z)
15 //
16 // All angles are in radians.
17 //
18 // Example :
19 // ---------
20 //
21 // AliSignal s;
22 // Float_t pos[3]={-1,25,7};
23 // Float_t signal=120.8;
24 // s.SetPosition(pos,"car");
25 // s.SetSignal(signal);
26 // Float_t loc[3];
27 // s.GetPosition(loc,"sph");
28 // Float_t adc=s.GetSignal();
29 //
30 //--- NvE 23-jan-1999 UU-SAP Utrecht
31 ///////////////////////////////////////////////////////////////////////////
32
33 #include "AliPosition.h"
34
35 class AliSignal : public TObject,public AliPosition
36 {
37  public:
38   AliSignal();                         // Default constructor
39   ~AliSignal();                        // Destructor
40   virtual void SetSignal(Float_t sig); // Store signal value
41   virtual Float_t GetSignal();         // Provide signal value
42   virtual void Reset();                // Reset all values to 0
43
44  protected:
45   Float_t fSignal; // Signal value
46
47  ClassDef(AliSignal,1) // Class definition to enable ROOT I/O
48 };
49 #endif