]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJetKineReader.h
First commit of new jet reconstruction and analysis code to be used for the
[u/mrichter/AliRoot.git] / JETAN / AliJetKineReader.h
diff --git a/JETAN/AliJetKineReader.h b/JETAN/AliJetKineReader.h
new file mode 100644 (file)
index 0000000..366868f
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef ALIJETKINEREADER_H
+#define ALIJETKINEREADER_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+// Jet Kine Reader 
+// MC Kinematics reader for jet analysis
+// Author: Andreas Morsch (andreas.morsch@cern.ch)
+
+#include "AliJetReader.h"
+
+class AliRunLoader;
+
+class AliJetKineReader : public AliJetReader
+{
+ public: 
+  AliJetKineReader();
+  virtual ~AliJetKineReader();
+
+  // Getters
+  Float_t GetParticleMass() const {return fMass;}        // returns mass of the Track
+  Int_t   GetParticlePdgCode() const {return fPdgC;}     // returns Pdg code
+
+  // Setters
+  void FillMomentumArray(Int_t event);
+  void OpenInputFiles();
+
+ protected:
+  AliRunLoader           *fRunLoader; // Pointer to the run loader
+  
+  Float_t fMass;                      // Particle mass
+  Int_t   fPdgC;                      // Pdg code
+  ClassDef(AliJetKineReader,1)
+};
+#endif