1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.1 2000/11/03 16:49:53 schutz
19 New class AliPHOSCPVHit
23 ////////////////////////////////////////////////
26 // Author: Yuri Kharlov, IHEP, Protvino //
27 // e-mail: Yuri.Kharlov@cern.ch //
28 // Last modified: 28 September 2000 //
29 ////////////////////////////////////////////////
31 // --- ROOT system ---
33 // --- Standard library ---
36 // --- galice header files ---
37 #include "AliPHOSCPVHit.h"
40 ClassImp(AliPHOSCPVHit)
42 //______________________________________________________________________________
44 AliPHOSCPVHit::AliPHOSCPVHit(Int_t shunt, Int_t track, TLorentzVector p, Float_t *xy, Int_t ipart)
45 : AliHit(shunt, track)
48 // Create a CPV hit object
57 //______________________________________________________________________________
58 void AliPHOSCPVHit::Print()
64 printf("CPV hit: p = (% .4f, % .4f, % .4f, % .4f) GeV,\n",
65 fMomentum.Px(),fMomentum.Py(),fMomentum.Pz(),fMomentum.E());
66 printf(" xy = (%8.4f, %8.4f) cm, ipart = %d\n",