]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor mods to prevent compiler and ROOT warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 1999 07:00:07 +0000 (07:00 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 1999 07:00:07 +0000 (07:00 +0000)
EVGEN/AliGenExtFile.cxx
EVGEN/AliGenExtFile.h
EVGEN/AliGenFLUKAsource.h
EVGEN/AliGenHalo.h
EVGEN/AliGenParam.h

index c309d18c0a03a5e1202e77f44ca3ce55ca9fa86d..a3bda912b3f8d5c3282fbc3d58d2fb2ea61a61cd 100644 (file)
@@ -89,7 +89,7 @@ void AliGenExtFile::Generate()
   char name[100];
   Float_t amass, charge, tlife;
   Int_t itrtyp;
   char name[100];
   Float_t amass, charge, tlife;
   Int_t itrtyp;
-  Int_t i, j, nt, Ntracks;
+  Int_t i, j, nt, Ntracks=0;
   //
   NtupleInit();
   TTree *h2=fTreeNtuple;
   //
   NtupleInit();
   TTree *h2=fTreeNtuple;
index 5ac75775a8dbf588ff3b636ece1eacc0ea038548..1d7e27e0e1b30540f35559673309806d5c033890 100644 (file)
@@ -15,7 +15,7 @@ class AliGenExtFile : public AliGenerator
 {
  
 protected:
 {
  
 protected:
-  const Text_t     *fFileName;         // Choose the file
+  const Text_t     *fFileName;         //! Choose the file
   Int_t           fNcurrent;           // points to the next entry
   TTree           *fTreeNtuple;        // pointer to the TTree
 //Declaration of variables read from the file -- TTree type
   Int_t           fNcurrent;           // points to the next entry
   TTree           *fTreeNtuple;        // pointer to the TTree
 //Declaration of variables read from the file -- TTree type
index cb9c73232c9c6289256695199482fc847b155dd7..1c6013ffa03051a8126eb8b845b9fe22c71dcc1f 100644 (file)
@@ -26,7 +26,7 @@ protected:
   Float_t     fZshift;        //Shift the Z of impact point by this quantity
   Float_t     fFrac;
   
   Float_t     fZshift;        //Shift the Z of impact point by this quantity
   Float_t     fFrac;
   
-  const Text_t     *fFileName;          //Choose the file
+  const Text_t     *fFileName;          //!Choose the file
    
   TTree           *fTreeFluka;        //pointer to the TTree
 //Declaration of variables read from the file -- TTree type
    
   TTree           *fTreeFluka;        //pointer to the TTree
 //Declaration of variables read from the file -- TTree type
index de2d8903c417c01ee3d715a151012d93f5bf0735..0357bf85d51bae5a578b80fc7410c1008f5c30fd 100644 (file)
@@ -15,8 +15,8 @@ class AliGenHalo : public AliGenerator
 {
  
 protected:
 {
  
 protected:
-    FILE *fp;
-    const Text_t     *fFileName;          //Choose the file
+  FILE *fp;                             //! Pointer to file
+  const Text_t     *fFileName;          //!Choose the file
   
 public:
     AliGenHalo();
   
 public:
     AliGenHalo();
index f45d55e5c26e7c7a76a1ac1ccae0ba0c6f1a4534..d3dadc144578337a031102e0653af23348641826 100644 (file)
@@ -14,9 +14,9 @@
 class AliGenParam : public AliGenerator
 {
 protected:
 class AliGenParam : public AliGenerator
 {
 protected:
-    Double_t (*fPtParaFunc)(Double_t*, Double_t*);
-    Double_t (*fYParaFunc )(Double_t*, Double_t*);
-    Int_t    (*fIpParaFunc )();    
+  Double_t (*fPtParaFunc)(Double_t*, Double_t*); //! Pointer to Pt parametrisation function
+  Double_t (*fYParaFunc )(Double_t*, Double_t*); //! Pointer to Y parametrisation function
+  Int_t    (*fIpParaFunc )();    //! Pointer to particle type parametrisation function
     TF1* fPtPara;
     TF1* fYPara;
     Param_t     fParam;
     TF1* fPtPara;
     TF1* fYPara;
     Param_t     fParam;