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 **************************************************************************/
20 ////////////////////////////////////////////////
23 // Author: Yuri Kharlov, IHEP, Protvino //
24 // e-mail: Yuri.Kharlov@cern.ch //
25 // Last modified: 28 September 2000 //
26 ////////////////////////////////////////////////
28 // --- ROOT system ---
30 // --- Standard library ---
33 // --- galice header files ---
34 #include "AliPHOSCPVHit.h"
37 ClassImp(AliPHOSCPVHit)
39 //______________________________________________________________________________
41 AliPHOSCPVHit::AliPHOSCPVHit(TLorentzVector p, Float_t *xy, Int_t ipart)
44 // Create a CPV hit object
53 //______________________________________________________________________________
54 void AliPHOSCPVHit::Print()
60 printf("CPV hit: p = (% .4f, % .4f, % .4f, % .4f) GeV,\n",
61 GetMomentum().Px(),GetMomentum().Py(),GetMomentum().Pz(),GetMomentum().E());
62 printf(" xy = (%8.4f, %8.4f) cm, ipart = %d\n",