]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Several pointers were set to zero in the default constructors to avoid memory managem...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 21 Oct 2001 18:38:44 +0000 (18:38 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 21 Oct 2001 18:38:44 +0000 (18:38 +0000)
42 files changed:
ALIFAST/AliFBrowsable.cxx
ALIFAST/AliFDisplay.cxx
ALIFAST/AliFFruit.h
ALIFAST/AliFParticle.h
ALIFAST/AliFTrackMaker.cxx
ALIFAST/AliFast.cxx
EMCAL/AliEMCAL.cxx
EVGEN/AliGenCocktail.cxx
EVGEN/AliGenCocktailAfterBurner.cxx
EVGEN/AliGenHBTprocessor.cxx
EVGEN/AliGenHijing.cxx
EVGEN/AliGenParam.cxx
EVGEN/AliGenPythia.cxx
EVGEN/AliMevSimParticle.cxx
FMD/AliFMD.cxx
FMD/AliFMDMerger.cxx
MUON/AliMUONHitForRec.h
MUON/AliMUONTrack.h
MUON/AliMUONTrackHit.h
PHOS/AliPHOS.cxx
PHOS/AliPHOSGeometry.h
PHOS/AliPHOSPIDv1.cxx
PHOS/AliPHOSQAChecker.cxx
PHOS/AliPHOSQAChecker.h
PHOS/AliPHOSQAObjectCheckable.h
PHOS/AliPHOSQAVirtualCheckable.h
PHOS/AliPHOSvImpacts.cxx
RICH/AliRICHDetect.cxx
RICH/AliRICHDisplay.cxx
RICH/AliRICHMerger.cxx
STEER/AliDisplay.cxx
STEER/AliLego.cxx
STEER/AliRecPoint.cxx
STEER/AliRunDigitizer.cxx
TOF/AliTOF.cxx
TOF/AliTOFMerger.cxx
TRD/AliTRDclusterizer.cxx
TRD/AliTRDtimeBin.cxx
TRD/AliTRDtimeBin.h
VZERO/AliVZEROv0.cxx
ZDC/AliZDC.cxx
ZDC/AliZDCMerger.cxx

index b29f04382d439c39757ba4af046fdb9fd9efb879..a888c75ec03a0134a3f13cf88c0f627a50dc6e05 100644 (file)
@@ -22,7 +22,8 @@ ClassImp(AliFBrowsable)
 //_____________________________________________________________________________
 AliFBrowsable::AliFBrowsable() 
 {
-
+  fRefObject = 0;
+  fBigBang   = 0;
 }
 
 //_____________________________________________________________________________
index acb0dfc6b6f9e2109693e6190b3f66ef3b93e78f..45f737c007dac0015a6a5e77f67b9e609bb337c1 100644 (file)
@@ -35,8 +35,15 @@ ClassImp(AliFDisplay)
 //_____________________________________________________________________________
 AliFDisplay::AliFDisplay() : AliFVirtualDisplay()
 {
-   fParticle  = 0;
+   fCanvas    = 0;
+   fTrigPad   = 0;
+   fButtons   = 0;
+   fPad       = 0;
+   fTubin     = 0;
+   fTubout    = 0;
+   fNodin     = 0;
    fFruits    = 0;
+   fParticle  = 0;   
 }
 
 //_____________________________________________________________________________
index 6903354e09018aedc432074b05ab890b7c250ddb..0984cd4d31e047f172833b7979b18b66225ec609 100644 (file)
@@ -21,7 +21,9 @@ private:
    TObject          *fFruit;            //Pointer to original fruit
    
 public:
-                     AliFFruit() {;}
+                     AliFFruit() {
+                       fFruit=0;
+                     }
                      AliFFruit(TObject *obj, Float_t eta, Float_t phi, Float_t pt, Int_t type);
    virtual          ~AliFFruit() {;}
    virtual void      Delete(Option_t *option="");
index 48d2fe30dee3425c926505dbaadf6f7014768a70..16c49ba601aebe3dbed232e030beb148e7d045ed 100644 (file)
@@ -27,7 +27,12 @@ private:
    TPolyLine3D      *fLine;                 //pointer to line3D
    
 public:
-                     AliFParticle() {;}
+                     AliFParticle() {
+                       fParticles = 0;
+                       fDisplay   = 0;
+                       fMCParticle = 0;
+                       fLine = 0;
+                     }
                      AliFParticle(const char *name);
    virtual          ~AliFParticle();
    virtual void      Clear(Option_t *option="");
index 529393b3a0adff83cad79188828e3165a849b26b..cf7557f3a24de15134423322af9185de04e41c53 100644 (file)
@@ -71,6 +71,11 @@ ClassImp(AliFTrackMaker)
 AliFTrackMaker::AliFTrackMaker()
 {
    fNTracks = 0;
+   fResID1Test = 0;
+   fResID2Test = 0;
+   fResID3Test = 0;
+   fResID4Test = 0;
+   fResID5Test = 0;
 }
 
 //_____________________________________________________________________________
index ba2209047c8ee1378f8d282052dc657ce1b5d0c3..7a61c5ffa0b76ccccfe30a7f6da5beadc574cf10 100644 (file)
@@ -184,7 +184,7 @@ ClassImp(AliFast)
    fTree          = 0;
    fMakers        = 0;
    fMode          = 0;
-   //   fMCMaker       = 0;
+   fMCMaker       = 0;
    fTrackMaker    = 0;
    fDisplay       = 0;
    fDet           = new AliFDet("Detector","Make AliFast detector");
index 4df72f1984357c5871cb9f4ba9808330682b5f17..08ba931fd5d9c025cb086f169d9ed9fe3afef2af 100644 (file)
@@ -45,7 +45,9 @@ AliEMCAL::AliEMCAL():AliDetector()
 {
   // ctor 
   //We do not create objects, because these pointers will be overwritten during reading from file.
+  fGeom = 0;
   fSDigits       = 0 ;
+  fDigits = 0;
 }
 //____________________________________________________________________________
 AliEMCAL::AliEMCAL(const char* name, const char* title): AliDetector(name,title) 
index 364322d36f190768c81135e9c58ed2cc0fa3f1f5..ab04cd4579b7354ac0bc60c017ac3db2ef062940 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.12  2001/06/18 13:07:30  morsch
+Forward kinematic ranges to entries only if not set by user.
+
 Revision 1.11  2001/01/30 09:23:12  hristov
 Streamers removed (R.Brun)
 
@@ -62,6 +65,8 @@ AliGenCocktail::AliGenCocktail()
 {
 // Constructor
     fEntries = new TList;
+    flnk1 = 0;
+    flnk2 = 0;
     fNGenerators=0;
 }
 
index abf0d6cdd67fb696169684465284a1974275c00f..700c816be365dcda845a13e453483ec506fbc04e 100644 (file)
@@ -49,6 +49,8 @@ AliGenCocktailAfterBurner::AliGenCocktailAfterBurner()
     SetName("AliGenCocktailAfterBurner");
     SetTitle("AliGenCocktailAfterBurner");
     fInternalStacks =0;
+    fActiveStack = 0;
+    fCurrentGenerator = 0;
     fCurrentEvent =0;
     fAfterBurnerEntries = new TList();
     fNAfterBurners = 0;
index 239be88b82eedc964c30afebbe13b85fd7bff3d3..4f7a59f876f3b8656f5f8846040fdf6d160f0b5e 100644 (file)
@@ -79,6 +79,7 @@ AliGenHBTprocessor::AliGenHBTprocessor() : AliGenerator(-1)
   //
   // Standard constructor
   // Sets default veues of all parameters
+  fHbtPStatCodes = 0;
   SetName("AliGenHBTprocessor");
   SetTitle("AliGenHBTprocessor");
   
index 19fe046c04efeefa1f35b12c9587d92c866a3edc..639c895a7d4c50f148d1690e2d2c85d2fa9bd7d9 100644 (file)
 
 /*
 $Log$
+Revision 1.29  2001/10/15 08:12:24  morsch
+- Vertex smearing with truncated gaussian.
+- Store triggered jet info before and after final state radiation into mc-heade
+
 Revision 1.28  2001/10/08 11:55:25  morsch
 Store 4-momenta of trigegred jets in event header.
 Possibility to switch of initial and final state radiation.
@@ -165,6 +169,8 @@ AliGenHijing::AliGenHijing(Int_t npart)
 //
 // Set random number generator   
     sRandom = fRandom;
+    fHijing = 0;
+
 }
 
 AliGenHijing::AliGenHijing(const AliGenHijing & Hijing)
index de0ff76e92eb6352332b2b3af69be3c7b7527a90..9904bde3f2378cf5e16ef2a44c27b2038584c4dc 100644 (file)
 
 /*
 $Log$
+Revision 1.32  2001/07/27 17:09:36  morsch
+Use local SetTrack, KeepTrack and SetHighWaterMark methods
+to delegate either to local stack or to stack owned by AliRun.
+(Piotr Skowronski, A.M.)
+
 Revision 1.31  2001/07/13 10:58:54  morsch
 - Some coded moved to AliGenMC
 - Improved handling of secondary vertices.
@@ -122,6 +127,7 @@ AliGenParam::AliGenParam()
 //
 // Set random number generator   
     sRandom = fRandom;
+    fDecayer = 0;
 }
 
 AliGenParam::AliGenParam(Int_t npart, AliGenLib * Library,  Int_t param, char* tname):AliGenMC(npart)
index 8ed573573a46108e4ccd01a80d0f74c6ac4ab66a..74177f6282d7645fd3586b93959f23c77d6bbbca 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.42  2001/10/15 08:21:55  morsch
+Vertex truncation settings moved to AliGenMC.
+
 Revision 1.41  2001/10/08 08:45:42  morsch
 Possibility of vertex cut added.
 
@@ -135,6 +138,8 @@ AliGenPythia::AliGenPythia()
                  :AliGenMC()
 {
 // Default Constructor
+  fParticles = 0;
+  fPythia    = 0;
   fDecayer = new AliDecayerPythia();
   SetEventListRange();
 }
index 10bc935acd94a8883116f286684a081fd6b7e2d9..86e7c7c67d876929cbad61c88fe095bf48003ab6 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.2  2001/03/24 10:08:30  morsch
+Log tag and copyright notice added.
+
 */
 
 #include "AliMevSimParticle.h"
@@ -27,7 +30,7 @@ ClassImp(AliMevSimParticle)
 
 AliMevSimParticle::AliMevSimParticle()
   : TMevSimPartTypeParams() {
-
+  fConv = 0;
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////
index eae6dba6de82a0b61f74f1012c76bc83d2071a08..2e74ed6d2b1f96e08661cf3b94e4831f3641c650 100644 (file)
@@ -71,7 +71,8 @@ AliFMD::AliFMD ():AliDetector ()
   fHits     = 0;
   fDigits   = 0;
   fSDigits  = 0;
-  fReconParticles=0; 
+  fReconParticles=0;
+  fMerger = 0;
 }
 
 //_____________________________________________________________________________
index 6be639b59088864102d4814f3b79d74c45512587..3e2346f48b6cd834cfe93a71152b3fa8e3808e18 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.2  2001/09/24 16:41:15  hristov
+New version of FMD code (A.Maevskaia)
+
 Revision 1.1  2001/05/29 12:01:06  hristov
 Last minute changes and new code for event mixing and reconstruction (A.Maevskaia)
 
@@ -57,8 +60,12 @@ ClassImp(AliFMDMerger)
 // Default constructor    
     fEvNrSig = 0;
     fEvNrBgr = 0;
-    fMerge =kDigitize;
+    fMerge   = kDigitize;
+    fDigits  = 0;
+    fSDigits = 0;
     fFnBgr   = 0;
+    fFnSig   = 0;
+    fBgrFile = 0;
 }
 
 //------------------------------------------------------------------------
