]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
More docs
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Mar 2006 15:05:02 +0000 (15:05 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Mar 2006 15:05:02 +0000 (15:05 +0000)
FMD/AliFMD.h
FMD/AliFMDAltroIO.h
FMD/AliFMDCalibGain.h
FMD/AliFMDCalibPedestal.h
FMD/AliFMDDetector.h
FMD/AliFMDDigit.h
FMD/AliFMDEdepMap.h
FMD/AliFMDGeometry.h
FMD/AliFMDGeometryBuilder.h
FMD/AliFMDHit.h
FMD/AliFMDUShortMap.h

index 63341830144756b27eee4aa849325b5eefef807a..d55e13d559511323d7512090f52f9baec9808abb 100644 (file)
@@ -8,7 +8,17 @@
  * See cxx source for full Copyright notice                               
  */
 /** @mainpage ALICE FMD Off-line code 
-
+    
+    @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 quick
+    - @ref authors
+    
     @section intro Introduction:
 
     This file contains a short overview of the FMD code.   It is by no 
@@ -37,7 +47,7 @@
       gSystem->Load("libFMDutil.so");
       @endcode
     The content of these libraries is detailed more below. 
-
+    
     @subsection base libFMDbase:
 
     This currently (18th or March 2006) contains the classes 
       dummy) calibration and alignment         data.  These derive from
       TTask.  
 
+    @section quick Quick start 
+
+    First, install ROOT.  Then Install TGeant3: 
+    @verbatim 
+    > cd ~/
+    > mkdir alice
+    > cd alice
+    > cvs -d :pserver:cvs@root.cern.ch:/user/cvs login 
+    Password: cvs
+    > cvs -d :pserver:cvs@root.cern.ch:/user/cvs co geant3
+    > cd geant3
+    > make 
+    @endverbatim 
+
+    Now you can install AliRoot 
+    @verbatim 
+    > cd ../
+    > cvs -d :pserver:cvs@alisoft.cern.ch:/soft/cvsroot login
+    Password: <empty>
+    > cvs -d :pserver:cvs@alisoft.cern.ch:/soft/cvsroot co AliRoot
+    > cd AliRoot
+    > export ALICE_TARGET=`root-config --arch`
+    > export ALICE=${HOME}/alice
+    > export ALICE_ROOT=${ALICE}/AliRoot
+    > export ALICE_LEVEL=new
+    > export LD_LIBRARY_PATH=${ALICE_ROOT}/lib/tgt_${ALICE_TERGET}:${LD_LIBRARY_PATH}
+    > export PATH=${ALICE_ROOT}/bin/tgt_${ALICE_TERGET}:${PATH}
+    > export G3SYS=${ALICE}/geant3
+    > make 
+    @endverbatim 
+    
+    To simulate one event, do something like 
+
+    @verbatim 
+    > aliroot ${ALICE_ROOT}/FMD/Simulate.C
+    @endverbatim 
+
+    To reconstruct the generated event, do 
+    @verbatim 
+    > aliroot ${ALICE_ROOT}/FMD/Reconstruct.C
+    @endverbatim 
+
+    Now, open the file `AliESDs.root' in AliRoot, and browse through  that. 
+
     @section authors Authors:
 
     - Alla Maevskaya           <Alla.Maevskaia@cern.ch>        
@@ -312,7 +366,7 @@ public:
   virtual void          ResetSDigits();
   /** Add a hit to the hits tree 
       @param  track  Track #
-      @param  ivol Volume parameters, interpreted as 
+      @param  vol Volume parameters, interpreted as 
       - ivol[0]  [UShort_t ] Detector # 
       - ivol[1]         [Char_t   ] Ring ID 
       - ivol[2]         [UShort_t ] Sector #
@@ -343,8 +397,8 @@ public:
       @param edep      Energy deposited by track
       @param pdg       Track's particle Id #
       @param t        Time when the track hit 
-      @param l         Track length through the material. 
-      @param stop      Whether track was stopped or disappeared */
+      @param len       Track length through the material. 
+      @param stopped   Whether track was stopped or disappeared */
   virtual AliFMDHit*    AddHitByFields(Int_t    track, 
                                       UShort_t detector, 
                                       Char_t   ring, 
@@ -399,11 +453,13 @@ public:
   virtual        void   AddSDigit(Int_t *digits);
   /** add a summable digit - as coming from data
       @param detector  Detector # (1, 2, or 3)                      
-      @param ring        Ring ID ('I' or 'O')
-      @param sector      Sector # (For inner/outer rings: 0-19/0-39)
-      @param strip       Strip # (For inner/outer rings: 0-511/0-255)
+      @param ring      Ring ID ('I' or 'O')
+      @param sector    Sector # (For inner/outer rings: 0-19/0-39)
+      @param strip     Strip # (For inner/outer rings: 0-511/0-255)
+      @param edep      Energy deposited   
       @param count1    ADC count (a 10-bit word)
-      @param count2    ADC count (a 10-bit word), or -1 if not used */
+      @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, 
index 9db9b049c70ff0eee71c5e37b529653af2467794..096f659b994ec09f916c0593814703cec8426563 100644 (file)
@@ -88,7 +88,7 @@ class AliFMDAltroReader : public AliFMDAltroIO
 {
 public:
   /** Constructor 
-      @param filename File to read from 
+      @param stream Stream to read from
       @exception Int_t A negative error code in case of failure */
   AliFMDAltroReader(std::istream& stream);
   virtual ~AliFMDAltroReader() {}
@@ -179,7 +179,7 @@ class AliFMDAltroWriter : public AliFMDAltroIO
 {
 public:
   /** Constructor.
-      @param filename File to read from
+      @param stream File to read from
       @exception Int_t A negative error code in case of failure */
   AliFMDAltroWriter(std::ostream& stream);
   virtual ~AliFMDAltroWriter() {}
index 76cdaaaf5b45d2412f08a4e4b8319b599a4e8d41..280c459d772f9b77ca7e3b0d5ec95287b301e081 100644 (file)
@@ -40,7 +40,6 @@ public:
       @param ring Ring 
       @param sec  Sector 
       @param str  Strip
-      @param val  Value of gain 
       @return Gain for strip */
   Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
   /** @return threshold */
index 1a435024f98ce6e5dce7db75e53d6ad784c3d357..78e04360b446584d28af57567b2243ec071e457b 100644 (file)
@@ -40,7 +40,6 @@ public:
       @param ring Ring 
       @param sec  Sector 
       @param str  Strip
-      @param val  Value of gain 
       @return Pedestal for strip */  
   Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
   /** Get pedestal width for a strip. 
@@ -48,7 +47,6 @@ public:
       @param ring Ring 
       @param sec  Sector 
       @param str  Strip
-      @param val  Value of gain 
       @return Pedestal width for strip */  
   Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
 private:
index 90a2f6fed1265e72b772973479bce31227c6c0c1..e4872029c135f9f02828ff8ac7f567f67e34a84b 100644 (file)
@@ -113,7 +113,7 @@ public:
       like  
       @code 
       geom->XYZ2Detector(x,y,z-ipz,d,r,s,t);
-      @endverbatim
+      @endcode
       @param x       X coordinate
       @param y              Y coordinate
       @param z              Z coordinate
index e07793797d0f6cb9748f3d340ae3896df6d0aa1a..9ea0bfde9d532be9787a4e9355ed22b75c48cf58 100644 (file)
@@ -68,7 +68,7 @@ public:
       @param ring     Ring
       @param sector   Sector
       @param strip    Strip 
-      @param count1   ADC (first sample)
+      @param count    ADC (first sample)
       @param count2   ADC (second sample, or -1 if not used)
       @param count3   ADC (third sample, or -1 if not used) */
   AliFMDDigit(UShort_t detector, 
@@ -123,7 +123,8 @@ public:
       @param ring     Ring
       @param sector   Sector
       @param strip    Strip 
-      @param count1   ADC (first sample)
+      @param edep     Energy deposited 
+      @param count    ADC (first sample)
       @param count2   ADC (second sample, or -1 if not used)
       @param count3   ADC (third sample, or -1 if not used) */
   AliFMDSDigit(UShort_t detector, 
index 645b81c7c0c1f6994f608ccdfc91ac52a1845a79..882661d7ff174f68303fb97bbc688e6e82ad85b6 100644 (file)
@@ -62,28 +62,28 @@ public:
   /** Reset to default */
   virtual void Reset();
   /** Reset to value 
-      @param v Value to reset from */
+      @param val Value to reset from */
   virtual void Reset(const AliFMDEdepHitPair& val);
   /** Access operator 
-      @param det   Detector 
-      @param ring  Ring 
-      @param sec   Sector  
-      @param str   Strip
+      @param detector Detector 
+      @param ring     Ring 
+      @param sector   Sector  
+      @param strip    Strip
       @return  reference value stored for the strip */
   virtual AliFMDEdepHitPair& operator()(UShort_t detector, 
-                                    Char_t   ring, 
-                                    UShort_t sector, 
-                                    UShort_t strip);
+                                       Char_t   ring, 
+                                       UShort_t sector, 
+                                       UShort_t strip);
   /** Access operator 
-      @param det   Detector 
-      @param ring  Ring 
-      @param sec   Sector  
-      @param str   Strip
+      @param detector Detector 
+      @param ring     Ring 
+      @param sector   Sector  
+      @param strip    Strip
       @return value stored for the strip */
   virtual const AliFMDEdepHitPair& operator()(UShort_t detector, 
-                                          Char_t   ring, 
-                                          UShort_t sector, 
-                                          UShort_t strip) const;
+                                             Char_t   ring, 
+                                             UShort_t sector, 
+                                             UShort_t strip) const;
 protected:
   size_t             fTotal; //  Total number of entries
   AliFMDEdepHitPair* fData;  //[fTotal] The data 
index ca7db1f549569ebbde48b3befb53e7d69011422c..98da215aca328f22199fd47996f10e7ba48cc6c9 100644 (file)
@@ -129,7 +129,7 @@ public:
       like  
       @code 
       geom->XYZ2Detector(x,y,z-ipz,d,r,s,t);
-      @endverbatim
+      @endcode
       @param x        X coordinate
       @param y               Y coordinate
       @param z               Z coordinate
index 85ef75de160ea981ac02f9384e92c160f9c699aa..117113023375bf67627458eee3137b37e931e41a 100644 (file)
@@ -61,10 +61,13 @@ protected:
   virtual TGeoVolume* RingGeometry(AliFMDRing* r);
   /** Make a detector volume 
       @param d Detector geometry 
-      @param mother Mother volume (detector volume)
+      @param motherTop Mother volume (detector volume)
+      @param motherBot Mother volume (detector volume)
       @param zmother Z position of mother 
-      @param inner Inner ring volume 
-      @param outer Outer ring volume 
+      @param innerTop Inner ring volume 
+      @param innerBot Inner ring volume 
+      @param outerTop Outer ring volume 
+      @param outerBot Outer ring volume 
       @return  Detector volume */
   virtual TGeoVolume* DetectorGeometry(AliFMDDetector* d, 
                                       TGeoVolume* motherTop, 
@@ -76,15 +79,18 @@ protected:
                                       TGeoVolume* outerBot=0);
   /** Make FMD1 volume 
       @param d Detector geometry 
-      @param inner Inner ring volume 
+      @param innerTop Inner ring volume 
+      @param innerBot Inner ring volume 
       @return FMD1 volume  */
   virtual TGeoVolume* FMD1Geometry(AliFMD1* d, 
                                   TGeoVolume* innerTop,
                                   TGeoVolume* innerBot);
   /** Make FMD2 volume 
       @param d Detector geometry 
-      @param inner Inner ring volume 
-      @param outer Outer ring volume 
+      @param innerTop Inner ring volume 
+      @param innerBot Inner ring volume 
+      @param outerTop Outer ring volume 
+      @param outerBot Outer ring volume 
       @return FMD2 volume  */
   virtual TGeoVolume* FMD2Geometry(AliFMD2* d, 
                                   TGeoVolume* innerTop, 
@@ -93,8 +99,10 @@ protected:
                                   TGeoVolume* outerBot);
   /** Make FMD3 volume 
       @param d Detector geometry 
-      @param inner Inner ring volume 
-      @param outer Outer ring volume 
+      @param innerTop Inner ring volume 
+      @param innerBot Inner ring volume 
+      @param outerTop Outer ring volume 
+      @param outerBot Outer ring volume 
       @return FMD3 volume  */
   virtual TGeoVolume* FMD3Geometry(AliFMD3* d, 
                                   TGeoVolume* innerTop, 
index 9a3b488b6d2b05b73c3871f2198567c3d8569c78..fe6e87b146c6ef74318743a25f0c26423dc8d6c6 100644 (file)
@@ -25,20 +25,22 @@ public:
   AliFMDHit();
   /** Normal FMD hit ctor
       @param shunt     ???
-      @param track       Track #
+      @param track     Track #
       @param detector  Detector # (1, 2, or 3)                      
-      @param ring        Ring ID ('I' or 'O')
-      @param sector      Sector # (For inner/outer rings: 0-19/0-39)
-      @param strip       Strip # (For inner/outer rings: 0-511/0-255)
-      @param x   Track's X-coordinate at hit
-      @param y   Track's Y-coordinate at hit
-      @param z   Track's Z-coordinate at hit
-      @param px          X-component of track's momentum 
-      @param py          Y-component of track's momentum
-      @param pz          Z-component of track's momentum
-      @param edep        Energy deposited by track
-      @param pdg         Track's particle Id #
-      @param t   Time when the track hit */
+      @param ring      Ring ID ('I' or 'O')
+      @param sector    Sector # (For inner/outer rings: 0-19/0-39)
+      @param strip     Strip # (For inner/outer rings: 0-511/0-255)
+      @param x        Track's X-coordinate at hit
+      @param y        Track's Y-coordinate at hit
+      @param z        Track's Z-coordinate at hit
+      @param px               X-component of track's momentum 
+      @param py               Y-component of track's momentum
+      @param pz               Z-component of track's momentum
+      @param edep      Energy deposited by track
+      @param pdg       Track's particle Id #
+      @param t        Time when the track hit 
+      @param l         Track lenght through medium 
+      @param stop      Whether track is stopped in medium */
   AliFMDHit(Int_t    shunt, 
            Int_t    track, 
            UShort_t detector, 
index 1ee4a28c42568a18f058c9c971899252f72f31d0..dce3209d146d0ea8e901ee5528efe7d0f2d6314c 100644 (file)
@@ -35,23 +35,23 @@ public:
       @return reference to this object.  */
   AliFMDUShortMap& operator=(const AliFMDUShortMap& other);
   /** Reset to value 
-      @param v Value to reset from */
+      @param val Value to reset from */
   virtual void Reset(const UShort_t& val=UShort_t());
   /** Access operator 
-      @param det   Detector 
-      @param ring  Ring 
-      @param sec   Sector  
-      @param str   Strip
+      @param detector Detector 
+      @param ring     Ring 
+      @param sector   Sector  
+      @param strip    Strip
       @return  reference value stored for the strip */
   virtual UShort_t& operator()(UShort_t detector, 
                               Char_t   ring, 
                               UShort_t sector, 
                               UShort_t strip);
   /** Access operator 
-      @param det   Detector 
-      @param ring  Ring 
-      @param sec   Sector  
-      @param str   Strip
+      @param detector Detector 
+      @param ring     Ring 
+      @param sector   Sector  
+      @param strip    Strip
       @return  value stored for the strip */
   virtual const UShort_t& operator()(UShort_t detector, 
                                     Char_t   ring,