]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDInput.h
Realisation of VEventHandler for input events.
[u/mrichter/AliRoot.git] / FMD / AliFMDInput.h
index aeb4ce23df5e6595b58daf3f495cf14c89f77acd..66978859c11d7a338680c2ba899aa0e3b0678bd5 100644 (file)
@@ -30,6 +30,9 @@
 #ifndef ROOT_TString
 # include <TString.h>
 #endif
+#ifndef ROOT_TArrayF
+# include <TArrayF.h>
+#endif
 class AliRunLoader;
 class AliLoader;
 class AliStack;
@@ -223,7 +226,12 @@ public:
       @return  @c false on error  */
   virtual Bool_t ProcessESD(UShort_t, Char_t, UShort_t, UShort_t, 
                            Float_t, Float_t);
-  
+  /** Service function to make a logarithmic axis. 
+      @param n    Number of bins 
+      @param min  Minimum of axis 
+      @param max  Maximum of axis. 
+      @return An array with the bin boundaries. */
+  static TArrayF MakeLogScale(Int_t n, Double_t min, Double_t max);
 protected:
   /** Copy ctor 
       @param o Object to copy from  */
@@ -284,6 +292,7 @@ protected:
   TGeoManager*  fGeoManager; // Geometry manager
   Int_t         fTreeMask;   // Which tree's to load
   Bool_t        fIsInit;     // Have we been initialized 
+  Int_t         fEventCount; // Event counter 
   ClassDef(AliFMDInput,0)  //Hits for detector FMD
 };