index c193b70322a3f10cde1f4fc7f912faf6e82f21df..e7cdd4239b5b8ea39e40019a7fbd07b5d04c7953 100644 (file)
@@ -16,7 +16,9 @@ class AliMUONHitForRec : public TObject {
  public:
   AliMUONHitForRec(){
     // Constructor
-    ;} // Constructor
+    fFirstTrackHitPtr = 0;
+    fLastTrackHitPtr = 0;
+  } // Constructor
   virtual ~AliMUONHitForRec(){
     // Destructor
     ;} // Destructor
index cd0d6b3c662b50d4791e307444a52281328da837..81405d996bc7c59068601b7a1875d68e66786232 100644 (file)
@@ -21,7 +21,10 @@ class AliMUONTrack : public TObject {
  public:
   AliMUONTrack(){
     // Constructor
-    ;} // Constructor
+    fgFitter = 0;
+    fEventReconstructor = 0;
+    fTrackHitsPtr = 0;
+  } // Constructor
   virtual ~AliMUONTrack(); // Destructor
   AliMUONTrack (const AliMUONTrack& AliMUONTrack); // copy constructor
   AliMUONTrack& operator=(const AliMUONTrack& AliMUONTrack); // assignment operator
index e6e7c33c2b487fc4c5ce51d31c344591ea6ca025..f623deed5331c11406e704cbeb70e3d178a81748 100644 (file)
@@ -18,7 +18,10 @@ class AliMUONTrackHit : public TObject {
  public:
   AliMUONTrackHit(){
     // Constructor
-    ;} // Constructor
+    fHitForRecPtr = 0;
+    fNextTrackHitWithSameHitForRec = 0;
+    fPrevTrackHitWithSameHitForRec = 0;
+  } // Constructor
   virtual ~AliMUONTrackHit(); // Destructor
   AliMUONTrackHit (const AliMUONTrackHit& AliMUONTrackHit); // copy constructor
   AliMUONTrackHit& operator=(const AliMUONTrackHit& AliMUONTrackHit); // assignment operator
