]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCv2.cxx
Compilation warnings fixed. In fact the first one was reasonable, the code did not...
[u/mrichter/AliRoot.git] / ZDC / AliZDCv2.cxx
index d88e8f33e1dc6ccbdbbdbfff1d4467a6c27d267d..4857c38de6febc74b20e098513140102f96a92e7 100644 (file)
@@ -29,7 +29,6 @@
 
 // --- ROOT system
 #include <TBRIK.h>
-#include <TLorentzVector.h>
 #include <TMath.h>
 #include <TNode.h>
 #include <TRandom.h>
@@ -52,24 +51,56 @@ class  AliDetector;
 ClassImp(AliZDCv2)
 
 //_____________________________________________________________________________
-AliZDCv2::AliZDCv2() : AliZDC()
+AliZDCv2::AliZDCv2() :
+  AliZDC(),
+  fMedSensF1(0),
+  fMedSensF2(0),
+  fMedSensZP(0),
+  fMedSensZN(0),
+  fMedSensZEM(0),
+  fMedSensGR(0),
+  fMedSensPI(0),
+  fMedSensTDI(0),
+  fNalfan(0),
+  fNalfap(0),
+  fNben(0),  
+  fNbep(0),
+  fZEMLength(0),
+  fpLostIT(0), 
+  fpLostD1(0), 
+  fpLostTDI(0),
+  fpDetected(0),
+  fnDetected(0)
 {
   //
   // Default constructor for Zero Degree Calorimeter
   //
   
-  fMedSensF1  = 0;
-  fMedSensF2  = 0;
-  fMedSensZN  = 0;
-  fMedSensZP  = 0;
-  fMedSensZEM = 0;
-  fMedSensGR  = 0;
-
 }
  
 //_____________________________________________________________________________
 AliZDCv2::AliZDCv2(const char *name, const char *title)
-  : AliZDC(name,title)
+  : AliZDC(name,title),
+  fMedSensF1(0),
+  fMedSensF2(0),
+  fMedSensZP(0),
+  fMedSensZN(0),
+  fMedSensZEM(0),
+  fMedSensGR(0),
+  fMedSensPI(0),
+  fMedSensTDI(0),
+  fNalfan(90),
+  fNalfap(90),
+  fNben(18),  
+  fNbep(28), 
+  fZEMLength(0),
+  fpLostIT(0), 
+  fpLostD1(0), 
+  fpLostTDI(0),
+  fpDetected(0),
+  fnDetected(0)
+
+
 {
   //
   // Standard constructor for Zero Degree Calorimeter 
@@ -149,7 +180,7 @@ AliZDCv2::AliZDCv2(const char *name, const char *title)
   Int_t   kDivZEM[3] = {92, 0, 20};            // Divisions for EM detector
   Float_t kDimZEM0 = 2*kDivZEM[2]*(kDimZEMPb+kDimZEMAir+kFibRadZEM*(TMath::Sqrt(2.)));
   fZEMLength = kDimZEM0;
-  
+
 }
  
 //_____________________________________________________________________________