]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFT0.h
fix AliHLTGlobalEsdConverterComponent
[u/mrichter/AliRoot.git] / TOF / AliTOFT0.h
index 27ea0226db18235a18d44f765f1db9fd22403d1f..bd85a966eac234bf76475863c3162126d7f44c0f 100644 (file)
@@ -3,38 +3,29 @@
 /* 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);
   virtual ~AliTOFT0() ; // dtor
-  /*
-  AliTOFT0 & operator = (const AliTOFT0 & rvalue)  {
-    // assignement operator requested by coding convention but not needed
-    abort() ;
-    return *this ; 
-  }
-  */
+  AliTOFT0 & operator = (const AliTOFT0 & tzero);
   const char*   GetTZeroFile() const {return fT0File.Data();}  
   virtual void  Exec(Option_t *option); 
   void          SetNEvents(Int_t nEvents) {fNevents = nEvents;}
@@ -45,7 +36,9 @@ public:
   virtual void  Print(Option_t* option) const ;
   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 
@@ -53,8 +46,6 @@ private:
   TString fT0File ;         // output file; it contains for time being only 3 histos 
   TString fHeadersFile;     // input file
 
- protected:
-
   ClassDef(AliTOFT0,1)  // Calculate the time zero using TOF detector
 
 };