Changes to run HLT in alimdc. Reset method in AliESD and AliESDVertex (C.Cheshkov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Oct 2004 09:17:56 +0000 (09:17 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Oct 2004 09:17:56 +0000 (09:17 +0000)
Makefile
STEER/AliESD.cxx
STEER/AliESD.h
STEER/AliESDVertex.h
build/module.dep

index 409495c229346a2f8880c1c8694132cb60584390..6c8636f4fff80ab8678be89ef6115c8f89984821 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ endif
 
 ifdef DATE_ROOT
 DATEFLAGS  = -DALI_DATE -D${DATE_SYS} -DDATE_SYS=${DATE_SYS} -Dlong32=${DATE_LONG32} \
-             -Dlong64='${DATE_LONG64}' -DdatePointer=${DATE_POINTER}
+             -Dlong64='${DATE_LONG64}' -DdatePointer=${DATE_POINTER} -I${DATE_COMMON_DEFS}
 CXXFLAGS  += $(DATEFLAGS)
 CFLAGS    += $(DATEFLAGS)
 CINTFLAGS += $(DATEFLAGS)
index a565e84a8666a6e546cc8ba4b5ef04ee52c25484..5f1aaaa390fc34d1844ddbddebd1d3f8580b0c55 100644 (file)
@@ -67,6 +67,32 @@ AliESD::~AliESD()
   fCascades.Delete();
 }
 
+//______________________________________________________________________________
+void AliESD::Reset()
+{
+  fEventNumber=0;
+  fRunNumber=0;
+  fTrigger=0;
+  fRecoVersion=0;
+  fMagneticField=0;
+  fZDCNEnergy=0;
+  fZDCPEnergy=0;
+  fZDCEMEnergy=0;
+  fZDCParticipants=0;
+  fT0zVertex=0;
+  fPrimaryVertex.Reset();
+  fTracks.Clear();
+  fHLTConfMapTracks.Clear();
+  fHLTHoughTracks.Clear();
+  fMuonTracks.Clear();
+  fPmdTracks.Clear();
+  fV0s.Clear();
+  fCascades.Clear();
+  fPHOSParticles=0; 
+  fEMCALParticles=0; 
+  fFirstPHOSParticle=-1; 
+  fFirstEMCALParticle=-1;
+}
 
 //______________________________________________________________________________
 void AliESD::Print(Option_t *) const 
index e25148e132714ab5d3632f9615e7f1206566a055..d6352bab8579d4dc2b82cedb88fdbc745b70674a 100644 (file)
@@ -117,6 +117,8 @@ public:
    {fZDCNEnergy=nEnergy; fZDCPEnergy=pEnergy; fZDCEMEnergy=emEnergy;
     fZDCParticipants=participants;}
 
+  void  Reset();
+
   void  Print(Option_t *option="") const;
    
 protected:
index 7f194b8b7bfc9ee86c8ba8a732bbbba15e8c4e8c..5ea8e4a95e65053d583849a65d97380ed7375ebb 100644 (file)
@@ -72,7 +72,9 @@ class AliESDVertex : public TNamed {
   void SetTruePos(Double_t *tp){for(Int_t i=0;i<3;i++)fTruePos[i]=tp[i];}
   void GetTruePos(Double_t &x,Double_t &y,Double_t &z) const 
        {x=fTruePos[0]; y=fTruePos[1]; z=fTruePos[2];}
-        
+
+  void Reset() { SetToZero(); SetName("Vertex"); }
+
  protected:
 
   Double_t fPosition[3];  // vertex position
index d68a4dad42c78b7fc0ca286c7318359c02637891..b901dfb74719d9656541db5f474c02b83ad77727 100644 (file)
@@ -28,7 +28,7 @@ PHOS/module.mk:                PHOS/libPHOS.pkg
 PMD/module.mk:          PMD/libPMDbase.pkg PMD/libPMDsim.pkg PMD/libPMDrec.pkg
 PYTHIA6/module.mk:      PYTHIA6/libpythia6.pkg
 RALICE/module.mk:       RALICE/libRALICE.pkg
-RAW/module.mk:           RAW/libRAW.pkg
+RAW/module.mk:           RAW/libRAW.pkg RAW/binalimdc.pkg
 RICH/module.mk:                 RICH/libRICH.pkg
 START/module.mk:        START/libSTARTbase.pkg START/libSTARTsim.pkg START/libSTARTrec.pkg
 STEER/module.mk:        STEER/libSTEER.pkg