Complete rewrite of the FMD code.
[u/mrichter/AliRoot.git] / FMD / Reconstruct.C
similarity index 73%
rename from FMD/AliFMDhit.cxx
rename to FMD/Reconstruct.C
index 4d75aa17bd28827e05fe96b488f1e55ee5adeb1d..c8aa8a9ae35c9d9589e83add11587ca4c5bce53a 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-#include "AliFMDhit.h"
 
-ClassImp(AliFMDhit)
+/* $Id$ */
 
-AliFMDhit::AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
-  AliHit(shunt, track)
+// Script to do test the FMD digitization class. 
+
+void 
+Reconstruct()
 {
-//Normal FMD  hit ctor
-  fVolume = vol[0];
-  fNumberOfSector=vol[1];
-  fNumberOfRing=vol[2];
-  fX=hits[0];
-  fY=hits[1];
-  fZ=hits[2];
-  fPx=hits[3];
-  fPy=hits[4];
-  fPz=hits[5];
-  fEdep=hits[6];
-  fParticle=(Int_t)hits[7];
-  fTime=hits[8];
+   AliReconstruction rec;   
+   rec.SetRunLocalReconstruction("FMD");
+   rec.SetRunVertexFinder(kFALSE);
+   rec.SetRunTracking(kFALSE); 
+   rec.SetFillESD(""); 
+   rec.SetInput("./");
+   rec.Run(); 
 }
-
-
-
-
-
-
-
-
-
-
-
-
 
+//
+// EOF
+//