]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDv1.h
Whoops, referenced wrong config file
[u/mrichter/AliRoot.git] / FMD / AliFMDv1.h
index 2fcc2dcb5c77a27ae3331f25ff272ea3ebb0e0f9..ddb8d13a8651437066b02bdac8ea0b226a2129f1 100644 (file)
@@ -1,39 +1,52 @@
 #ifndef ALIFMDV1_H
 #define ALIFMDV1_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
+ * reserved. 
+ *
+ * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
+ *
+ * See cxx source for full Copyright notice                               
+ */
 
-///////////////////////////////////////////////
-//  Manager and hits classes for set:FMD     //
-////////////////////////////////////////////////
-#include "AliFMD.h"
-#include "AliFMDSDigitizer.h"
+//____________________________________________________________________
+//
+//  Manager class for the FMD - Detailed version. 
+//
+#ifndef ALIFMD_H 
+# include "AliFMD.h"
+#endif
+#ifndef ROOT_TLorentzVector
+# include <TLorentzVector.h>
+#endif
  
-class AliFMDv1 : public AliFMD {
-  
+//____________________________________________________________________
+class AliFMDv1 : public AliFMD 
+{
 public:
-  AliFMDv1() {};
-  AliFMDv1(const char *name, const char *title);
-  virtual       ~AliFMDv1() {}
-  virtual void   CreateGeometry();
-  virtual void   CreateMaterials();
-  virtual void   DrawDetector();
-  virtual void   Init();
-  virtual Int_t  IsVersion() const {return 0;}
-  virtual void   StepManager();
+  AliFMDv1() {}
+  AliFMDv1(const char *name, const char *title="Detailed geometry") 
+    : AliFMD(name, title, true) 
+  {}
+  virtual ~AliFMDv1() {}
 
+  // Required member functions 
+  virtual Int_t  IsVersion() const {return 1;}
+  virtual void   StepManager();
 protected:
-   Int_t fIdSens1; // Sensetive volume  in FMD
-   
-// Background event for event mixing
-   Text_t *fFileName;           // ! File with background hits
-   TTree *fTrH1;                // Hits Tree for background event
-   TClonesArray *fHits2;        // List of hits for one track only
+  Double_t   fCurrentDeltaE;        // The current accumelated energy loss
+  TLorentzVector fCurrentV;         // Current production vertex 
+  TLorentzVector fCurrentP;         // Current momentum vector 
+  Int_t          fCurrentPdg;       // Current PDG code 
   
-   ClassDef(AliFMDv1,2)  //Class for FMD version 0
+  ClassDef(AliFMDv1,3)  // Detailed FMD geometry
 };
 
 #endif
-
-
+//____________________________________________________________________
+//
+// Local Variables:
+//   mode: C++
+// End:
+//
+// EOF
+//