Update master to aliroot
[u/mrichter/AliRoot.git] / HLT / sim / AliHLTGenerator.cxx
... / ...
CommitLineData
1#include "AliHLTGenerator.h"
2
3
4ClassImp(AliHLTGenerator)
5
6AliHLTGenerator::AliHLTGenerator()
7{
8
9}
10
11AliHLTGenerator::~AliHLTGenerator()
12{
13
14}
15
16void AliHLTGenerator::Generate()
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}