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.5.4.1 2003/07/08 17:16:50 schutz
22 Revision 1.5 2003/03/17 17:29:54 hristov
23 Using Riostream.h instead of iostream.h
25 Revision 1.4 2003/03/17 14:26:06 morsch
26 Updates by M. Horner and J. Klay
28 Revision 1.3 2003/02/05 17:24:25 morsch
29 Modifiactions by M. Horner.
31 Revision 1.2 2002/10/14 14:55:35 hristov
32 Merging the VirtualMC branch to the main development branch (HEAD)
34 Revision 1.1.2.1 2002/08/28 15:06:50 alibrary
37 Revision 1.1 2002/08/21 10:29:29 schutz
38 New classes (by Renan)
42 //*-- Author: Renan Cabrera (Creighton U.)
44 #include "AliEMCALParton.h"
46 #include <Riostream.h>
47 ClassImp(AliEMCALParton)
49 //____________________________________________________________________________
50 AliEMCALParton::AliEMCALParton()
52 // Default constructor
60 AliEMCALParton::AliEMCALParton(Float_t energy, Float_t phi, Float_t eta)
73 void AliEMCALParton::SetTrackList(Int_t NTracks, Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
77 for (Int_t i=0;i<NTracks;i++)
79 fTrackEnergy[i] = Energy[i] ;
80 fTrackEta[i] = Eta[i];
81 fTrackPhi[i] = Phi[i];
82 fTrackPDG[i] = PDG[i];
86 void AliEMCALParton::GetTrackList(Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
88 for (Int_t i=0;i<fNTracks;i++)
90 Energy[i] = fTrackEnergy[i] ;
91 Eta[i] = fTrackEta[i];
92 Phi[i] = fTrackPhi[i];
93 PDG[i] = fTrackPDG[i];
98 //____________________________________________________________________________
100 AliEMCALParton::~AliEMCALParton()