]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHRecHit3D.cxx
Set Getters to be const and general fixed up and added some extra setters
[u/mrichter/AliRoot.git] / RICH / AliRICHRecHit3D.cxx
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 /* $Id$ */
17
18
19 #include "AliRICHRecHit3D.h"
20  
21 ClassImp(AliRICHRecHit3D)
22
23 AliRICHRecHit3D::AliRICHRecHit3D(Int_t id, Float_t *rechit, Float_t omega, Float_t theta, Float_t phi)
24 {
25     //
26     // Creates a RICH rec. hit object
27     //
28     id++;//to remove warning
29     fTheta        = rechit[0];
30     fPhi          = rechit[1];
31     fOmega        = rechit[2];
32     fX            = rechit[3];
33     fY            = rechit[4];
34     fMeanRadius   = rechit[5];
35     fOriginalOmega = omega;
36     fOriginalTheta = theta;
37     fOriginalPhi = phi;
38 }
39
40