index 192ca53840d92e95bdddd465fdc743a676b43f33..24e6cee706b9c98094225f7ab65d97e58b653808 100644 (file)
@@ -49,12 +49,15 @@ AliPHOS:: AliPHOS() : AliDetector()
 {
   // Create folder and task hierarchy
   fName="PHOS";
-
+  fQATask = 0;
+  fTreeQA = 0;
 }
 
 //____________________________________________________________________________
 AliPHOS::AliPHOS(const char* name, const char* title): AliDetector(name, title) 
 {
+  fQATask = 0;
+  fTreeQA = 0;
 }
 
 
index ec37c133b61d02dfb682502b84d2d78eed8ed8e3..049033a1a7e26999d22e3e5bbac6cd02f0566447 100644 (file)
@@ -40,8 +40,11 @@ public:
   AliPHOSGeometry() {
     // default ctor 
     // must be kept public for root persistency purposes, but should never be called by the outside world
-    fPHOSAngle = 0 ; 
-  } ;  
+    fPHOSAngle = 0 ;
+    fGeometryEMCA = 0;
+    fGeometrySUPP = 0;
+    fgGeom = 0;
+  }  
 
   AliPHOSGeometry(const AliPHOSGeometry & geom) {
     // cpy ctor requested by Coding Convention but not yet needed
index 7fa241589a0076892d5113cf509ccdf8fe640eec..e1f9c4adcf3517b046248ffd808016327c1a02e3 100644 (file)
@@ -99,7 +99,13 @@ AliPHOSPIDv1::AliPHOSPIDv1():AliPHOSPID()
   fRecPointsTitle    = "" ; 
   fRecParticlesTitle = "" ; 
   fIDOptions         = "dis time" ; 
-  fRecParticlesInRun = 0 ; 
+  fRecParticlesInRun = 0 ;
+  fEmcRecPoints = 0;
+  fCpvRecPoints = 0;
+  fTrackSegments = 0;
+  fRecParticles = 0;
+  fClusterizer = 0;
+  fTSMaker = 0;
 }
 
 //____________________________________________________________________________
