From 9b153ba22d4a4552f5c77b6471ba651b71bd59cd Mon Sep 17 00:00:00 2001 From: fca Date: Tue, 15 Jun 1999 07:00:07 +0000 Subject: [PATCH 1/1] Minor mods to prevent compiler and ROOT warnings --- EVGEN/AliGenExtFile.cxx | 2 +- EVGEN/AliGenExtFile.h | 2 +- EVGEN/AliGenFLUKAsource.h | 2 +- EVGEN/AliGenHalo.h | 4 ++-- EVGEN/AliGenParam.h | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/EVGEN/AliGenExtFile.cxx b/EVGEN/AliGenExtFile.cxx index c309d18c0a0..a3bda912b3f 100644 --- a/EVGEN/AliGenExtFile.cxx +++ b/EVGEN/AliGenExtFile.cxx @@ -89,7 +89,7 @@ void AliGenExtFile::Generate() 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; diff --git a/EVGEN/AliGenExtFile.h b/EVGEN/AliGenExtFile.h index 5ac75775a8d..1d7e27e0e1b 100644 --- a/EVGEN/AliGenExtFile.h +++ b/EVGEN/AliGenExtFile.h @@ -15,7 +15,7 @@ class AliGenExtFile : public AliGenerator { 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 diff --git a/EVGEN/AliGenFLUKAsource.h b/EVGEN/AliGenFLUKAsource.h index cb9c73232c9..1c6013ffa03 100644 --- a/EVGEN/AliGenFLUKAsource.h +++ b/EVGEN/AliGenFLUKAsource.h @@ -26,7 +26,7 @@ protected: 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 diff --git a/EVGEN/AliGenHalo.h b/EVGEN/AliGenHalo.h index de2d8903c41..0357bf85d51 100644 --- a/EVGEN/AliGenHalo.h +++ b/EVGEN/AliGenHalo.h @@ -15,8 +15,8 @@ class AliGenHalo : public AliGenerator { protected: - FILE *fp; - const Text_t *fFileName; //Choose the file + FILE *fp; //! Pointer to file + const Text_t *fFileName; //!Choose the file public: AliGenHalo(); diff --git a/EVGEN/AliGenParam.h b/EVGEN/AliGenParam.h index f45d55e5c26..d3dadc14457 100644 --- a/EVGEN/AliGenParam.h +++ b/EVGEN/AliGenParam.h @@ -14,9 +14,9 @@ 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; -- 2.39.3