]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFT0.h
Shuttle debugging line removed.
[u/mrichter/AliRoot.git] / TOF / AliTOFT0.h
index 6683d4c4cfc49ccfce4af34719613ae3ead97197..64c7f08df80643ab2ccbeacd64fb8f1e1868b087 100644 (file)
@@ -3,30 +3,28 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-
-//_________________________________________________________________________
-//  Task Class for calculating the time zero of interaction using TOF      
-//  The input file need the track length till TOF detector                 
-//  It can be done modifyng the AliTOFvj StepManager and the AliTOFHit class
-//  as follow 
-//-- Author: F. Pierella
-
+//_____________________________________________________________________________//
+//                                                                             //
+//  Task Class for calculating the time zero of interaction using TOF          //
+//  The input file need the track length till TOF detector                     //
+//  It can be done modifyng the AliTOFvj StepManager and the AliTOFHit class   //
+//  as follow                                                                  //
+//                                                                             //
+//-- Author: F. Pierella                                                       //
+//                                                                             //
+//_____________________________________________________________________________//
 
 #include "TTask.h"
-#include "TString.h"
-#include "TObjString.h"
-#include "AliTOF.h"
-#include "AliDetector.h"
 
-class TClonesArray;
+class TString;
 
 class AliTOFT0: public TTask {
 
 public:
   AliTOFT0() ;          // ctor
   AliTOFT0(char* headerFile, Int_t nEvents=0) ; 
-  AliTOFT0(const AliTOFT0 & tzero) 
-                  {( (AliTOFT0 &)tzero ).Copy(*this) ;} 
+  AliTOFT0(const AliTOFT0 & tzero);
+//////                  {( (AliTOFT0 &)tzero ).Copy(*this) ;} 
   virtual ~AliTOFT0() ; // dtor
   /*
   AliTOFT0 & operator = (const AliTOFT0 & rvalue)  {
@@ -43,21 +41,18 @@ public:
   void          SetTZeroFile(char* file) ;
   void          SetMomBounds(Float_t pLow, Float_t pUp) { fLowerMomBound=pLow; fUpperMomBound=pUp;} // momenta are expressed in [GeV/c]
   virtual void  Print(Option_t* option) const ;
-  TClonesArray *Hits() const {return fHits;}
   Bool_t   operator == (const AliTOFT0 & tzero) const ;
 
-private:
+ protected:
+
+ private:
   Int_t   fNevents;         // Number of events for which calculate the T0
   Float_t fTimeResolution;  // global time resolution used to calculate T0
   Float_t fLowerMomBound;   // momentum lower bound for selected primary tracks 
   Float_t fUpperMomBound;   // momentum upper bound for selected primary tracks 
   TString fT0File ;         // output file; it contains for time being only 3 histos 
-  TClonesArray *fHits;      // array of AliTOFhitT0 
   TString fHeadersFile;     // input file
 
- protected:
-
-
   ClassDef(AliTOFT0,1)  // Calculate the time zero using TOF detector
 
 };