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 //*-- Author: Renan Cabrera (Creighton U.)
20 #include "AliEMCALParton.h"
22 #include <Riostream.h>
23 ClassImp(AliEMCALParton)
25 //____________________________________________________________________________
26 AliEMCALParton::AliEMCALParton()
28 // Default constructor
36 AliEMCALParton::AliEMCALParton(Float_t energy, Float_t phi, Float_t eta)
49 void AliEMCALParton::SetTrackList(Int_t NTracks, Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
53 for (Int_t i=0;i<NTracks;i++)
55 fTrackEnergy[i] = Energy[i] ;
56 fTrackEta[i] = Eta[i];
57 fTrackPhi[i] = Phi[i];
58 fTrackPDG[i] = PDG[i];
62 void AliEMCALParton::GetTrackList(Float_t* Energy, Float_t* Eta, Float_t* Phi, Int_t* PDG)
64 for (Int_t i=0;i<fNTracks;i++)
66 Energy[i] = fTrackEnergy[i] ;
67 Eta[i] = fTrackEta[i];
68 Phi[i] = fTrackPhi[i];
69 PDG[i] = fTrackPDG[i];
74 //____________________________________________________________________________
76 AliEMCALParton::~AliEMCALParton()