fixed in AliFlatESDEvent: fNV0s, fPointerV0s not initialized in constructor, wrong...
authorsgweber <steffen.georg.weber@cern.ch>
Thu, 17 Apr 2014 09:55:00 +0000 (11:55 +0200)
committersgweber <steffen.georg.weber@cern.ch>
Thu, 17 Apr 2014 09:55:00 +0000 (11:55 +0200)
HLT/global/AliFlatESDEvent.cxx
HLT/global/AliHLTGlobalFlatEsdConverterComponent.cxx

index 62376f9..d334bd6 100644 (file)
@@ -50,7 +50,7 @@
 #include "AliESDEvent.h"
 #include "AliESDtrack.h"
 #include "AliESDfriend.h"
-#include "AliESDV0.h"
+#include "AliESDv0.h"
 
 #include "AliFlatESDEvent.h"
 #include "AliFlatESDTrack.h"
@@ -65,6 +65,8 @@ AliFlatESDEvent::AliFlatESDEvent() :
   fPrimaryVertexMask(0),
   fNTracks(0),
   fTracksPointer(0),
+  fNV0s(0),
+  fV0Pointer(0),
   fSize(0),
   fContent() 
 {
@@ -76,6 +78,8 @@ AliFlatESDEvent::AliFlatESDEvent(AliESDEvent *esd) :
   fPrimaryVertexMask(0),
   fNTracks(0),
   fTracksPointer(0),
+  fNV0s(0),
+  fV0Pointer(0),
   fSize(0),
   fContent() 
 { 
@@ -88,6 +92,8 @@ AliFlatESDEvent::AliFlatESDEvent(AliESDEvent *esd, Bool_t useESDFriends) :
   fPrimaryVertexMask(0),
   fNTracks(0),
   fTracksPointer(0),
+  fNV0s(0),
+  fV0Pointer(0),
   fSize(0),
   fContent() 
 { 
index 9f74e90..66c77ae 100644 (file)
@@ -255,9 +255,9 @@ int AliHLTGlobalFlatEsdConverterComponent::DoDeinit()
   return 0;
 }
 
-int AliHLTGlobalFlatEsdConverterComponent::DoEvent( const AliHLTComponentEventData& evtData,
-                                                   const AliHLTComponentBlockData* blocks, 
-                                                   AliHLTComponentTriggerData& trigData,
+int AliHLTGlobalFlatEsdConverterComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/,
+                                                   const AliHLTComponentBlockData* /*blocks*/, 
+                                                   AliHLTComponentTriggerData& /*trigData*/,
                                                    AliHLTUInt8_t* outputPtr, 
                                                    AliHLTUInt32_t& size,
                                                    AliHLTComponentBlockDataList& outputBlocks )
@@ -408,13 +408,13 @@ int AliHLTGlobalFlatEsdConverterComponent::DoEvent( const AliHLTComponentEventDa
 
    
   // read TPC clusters
-  const int kNSlices = 36;
-  const int kNPatches = 6;
+  const UInt_t kNSlices = 36;
+  const UInt_t kNPatches = 6;
 
   const AliHLTTPCClusterData *clustersTPC[kNSlices][kNPatches];
   const AliHLTTPCClusterMCLabel *clustersTPCMC[kNSlices][kNPatches];
-  for( int i=0; i<kNSlices; i++){
-     for( int j=0; j<kNPatches; j++){
+  for( UInt_t i=0; i<kNSlices; i++){
+     for( UInt_t j=0; j<kNPatches; j++){
       clustersTPC[i][j] = 0;
       clustersTPCMC[i][j] =0;
      }