index a474db0c6f7711fd6e4f667c8a3818203246dbec..4723bf4e24572c37ebdb2a10bd0bcadac78019b4 100644 (file)
@@ -48,7 +48,8 @@ ClassImp(AliPHOSQAChecker)
    else    // create  //Folders/Task/QA/PHOS
      aliceQA->Add(this) ; 
   
-  fCheckablesList = new TList() ; 
+  fCheckablesList = new TList() ;
+  fCheckable = 0;
 }
 
 //____________________________________________________________________________ 
index c6d9671fc4e9104caf1fa545dccd31e534ed5067..2df6c2238ec729eacd1727145e6f38687171b276 100644 (file)
@@ -28,7 +28,10 @@ class AliPHOSQAChecker : public TTask {
 
 public:
 
-  AliPHOSQAChecker(){} ;          // default ctor (not to be used)
+  AliPHOSQAChecker(){
+    fCheckablesList = 0;
+    fCheckable = 0;
+  } ;          // default ctor (not to be used)
   AliPHOSQAChecker(const char * name, const char * title) ; // ctor
   AliPHOSQAChecker(AliPHOSQAChecker& obj) {assert(0==1);}
   virtual ~AliPHOSQAChecker() ; // dtor
index 3dd1a390d7922b978aaebf572d03689d0bec8cd6..a6a074676282ed250ff950c26818e839e6ecd1d0 100644 (file)
@@ -23,7 +23,9 @@ class AliPHOSQAObjectCheckable : public AliPHOSQAVirtualCheckable {
 
 public:
 
-  AliPHOSQAObjectCheckable(){}           // default ctor not to be used
+  AliPHOSQAObjectCheckable(){
+    fObject = 0;
+  }           // default ctor not to be used
   AliPHOSQAObjectCheckable(const char * name) ;          // ctor
   AliPHOSQAObjectCheckable(AliPHOSQAObjectCheckable& obj) {assert(0==1);}
   virtual ~AliPHOSQAObjectCheckable() ; // dtor
index ac77fdce371b9d6b88f68510e178cc70cb5baac6..013be75ea19d6de0a8b957415a34a6a79738694e 100644 (file)
@@ -30,7 +30,10 @@ class AliPHOSQAVirtualCheckable : public TNamed {
 
 public:
 
-  AliPHOSQAVirtualCheckable(){}           // default ctor not to be used
+  AliPHOSQAVirtualCheckable(){
+    fChecker = 0 ; 
+    fAlarms = 0;
+  }           // default ctor not to be used
   AliPHOSQAVirtualCheckable(const char * name) ;          // ctor
   AliPHOSQAVirtualCheckable(AliPHOSQAVirtualCheckable& obj) {assert(0==1);}
   virtual ~AliPHOSQAVirtualCheckable() ; // dtor
index 9de39cf8664be0b40171df870e51ceedf06d186e..21d68850b4191db1fdb7156bf1de15f78223c7e7 100644 (file)
@@ -46,6 +46,8 @@ ClassImp(AliPHOSvImpacts)
 AliPHOSvImpacts::AliPHOSvImpacts():AliPHOSv1()
 {
   // ctor
+  fEMCImpacts = 0;
+  fPPSDImpacts = 0;
 }
 
 //____________________________________________________________________________
index 56f2cbad2d43995638e2336307ca719c5f1e0a54..a3e83c0a77db0822ef32fcdd7b58b3c85b818c9f 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.14  2001/05/14 13:25:54  hristov
+  stdlib.h included (for Alpha)
+
   Revision 1.13  2001/05/10 12:26:31  jbarbosa
   Totally reworked version of reconstruction algorithm.
 
@@ -84,6 +87,10 @@ AliRICHDetect::AliRICHDetect() : TObject()
 
 // Default constructor 
 
+  fc1 = 0;
+  fc2 = 0;
+  fc3 = 0;
+
 }
 
 //___________________________________________
index f8321ed4f105cce427f951152874687da3a4bdc4..f586d63ee4250a406f3621c50c2b4413de124a06 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.15  2001/10/09 07:34:09  hristov
+  Modifications needed by Root.03.01.06 (J.Chudoba)
+
   Revision 1.14  2001/05/16 14:57:20  alibrary
   New files for folders and Stack
 
@@ -120,7 +123,7 @@ AliRICHDisplay::AliRICHDisplay()
 { 
 
 // default constructor
-
+    fColPad = 0;
     fPoints = 0;
     fPhits = 0;
     fPCerenkovs = 0;
index 8f62c9b81b4a0d98b47e21437f89552889f31750..4e5876bd672dc52e4d8314c871be3c15948b2d13 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.3  2001/05/16 14:57:20  alibrary
+New files for folders and Stack
+
 Revision 1.2  2001/03/14 18:16:08  jbarbosa
 Corrected bug (more to correct).
 File "points.dat" is no longer created.
@@ -64,7 +67,8 @@ AliRICHMerger::AliRICHMerger()
     fHitMap     = 0;
     fList       = 0;
     fTrList     = 0;
-    fAddress    = 0; 
+    fAddress    = 0;
+    fBgrFile    = 0;
 }
 
 //------------------------------------------------------------------------
index 7957e5ed6a16ffe6cfce1ed3c82cff0192bc73d5..3cc8877329e05bd61a34c1d4a0d52902275cd087 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.16  2001/07/25 15:23:50  hristov
+Changes needed to run with Root 3.01 (R.Brun)
+
 Revision 1.15  2001/05/16 14:57:22  alibrary
 New files for folders and Stack
 
@@ -94,6 +97,18 @@ AliDisplay::AliDisplay()
   // Default constructor
   //
   fCanvas = 0;
+  fTrigPad = 0;
+  fCutPad = 0;
+  fEtaPad = 0;
+  fButtons = 0;
+  fPad = 0;
+  fCutSlider = 0;
+  fEtaSlider = 0;
+  fRangeSlider = 0;
+  fPickButton = 0;
+  fZoomButton = 0;
+  fArcButton = 0;
+  fFruits = 0;
 }
 
 //_____________________________________________________________________________
index 23d45a554d45782561c24425adb0ff476525c556..8d69f21c4b89ec5cfe561d38903a4b70a9aa0a84 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.27  2001/07/20 09:32:18  morsch
+Protection against uncomplete backward stepping in dumping added.
+
 Revision 1.26  2001/05/30 12:18:13  morsch
 Fastidious printf commented.
 
@@ -134,10 +137,13 @@ AliLego::AliLego()
   //
   // Default constructor
   //
+  fGener    = 0;
   fHistRadl = 0;
   fHistAbso = 0;
   fHistGcm2 = 0;
   fHistReta = 0;
+  fVolumesFwd = 0;
+  fVolumesBwd = 0;
 }
 
 //___________________________________________
index d8d21b9efb8620cca111a335383bcbc198198647..40fc7a58350d349ed23c3828e39789021165b179 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.7  2000/11/30 07:12:49  alibrary
+Introducing new Rndm and QA classes
+
 Revision 1.6  2000/10/02 21:28:14  fca
 Removal of useless dependecies via forward declarations
 
@@ -64,6 +67,7 @@ ClassImp(AliRecPoint)
 AliRecPoint::AliRecPoint()
 {
   // ctor  
+  fGeom = 0;
   fAmp = 0.0 ; 
   
   fLocPos.SetXYZ(0., 0., 0.) ;
index 8584fcd6999581cd2c0425cb3dd7b955a3a95f76..9f2edac74f25d1bd722a18d503a8c5cd12ed5484 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.7  2001/10/04 15:56:07  jchudoba
+TTask inheritance
+
 Revision 1.4  2001/09/19 06:23:50  jchudoba
 Move some tasks to AliStream and AliMergeCombi classes
 
@@ -143,6 +146,9 @@ AliRunDigitizer::AliRunDigitizer(Int_t nInputStreams, Int_t sperb) : TTask("AliR
   fDebug = 0;
   if (GetDebug()>2) 
     cerr<<"AliRunDigitizer::AliRunDigitizer() called"<<endl;
+  //PH
+  fTreeD = 0;
+  for (i=0; i<MAXSTREAMSTOMERGE; i++) fInputFiles[i]=0;
 }
 
 ////////////////////////////////////////////////////////////////////////
index 177b7afe659ac465ca5790425187b9b659d766c7..c76333dae3c6d719597fdfaf1fb8c04096ec07fa 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.29  2001/10/17 14:19:24  hristov
+delete replaced by delete []
+
 Revision 1.28  2001/10/05 12:02:01  vicinanz
 Minor improvements on Merger and SDigitizer
 
@@ -148,7 +151,9 @@ AliTOF::AliTOF()
   fIshunt   = 0;
   fSDigits       = 0 ;
   fDigits        = 0 ;
+  fReconParticles = 0;
   fName="TOF";
+  fMerger = 0;
 /* fp
   CreateTOFFolders();
 */
index e8aead5f608ecd0c94408780717b817f7d1cb1e7..80f2115b53b1fc87af12c491a2c7c2b5d5756bcc 100644 (file)
@@ -44,6 +44,11 @@ ClassImp(AliTOFMerger)
     fEvNrBgr = 0;
     fMerge =kDigitize;
     fFnBgr   = 0;
+    fDigits = 0;
+    fSDigits =0;
+    fFnBgr = 0;
+    fFnSig = 0;
+    fBgrFile = 0;
 }
 
 //------------------------------------------------------------------------
