]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD.h
New DA to run as a monitoring DA on PHSYICS and STANDALONE runs, it creates a noise map
[u/mrichter/AliRoot.git] / FMD / AliFMD.h
index 449761f2ab04756772896f3b50ba4c2f6c625f42..442fe862efcd7ea1bd8750bdd1d1bbaab0c74c89 100644 (file)
     @b Contents 
     - @ref intro 
     - @ref structure 
-      - @ref base  (see also @ref FMD_base)
-      - @ref sim   (see also @ref FMD_sim)
-      - @ref rec   (see also @ref FMD_rec)
-      - @ref util  (see also @ref FMD_util)
-    - @ref script  (see also @ref FMD_script)
+      - @ref base     (see also @ref FMD_base)
+      - @ref sim      (see also @ref FMD_sim)
+      - @ref rec      (see also @ref FMD_rec)
+      - @ref flow     (see also @ref FMD_flow)
+      - @ref ana      (see also @ref FMD_ana)
+      - @ref util     (see also @ref FMD_util)
+    - @ref script     (see also @ref FMD_script)
     - @ref quick
     - @ref authors
     
 
     - AliFMDRawReader: Classes to read raw data files. 
 
+    @subsection flow libFMDflow:
+    
+    This library contains flow analysis code that works similar to 
+    histograms. 
+
+    @subsection ana libFMDanalysis:
+    
+    This library contains analysis code.
+
+
     @subsection util libFMDutil:
 
     This currently (18th or March 2006) contains the classes 
 #ifndef ALIDETECTOR_H  
 # include <AliDetector.h>
 #endif
+#ifndef ROOT_TArrayI
+# include <TArrayI.h>
+#endif
 class TBranch;
 class TClonesArray;
 class TBrowser;
 class TMarker3DBox;
+class TArrayI;
 class AliDigitizer;
 class AliFMDHit;
 
@@ -333,22 +349,9 @@ public:
   
   /** @{*/
   /** @name Graphics and event display */
-  /** Build simple ROOT TNode geometry for event display. With the new
-      geometry modeller, TGeoManager, this seems rather redundant. */
-  virtual        void   BuildGeometry();
   /** Draw a shaded view of the Forward multiplicity detector.  This 
       isn't really useful anymore. */
-  virtual        void   DrawDetector();
-  /** Calculate the distance from the mouse to the FMD on the screen
-      Dummy routine */
-  virtual        Int_t  DistancetoPrimitive(Int_t px, Int_t py);
-  /** Store x, y, z of all hits in memory for display. 
-      Normally, the hits are drawn using TPolyMarker3D - however, that
-      is not very useful for the FMD.  Therefor, this member function
-      is overloaded to make TMarker3D, via the class AliFMDPoints.
-      AliFMDPoints is a local class. 
-      @param track the track number to load the hits for */
-  virtual        void   LoadPoints(Int_t track);
+  virtual        void   DrawDetector() {}
   /** @}*/
   
   /** @{ */
@@ -442,14 +445,16 @@ public:
       @param count1    ADC count (a 10-bit word)
       @param count2    ADC count (a 10-bit word), or -1 if not used
       @param count3    ADC count (a 10-bit word), or -1 if not used */
-  virtual        void   AddDigitByFields(UShort_t detector=0, 
-                                        Char_t   ring='\0', 
-                                        UShort_t sector=0, 
-                                        UShort_t strip=0, 
-                                        UShort_t count1=0, 
-                                        Short_t  count2=-1, 
-                                        Short_t  count3=-1, 
-                                        Short_t  count4=-1);
+  virtual        void   AddDigitByFields(UShort_t       detector=0, 
+                                        Char_t         ring='\0', 
+                                        UShort_t       sector=0, 
+                                        UShort_t       strip=0, 
+                                        UShort_t       count1=0, 
+                                        Short_t        count2=-1, 
+                                        Short_t        count3=-1, 
+                                        Short_t        count4=-1, 
+                                        UShort_t       nrefs=0,
+                                        Int_t*         refs=0);
   /** Add a digit to the Digit tree 
       @param digits
       - digits[0]  [UShort_t] Detector #
@@ -474,17 +479,18 @@ public:
       @param count1    ADC count (a 10-bit word)
       @param count2    ADC count (a 10-bit word), or -1 if not used 
       @param count3    ADC count (a 10-bit word), or -1 if not used */
-  virtual        void   AddSDigitByFields(UShort_t detector=0, 
-                                         Char_t   ring='\0', 
-                                         UShort_t sector=0, 
-                                         UShort_t strip=0, 
-                                         Float_t  edep=0,
-                                         UShort_t count1=0, 
-                                         Short_t  count2=-1, 
-                                         Short_t  count3=-1,
-                                         Short_t  count4=-1, 
-                                         UShort_t ntot=0, 
-                                         UShort_t nprim=0);
+  virtual        void   AddSDigitByFields(UShort_t       detector=0, 
+                                         Char_t         ring='\0', 
+                                         UShort_t       sector=0, 
+                                         UShort_t       strip=0, 
+                                         Float_t        edep=0,
+                                         UShort_t       count1=0, 
+                                         Short_t        count2=-1, 
+                                         Short_t        count3=-1,
+                                         Short_t        count4=-1, 
+                                         UShort_t       ntot=0, 
+                                         UShort_t       nprim=0,
+                                         Int_t*         refs=0);
   /** @}*/
 
   /** @{ */
@@ -503,16 +509,30 @@ public:
 
   /** @{ */
   /** @name Raw data */
-  /** Turn digits into raw data. This uses the class AliFMDRawWriter
-      to do the job.   Please refer to that class for more
-      information. */
-  virtual        void   Digits2Raw();
+  /** 
+   * Turn digits into raw data. This uses the class AliFMDRawWriter to
+   * do the job.  Please refer to that class for more information.
+   */
+  virtual void   Digits2Raw();
+  /** 
+   * Convert raw data to sdigits
+   * 
+   * @param reader Raw reader
+   * 
+   * @return @c true on success
+   */
+  virtual Bool_t Raw2SDigits(AliRawReader* reader);
   /** @}*/
 
   /** @{ */
-  /** @name Utility */
-  /** Browse this object 
-      @param b Browser to show this object in */
+  /** 
+   * @name Utility 
+   */
+  /** 
+   * Browse this object 
+   *
+   * @param b Browser to show this object in 
+   */
   void   Browse(TBrowser* b);
   /** @}*/
 protected: