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 **************************************************************************/
19 Revision 1.4 2003/03/17 14:26:06 morsch
20 Updates by M. Horner and J. Klay
22 Revision 1.3 2003/02/05 17:24:25 morsch
23 Modifiactions by M. Horner.
25 Revision 1.2 2002/10/14 14:55:35 hristov
26 Merging the VirtualMC branch to the main development branch (HEAD)
28 Revision 1.1.2.1 2002/08/28 15:06:50 alibrary
31 Revision 1.1 2002/08/21 10:29:29 schutz
32 New classes (by Renan)
36 //*-- Author: Renan Cabrera (Creighton U.)
38 #include "AliEMCALParton.h"
40 #include <Riostream.h>
41 ClassImp(AliEMCALParton)
43 //____________________________________________________________________________
44 AliEMCALParton::AliEMCALParton()
46 // Default constructor
54 AliEMCALParton::AliEMCALParton(Float_t energy, Float_t phi, Float_t eta)
67 void AliEMCALParton::SetTrackList(Int_t NTracks, Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
71 for (Int_t i=0;i<NTracks;i++)
73 fTrackEnergy[i] = Energy[i] ;
74 fTrackEta[i] = Eta[i];
75 fTrackPhi[i] = Phi[i];
76 fTrackPDG[i] = PDG[i];
80 void AliEMCALParton::GetTrackList(Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
82 for (Int_t i=0;i<fNTracks;i++)
84 Energy[i] = fTrackEnergy[i] ;
85 Eta[i] = fTrackEta[i];
86 Phi[i] = fTrackPhi[i];
87 PDG[i] = fTrackPDG[i];
92 //____________________________________________________________________________
94 AliEMCALParton::~AliEMCALParton()