]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenReaderCwn.cxx
adding name strings for canvases and histograms, adding z0 resolution
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderCwn.cxx
index 91fbcfaf3e9b506abd761b561bb4db950ba4d737..33f75e5aaeeb0fed256417b16ca2feb2afba0f25 100644 (file)
@@ -46,8 +46,12 @@ AliGenReaderCwn::AliGenReaderCwn():
     fE(0.)
 {
 // Default constructor
+    Int_t i;
+    for (i = 0; i <  6; i++) fRhead[i] = 0.;
+    for (i = 0; i < 12; i++) fIhead[i] = 0;
 }
 
+
 AliGenReaderCwn::AliGenReaderCwn(const AliGenReaderCwn &reader):
     AliGenReader(reader),
     fNcurrent(0),
@@ -63,6 +67,9 @@ AliGenReaderCwn::AliGenReaderCwn(const AliGenReaderCwn &reader):
     fE(0.)
 {
     // Copy constructor
+    Int_t i;
+    for (i = 0; i <  6; i++) fRhead[i] = 0.;
+    for (i = 0; i < 12; i++) fIhead[i] = 0;
     reader.Copy(*this);
 }
 
@@ -130,7 +137,7 @@ Int_t AliGenReaderCwn::NextEvent()
 
 TParticle* AliGenReaderCwn::NextParticle() 
 {
-//
+// Read next particle
 //  
     Float_t prwn;
     Float_t p[4];