index f09587ec4898321288d8e023a76d19747850cd17..4b31225334648909606b2629f3c7d0c6ad2eaf46 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.8  2001/05/07 08:06:44  cblume
+Speedup of the code. Create only AliTRDcluster
+
 Revision 1.7  2001/03/30 14:40:14  cblume
 Update of the digitization parameter
 
@@ -95,6 +98,7 @@ AliTRDclusterizer::AliTRDclusterizer():TNamed()
   fInputFile   = NULL;
   fOutputFile  = NULL;
   fClusterTree = NULL;
+  fTRD         = 0;
   fEvent       = 0;
   fVerbose     = 0;
 
index f7ebe2b300f3a762f14d37c97df78b55be098bf4..19cb1a2099c8b1895b02190076bfaa5dd9ac840c 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.3  2000/10/15 23:40:01  cblume
+Remove AliTRDconst
+
 Revision 1.2  2000/10/06 16:49:46  cblume
 Made Getters const
 
@@ -31,6 +34,14 @@ Add the tracking code
 
 ClassImp(AliTRDtimeBin)
 
+//______________________________________________________
+
+  AliTRDtimeBin::AliTRDtimeBin() {
+  //default constructor
+    fN=0;
+    for (Int_t i=0; i<kMAX_CLUSTER_PER_TIME_BIN; i++) 
+      fClusters[i]=0;
+  }
 //______________________________________________________
 
 void AliTRDtimeBin::InsertCluster(AliTRDcluster* c, UInt_t index) {
index f3fa41ea8983c40195a1265eb193b0235070f066..b0ac827287b573001eff18919ab7a3b81a9fa259 100644 (file)
@@ -19,7 +19,7 @@ class AliTRDtimeBin : public TObject {
  
 public: 
 
-  AliTRDtimeBin() {fN=0;}
+  AliTRDtimeBin();
   void InsertCluster(AliTRDcluster*,UInt_t);
  
   operator Int_t() const {return fN;}
index d3671f113aec596887504aa1ec8c512f461e5ee7..303cd50738a2a3817f0da764cc8ab4b30cc91ec1 100755 (executable)
@@ -62,6 +62,11 @@ ClassImp(AliVZEROv0)
 //--------------------------------------------------------------------
 AliVZEROv0:: AliVZEROv0():AliVZERO()
 {
+  fRootFile = 0;
+  fhMultiplicity = 0;
+  fhGEANTcode = 0;
+  fhCerenkov = 0;
+  fhToF = 0;
 }
 //--------------------------------------------------------------------
 AliVZEROv0::AliVZEROv0(const char *name, const char *title):
index 6f9c54bf96467ee3897fb36855f9830d6e6375e3..094103e95d12871327ccc346df7dc20b97dbff29 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.26  2001/10/04 14:30:28  coppedis
+Event merging for ZDC
+
 Revision 1.25  2001/10/04 14:24:15  coppedis
 Event merging for ZDC
 
@@ -124,6 +127,13 @@ AliZDC::AliZDC()
 
   fDigits   = 0;
   fNdigits  = 0;
+
+  fMergedHits = 0;
+  fTreeSD = 0;
+  fTreeMD = 0;
+
+  fNRecPoints = 0;
+  fRecPoints = 0;
   
 }
  
@@ -148,6 +158,11 @@ AliZDC::AliZDC(const char *name, const char *title)
   // Allocate the digits array  
   fDigits = new TClonesArray("AliZDCDigit",1000);
   
+  fTreeSD = 0;
+  fTreeMD = 0;
+
+  fNRecPoints = 0;
+  fRecPoints = 0;
 
 }
 //____________________________________________________________________________ 
index 26c1155468e7cdd7d8ea99a8c3d5573772d119b4..91d4f2d393ed79b92f39f2730be5005418dc0e02 100644 (file)
@@ -53,7 +53,9 @@ AliZDCMerger::AliZDCMerger()
     fBgrFile     = 0;
     fNEvBgr     = 0;
     fTrHBgr      = 0;
+    fHitsBgr     = 0;
     fTrSDBgr     = 0;
+    fTrDBgr      = 0;
     fImpPar      = 0;
     fSpecn       = 0;
     fSpecp       = 0;