]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHRecHit3D.cxx
new Hits2SDigits.
[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     fTheta        = rechit[0];
29     fPhi          = rechit[1];
30     fOmega        = rechit[2];
31     fX            = rechit[3];
32     fY            = rechit[4];
33     fMeanRadius   = rechit[5];
34     fOriginalOmega = omega;
35     fOriginalTheta = theta;
36     fOriginalPhi = phi;
37 }
38
39