]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coding Convention Violations
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 1 May 2004 12:25:43 +0000 (12:25 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 1 May 2004 12:25:43 +0000 (12:25 +0000)
STEER/AliESDcascade.cxx
STEER/AliESDcascade.h
STEER/AliESDpid.cxx
STEER/AliESDpid.h
STEER/AliESDv0.cxx
STEER/AliESDv0.h

index 73a2801246da87515715016208247c0bfe1ff994..9ffc4d39a897c8a77274614efd48a88af92d1cf5 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //               Implementation of the cascade vertex class
-//
+//              This is part of the Event Summary Data 
+//              which contains the result of the reconstruction
+//              and is the main set of classes for analaysis
 //    Origin: Christian Kuhn, IReS, Strasbourg, christian.kuhn@ires.in2p3.fr
 //-------------------------------------------------------------------------
+
 #include <TMath.h>
 
 #include "AliESDcascade.h"
-#include "AliESDv0.h"
 
 ClassImp(AliESDcascade)
 
index 7abe4820bcd2cd406138a3ed124252b0a00aa3c5..6b2676b981692b83010c846e11e0b4804b121b6f 100644 (file)
@@ -4,9 +4,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //                        ESD Cascade Vertex Class
-//
+//               Implementation of the cascade vertex class
 //    Origin: Christian Kuhn, IReS, Strasbourg, christian.kuhn@ires.in2p3.fr
 //-------------------------------------------------------------------------
 
index 74e37bd21653a8aec25e5d96e6a58c3cb85adc09..272c07436a04d06a7b32f5227ce7463e7f5ce7e9 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 //-----------------------------------------------------------------
 //           Implementation of the combined PID class
-//
+//           For the Event Summary Data Class
+//           produced by the reconstruction process
+//           and containing information on the particle identification
 //      Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
 //-----------------------------------------------------------------
 
@@ -28,11 +32,15 @@ ClassImp(AliESDpid)
 //_________________________________________________________________________
 Int_t AliESDpid::MakePID(AliESD *event)
 {
+  //
+  // Combine the information of various detectors
+  // to determine the Particle Identification
+  //
   Int_t ntrk=event->GetNumberOfTracks();
   for (Int_t i=0; i<ntrk; i++) {
     Int_t ns=AliESDtrack::kSPECIES;
     Double_t p[10]={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.};
-    const Double_t eps=1e-13;
+    const Double_t keps=1e-13;
 
     AliESDtrack *t=event->GetTrack(i);
 
@@ -40,7 +48,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetITSpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
@@ -49,7 +57,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetTPCpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
@@ -58,7 +66,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetTRDpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
@@ -68,7 +76,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetTOFpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
@@ -77,7 +85,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetPHOSpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
@@ -86,7 +94,7 @@ Int_t AliESDpid::MakePID(AliESD *event)
       Double_t d[10];
       t->GetRICHpid(d);
       Int_t j, ok=0;
-      for (j=0; j<ns; j++) if (d[j]>eps) ok=1;
+      for (j=0; j<ns; j++) if (d[j]>keps) ok=1;
       if (ok) 
       for (j=0; j<ns; j++) p[j]*=d[j];
     }
index 72071e4dd647c001e710291dd8fc6a7427c170c5..d57ccc26438043d6f6a8e4fe563844780900a810 100644 (file)
@@ -3,9 +3,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------
 //                    Combined PID class
-//
+//           for the Event Summary Data class
 //   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
 //-------------------------------------------------------
 #include <Rtypes.h>
index 67e0ea36468d56db2c24f077836f3ed4a38f8ff9..caf3bad6e2c0537d2cde9b98f06e8ac5aac328eb 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //               Implementation of the ESD V0 vertex class
-//
+//            This class is part of the Event Data Summary
+//            set of classes and contains information about
+//            V0 kind vertexes generated by a neutral particle
 //     Origin: Iouri Belikov, IReS, Strasbourg, Jouri.Belikov@cern.ch
 //-------------------------------------------------------------------------
+
 #include <Riostream.h>
 #include <TMath.h>
 #include <TPDGCode.h>
index 837dccf18579dc40f71af683ef9baa0c841e84dd..2df34de7e894c9b06c0f91651430b4eaa5324c14 100644 (file)
@@ -4,9 +4,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //                          ESD V0 Vertex Class
-//
+//          This class is part of the Event Summary Data set of classes
 //    Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
 //-------------------------------------------------------------------------