Update master to aliroot
[u/mrichter/AliRoot.git] / HLT / sim / AliHLTGenerator.cxx
CommitLineData
4aa41877 1#include "AliHLTGenerator.h"
ef0a3c5b 2
3
4aa41877 4ClassImp(AliHLTGenerator)
ef0a3c5b 5
4aa41877 6AliHLTGenerator::AliHLTGenerator()
ef0a3c5b 7{
8
9}
10
4aa41877 11AliHLTGenerator::~AliHLTGenerator()
ef0a3c5b 12{
13
14}
15
4aa41877 16void AliHLTGenerator::Generate()
ef0a3c5b 17{
18 Float_t pt[3];
19 for(Int_t i=0; i<fNpart; i++)
20 {
21 TParticle *p = part[i];
22 gAlice->SetTrack(fTrackIt,-1,p->GetPdgCode(),fP,fOrigin.GetArray(),polar,0,kPPrimary,nt);
23
24 }
25
26}