]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFv1.h
First version of kdtree (Alexander, Marian)
[u/mrichter/AliRoot.git] / TOF / AliTOFv1.h
index 3b24ac3325dea3a86bb4e8e5b8ff6876a5f83b03..5f65832fdcf0ed7afbdd91e72961514794729af6 100644 (file)
@@ -1,31 +1,49 @@
-#ifndef TOFv1_H
-#define TOFv1_H
-///////////////////////////////////////////////////////
-//  Manager and hits classes for set:TOF  version 1  //
-///////////////////////////////////////////////////////
+//_________________________________________________________________________
+// Implementation version v1 of TOF Manager class
+// HOLES ONLY FOR PHOS DETECTOR
+//   
+//*-- 
+//*-- Authors: Pierella, Seganti, Vicinanza (Bologna and Salerno University)
+
+#ifndef ALITOFv1_H
+#define ALITOFv1_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 #include "AliTOF.h"
-#include "AliHit.h"
+
  
 class AliTOFv1 : public AliTOF {
  
-protected:
-  Int_t fIdFBT2; // First sensitive element identifier
-  Int_t fIdFBT3; // Second sensitive element identifier
 public:
   AliTOFv1();
   AliTOFv1(const char *name, const char *title);
-  virtual       ~AliTOFv1() {}
+  virtual ~AliTOFv1() {}
+  virtual void   BuildGeometry();
   virtual void   CreateGeometry();
   virtual void   CreateMaterials();
   virtual void   Init();
   virtual Int_t  IsVersion() const {return 1;}
+  virtual void   TOFpc(Float_t xtof,Float_t ytof,Float_t zlenC,Float_t zlenB,
+                       Float_t zlenA,Float_t ztof0);
   virtual void   StepManager();
-  virtual void   DrawDetector();
+  virtual void   DrawModule() const;
+  virtual void   DrawDetectorModules();
+  virtual void   DrawDetectorStrips();
+//  virtual void   DrawDetectorModulesinFrame();
+//  virtual void   DrawDetectorStripsinFrame();
+
+private:
+  Int_t fIdFTOA; // FTOA volume identifier (outer plate A)
+  Int_t fIdFTOB; // FTOB volume identifier (outer plate B)
+  Int_t fIdFTOC; // FTOC volume identifier (outer plate C)
+  Int_t fIdFLTA; // FLTA volume identifier (inner plate A)
+  Int_t fIdFLTB; // FLTB volume identifier (inner plate B)
+  Int_t fIdFLTC; // FLTC volume identifier (inner plate C)
   
-  ClassDef(AliTOFv1,1)  // Time Of Flight version 1
+   ClassDef(AliTOFv1,1)  //Time Of Flight version 1
 };
  
-#endif
+#endif /* ALITOFv1_H */