Initialize sum to 0. (Jiri Chudoba).
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Mar 2002 13:00:25 +0000 (13:00 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Mar 2002 13:00:25 +0000 (13:00 +0000)
EVGEN/AliGenHaloProtvino.cxx
EVGEN/EVGENLinkDef.h
EVGEN/Makefile
EVGEN/libEVGEN.pkg

index cbea1a093bd9e35a748cde10c0d83b3cbc81a3e2..65163e14799751b8323e33870d6c8c63d8ff1598 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.7  2002/02/21 16:09:45  morsch
+Move SetHighwaterMark() after last possible SetTrack()
+
 Revision 1.6  2002/02/01 15:28:22  morsch
 Fastidious print statements removed.
 
@@ -158,13 +161,12 @@ void AliGenHaloProtvino::Init()
     }
 
 
-    Float_t sum;
+    Float_t sum = 0.;
     
     for (Int_t i = 0; i < 250; i++) {
        Float_t z = 20.+i*1.;
        z*=100;
        Float_t wgt = GassPressureWeight(z);
-//     printf("\n %f %f", z, wgt);
        sum+=wgt;
     }
     sum/=250.;
index 7e9e6a45a61b87b6bff87d9cca430d0f1589145a..e23fbe436cfdb87e2e234b3ca4c278a913fd9a3d 100644 (file)
@@ -22,6 +22,7 @@
 #pragma link C++ class  AliGenCocktailAfterBurner+;
 #pragma link C++ class  AliGenCocktailEntry+;
 #pragma link C++ class  AliGenExtFile+;
+#pragma link C++ class  AliGenExtFileCH+;
 #pragma link C++ class  AliGenScan+;
 #pragma link C++ class  AliGenDoubleScan+;
 #pragma link C++ class  AliPythia+;
@@ -52,7 +53,6 @@
 #pragma link C++ class  AliGenReaderEcalJets++;
 #pragma link C++ class  AliGenGeVSim+;
 #pragma link C++ class  AliGeVSimParticle+;
-#pragma link C++ class  AliGenThetaSlice+; 
 #endif
 
 
index c051f72ea8f8b6b279539aca167f150953d0f315..7f06875044893ebed6cafde52889b159d80edc05 100644 (file)
@@ -27,7 +27,10 @@ SRCS          = AliGenHIJINGpara.cxx AliGenHIJINGparaBa.cxx \
                 AliGenHBTprocessor.cxx \
                AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \
                AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx \
-               AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx
+               AliGenExtFileCH.cxx \
+               AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx \
+               AliGeVSimParticle.cxx AliGenGeVSim.cxx
+
 
 # C++ Headers
 
index abcc279cec8a221cd0f35d569490d1fdbbbc2e5f..7c4be90d263f76ee14f9004feb1ac2d70f7454fd 100644 (file)
@@ -1,22 +1,20 @@
-SRCS          = AliGenHIJINGpara.cxx AliGenHIJINGparaBa.cxx \
-                AliGenBox.cxx AliGenFixed.cxx \
-                AliGenCocktail.cxx AliGenFLUKAsource.cxx \
-                AliGenLib.cxx \
+SRCS          = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
+               AliGenCocktail.cxx AliGenFLUKAsource.cxx \
+               AliGenLib.cxx \
                 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
                 AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \
                 AliGenHaloProtvino.cxx \
                 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
-                AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
-                AliGenGSIlib.cxx AliGenPMDlib.cxx AliGenSTRANGElib.cxx \
-                AliGenHijing.cxx \
-                AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \
-                AliDecayer.cxx AliDecayerPythia.cxx \
+               AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
+               AliGenGSIlib.cxx AliGenPMDlib.cxx\
+               AliGenHijing.cxx \
+               AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \
+               AliDecayer.cxx AliDecayerPythia.cxx \
                 AliGenMevSim.cxx AliMevSimParticle.cxx AliMevSimConfig.cxx \
-                AliGenMC.cxx AliGenCocktailAfterBurner.cxx \
+               AliGenMC.cxx AliGenCocktailAfterBurner.cxx \
                 AliGenHBTprocessor.cxx \
-                AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \
-                AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx \
-                AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx
+               AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \
+               AliGenHIJINGparaBa.cxx AliGeVSimParticle.cxx AliGenGeVSim.cxx
 
 # Headerfiles for this particular package (Path respect to own directory)
 HDRS= $(SRCS:.cxx=.h)