Added maikes classes
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2002 12:13:37 +0000 (12:13 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2002 12:13:37 +0000 (12:13 +0000)
HLT/sim/AliL3Generator.cxx [new file with mode: 0644]
HLT/sim/AliL3Generator.h [new file with mode: 0644]

diff --git a/HLT/sim/AliL3Generator.cxx b/HLT/sim/AliL3Generator.cxx
new file mode 100644 (file)
index 0000000..6affaed
--- /dev/null
@@ -0,0 +1,26 @@
+#include "AliL3Generator.h"
+
+
+ClassImp(AliL3Generator)
+
+AliL3Generator::AliL3Generator()
+{
+
+}
+
+AliL3Generator::~AliL3Generator()
+{
+
+}
+
+void AliL3Generator::Generate()
+{
+  Float_t pt[3];
+  for(Int_t i=0; i<fNpart; i++)
+    {
+      TParticle *p = part[i];
+      gAlice->SetTrack(fTrackIt,-1,p->GetPdgCode(),fP,fOrigin.GetArray(),polar,0,kPPrimary,nt);
+      
+    }
+
+}
diff --git a/HLT/sim/AliL3Generator.h b/HLT/sim/AliL3Generator.h
new file mode 100644 (file)
index 0000000..608913d
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef ALIL3GENERATOR_H
+#define ALIL3GENERATOR_H
+
+#include "AliL3RootTypes.h"
+#include "AliGenerator.h"
+
+class AliL3Generator : public AliGenerator {
+
+ private:
+  
+  
+  
+
+ public:
+  AliL3Generator();
+  virtual ~AliL3Generator();
+  
+  void Generate();
+  void Init();
+  void ReadParticles(TClonesArray *particles);
+
+  ClassDef(AliL3Generator,1)
+};