- fixing compilation warnings
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Nov 2009 02:16:41 +0000 (02:16 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Nov 2009 02:16:41 +0000 (02:16 +0000)
18 files changed:
HLT/CALO/AliHLTCaloClusterizer.cxx
HLT/CALO/AliHLTCaloClusterizer.h
HLT/CALO/AliHLTCaloDigitMaker.cxx
HLT/CALO/AliHLTCaloDigitMaker.h
HLT/PHOS/AliHLTPHOSClusterAnalyser.cxx
HLT/PHOS/AliHLTPHOSClusterAnalyser.h
HLT/PHOS/AliHLTPHOSClusterAnalyserComponent.cxx
HLT/PHOS/AliHLTPHOSClusterizer.cxx
HLT/PHOS/AliHLTPHOSClusterizer.h
HLT/PHOS/AliHLTPHOSClusterizerComponent.cxx
HLT/PHOS/AliHLTPHOSClusterizerComponent.h
HLT/PHOS/AliHLTPHOSDigitMaker.cxx
HLT/PHOS/AliHLTPHOSDigitMaker.h
HLT/PHOS/AliHLTPHOSDigitReader.cxx
HLT/PHOS/AliHLTPHOSDigitReader.h
HLT/PHOS/AliHLTPHOSHistoProdMatchedTracks.cxx
HLT/PHOS/AliHLTPHOSHistogramProducerComponent.cxx
HLT/PHOS/AliHLTPHOSHistogramProducerComponent.h

index 32db1672bbd7a6be4b8d1e9b72b67c54ec643115..3f4519c44b305cf93591d3505d0f55b8058ab63a 100644 (file)
@@ -40,8 +40,8 @@
 \r
 //#include "AliHLTCaloConstants.h"\r
 \r
-#include "AliHLTCaloConstantsHandler.h";\r
-#include "AliHLTCaloConstants.h";\r
+#include "AliHLTCaloConstantsHandler.h"\r
+#include "AliHLTCaloConstants.h"\r
 \r
 //#include "AliHLTCaloClusterHandler.h"\r
 //#include "AliPHOSDigit.h"\r
index 5ba717e7f9c01f1c61629d0b1385b87df0b59277..8118edb2866d1be7adac1a277ab3638272e1092e 100644 (file)
@@ -166,6 +166,10 @@ protected:
 private:\r
   AliHLTCaloClusterizer();\r
 \r
+  AliHLTCaloClusterizer (const AliHLTCaloClusterizer  & );\r
+  //  AliHLTCaloClusterizer & operator = (const AliHLTCaloClusterizer &);\r
+\r
+\r
   ClassDef(AliHLTCaloClusterizer, 0);\r
 \r
 \r
index 785dac6deb034e58e4e765310921b6694efedf5c..e92a372cbe9d463312b0ec81e1eee340446bd4d1 100644 (file)
@@ -120,12 +120,12 @@ AliHLTCaloDigitMaker::MakeDigits(AliHLTCaloChannelDataHeaderStruct* channelDataH
 //   Int_t zMod = -1;\r
   \r
   UShort_t coord1[4];\r
-  UShort_t coord2[4];\r
+  //  UShort_t coord2[4];\r
   Float_t locCoord[3];\r
   \r
   \r
   AliHLTCaloChannelDataStruct* currentchannel = 0;\r
-  AliHLTCaloChannelDataStruct* currentchannelLG = 0;  \r
+  //  AliHLTCaloChannelDataStruct* currentchannelLG = 0;  \r
   AliHLTCaloChannelDataStruct* tmpchannel = 0;\r
   \r
   fShmPtr->SetMemory(channelDataHeader);\r
index f0bcb7c5e18086567aa8fdab6b90bc58268e8559..35a15090a29e36a4d899fa6f71f205fceddfbabc 100644 (file)
@@ -184,6 +184,8 @@ private:
   /** Channel book keeping variable */\r
   AliHLTCaloDigitDataStruct ***fChannelBook;                     //! transient\r
 \r
+  AliHLTCaloDigitMaker (const AliHLTCaloDigitMaker  & );\r
+  //  AliHLTCaloDigitMaker & operator = (const AliHLTCaloDigitMaker &);\r
 \r
   ClassDef(AliHLTCaloDigitMaker, 0); \r
 \r
index 781b5fa451ff76981326acc11fef5350b7a3a858..ded7ba136eb07475985ac10f9223ac7bbbf39be2 100644 (file)
@@ -52,7 +52,8 @@ AliHLTPHOSClusterAnalyser::AliHLTPHOSClusterAnalyser() :
   fDoClusterFit(false),
   fHaveCPVInfo(false),
   fDoPID(false),
-  fHaveDistanceToBadChannel(false)
+  fHaveDistanceToBadChannel(false),
+  fDigitHeaderPtr(0)
 {
   //See header file for documentation
 }
@@ -90,7 +91,7 @@ AliHLTPHOSClusterAnalyser::CalculateCenterOfGravity()
 
   AliHLTPHOSRecPointDataStruct *recPoint = fRecPointDataPtr;
 
-  UInt_t iDigit = 0;
+  //  UInt_t iDigit = 0;
 
   for(Int_t iRecPoint=0; iRecPoint < fNRecPoints; iRecPoint++) 
     {
index a2b0a951bb8cfba0e74f4defde3e4a3ca4140883..9102bc5473ce4844d60aabdd794602bc64b11d23 100644 (file)
@@ -76,8 +76,8 @@ public:
     fDoClusterFit(false),
     fHaveCPVInfo(false),
     fDoPID(false),
-    fHaveDistanceToBadChannel(false)
-    
+    fHaveDistanceToBadChannel(false),
+    fDigitHeaderPtr(0)
   {
     //Copy constructor not implemented
   }
index 5f7abd1ed789d78aa78bf58d8b415825d4691500..13f759cb37fa1b0c22b75c50fa3bc813025f3418 100644 (file)
@@ -287,7 +287,7 @@ AliHLTPHOSClusterAnalyserComponent::GetGeometryFromCDB()
   AliCDBPath path("GRP","Geometry","Data");
   if(path.GetPath())
     {
-      HLTInfo("configure from entry %s", path.GetPath());
+      //      HLTInfo("configure from entry %s", path.GetPath());
       AliCDBEntry *pEntry = AliCDBManager::Instance()->Get(path/*,GetRunNo()*/);
       if (pEntry) 
        {
@@ -305,7 +305,7 @@ AliHLTPHOSClusterAnalyserComponent::GetGeometryFromCDB()
        }
       else
        {
-         HLTError("can not fetch object \"%s\" from OCDB", path);
+         //      HLTError("can not fetch object \"%s\" from OCDB", path);
        }
     }
   return 0;
index fd59dcdf173451c2f0bb5bc8cb4046d0d0b98199..360002f90bb3cbdfd032bba93423b12daa9bf147 100644 (file)
@@ -54,12 +54,16 @@ AliHLTPHOSClusterizer::AliHLTPHOSClusterizer():
   AliHLTLogging(),
   fRecPointDataPtr(0),
   fDigitDataPtr(0),
+  fCurrentDigit(0),
+  fStartDigit(0),
+  fPreviousDigit(0),
   fEmcClusteringThreshold(0),
   fEmcMinEnergyThreshold(0),
   fEmcTimeGate(0),
   fDigitsInCluster(0),
   fDigitContainerPtr(0),
   fMaxDigitIndexDiff(2*NZROWSMOD),
+  fAvailableSize(0),
   fDigitReader(0)
 {
   //See header file for documentation
index fa6be4b17536fa7b1b67e56fdeb74a90f1ee0f81..2a81bd82251ecabdad79e350c5a5df27d1b6b195 100644 (file)
@@ -72,12 +72,17 @@ public:
     AliHLTLogging(),
     fRecPointDataPtr(0),
     fDigitDataPtr(0),
+    fCurrentDigit(0),
+    fStartDigit(0),
+    fPreviousDigit(0),
     fEmcClusteringThreshold(0),
     fEmcMinEnergyThreshold(0),
     fEmcTimeGate(0),
     fDigitsInCluster(0),
     fDigitContainerPtr(0),
-    fMaxDigitIndexDiff(2*NZROWSMOD)
+    fMaxDigitIndexDiff(2*NZROWSMOD),
+    fAvailableSize(0),
+    fDigitReader(0)
   {
     //Copy constructor not implemented
   }
index b1d7f7c49c5255ef28a223f30083a2d783c77b0f..e7b4c411e192f2a7d3d97e2521de2fdb9812e0c8 100644 (file)
@@ -290,7 +290,7 @@ AliHLTPHOSClusterizerComponent::ScanConfigurationArgument(int argc, const char *
       fClusterizerPtr->SetEmcClusteringThreshold(argument.Atof());
       return 1;
     }
-
+  return 0;
 }
 
 int
@@ -304,7 +304,7 @@ AliHLTPHOSClusterizerComponent::DoInit(int argc, const char** argv )
   fNoCrazyness = false;
   //
 
-  const char *path = "HLT/ConfigPHOS/ClusterizerComponent";
+  //  const char *path = "HLT/ConfigPHOS/ClusterizerComponent";
 
   //  ConfigureFromCDBTObjString(path);
 
index ae4eb17890ede9ea029875ae10a75f02ab6188e3..7c2815ba13816cf760dbf517f63e0c68a9d9f395 100644 (file)
@@ -120,7 +120,7 @@ class AliHLTPHOSClusterizerComponent: public AliHLTPHOSProcessor
     AliHLTPHOSProcessor(),
     fAllDigitsPtr(0),
     fClusterizerPtr(0),
-    fRecPointStructArrayPtr(0),
+    //    fRecPointStructArrayPtr(0),
     fDigitCount(0),
     fNoCrazyness(0)
   {
@@ -178,8 +178,8 @@ protected:
   /** Pointer to the clusterizer it self */
   AliHLTPHOSClusterizer* fClusterizerPtr;                       //! transient
 
-  /** Pointer to rec points used in clusterization */
-  AliHLTPHOSRecPointDataStruct* fRecPointStructArrayPtr;        //! transient
+//   /** Pointer to rec points used in clusterization */
+//   AliHLTPHOSRecPointDataStruct* fRecPointStructArrayPtr;        //! transient
 
   /** Number of digits in event */
   Int_t fDigitCount;                                            //COMMENT
index 33b974baa90cb9e5e99a9714c6687db8e9a8ec6d..99bed8a33714db239ce46004890846ce91ac347e 100644 (file)
@@ -51,10 +51,12 @@ AliHLTPHOSDigitMaker::AliHLTPHOSDigitMaker() :
   AliHLTLogging(),
   fShmPtr(0),
   fDigitStructPtr(0),
+  fDigitHeaderPtr(0),
   fDigitCount(0),
   fOrdered(true),
   fMapperPtr(0),
-  fDigitPtrArray(0)
+  fDigitPtrArray(0),
+  fAvailableSize(0)
 {
   // See header file for documentation
 
index 22b5b34f9c232c669e93c59a7206a867138bbef0..20eafd192274afb114fd65cfb826548f5ed79a20 100644 (file)
@@ -71,9 +71,12 @@ public:
     AliHLTLogging(),
     fShmPtr(0),
     fDigitStructPtr(0),
+    fDigitHeaderPtr(0),
     fDigitCount(0),
     fOrdered(true),
-    fMapperPtr(0)
+    fMapperPtr(0),
+    fDigitPtrArray(0),
+    fAvailableSize(0)
   {
     //Copy constructor not implemented
   }
@@ -187,6 +190,7 @@ private:
     fDigitPtrArray[fDigitCount] = fDigitStructPtr;
     fDigitCount++;
     fDigitStructPtr++;
+    return true;
   }
 
   /** Pointer to shared memory interface */
index 188a3b18fe670fff2320dd71c6cddc61a98adc87..ff4b55d61a639b7d4e46627257aecc589696f347 100644 (file)
 
 
 AliHLTPHOSDigitReader::AliHLTPHOSDigitReader() :
-  fDigitHeader(0)
+  fDigitHeader(0),
+  fCurrentDigit(0),
+  fNextDigit(0),
+  fPrevDigit(0),
+  fFirstDigit(0)
 {
   // See header file for documentation
 }
index 4f0832df1432fd8d9fe6557cadba7638417d9487..67c7806152ea4469075209318734526d6db354cf 100644 (file)
@@ -83,7 +83,12 @@ private:
 
   /** Pointer to the first digit */
   AliHLTPHOSDigitDataStruct *fFirstDigit;    //COMMENT
-  };
+
+  AliHLTPHOSDigitReader (const AliHLTPHOSDigitReader  & );
+  AliHLTPHOSDigitReader & operator = (const AliHLTPHOSDigitReader &);
+
+
+};
 
 
 #endif
index 2f71cbd3c9b37c15d6a7de9b266495a8caf976aa..de60fef66f81b87fc391d3ac28a97c72091361f2 100644 (file)
@@ -42,6 +42,7 @@
 AliHLTPHOSHistoProdMatchedTracks::AliHLTPHOSHistoProdMatchedTracks() :
   fClusterReader(NULL),
   fHistArrayPtr(0),
+  fHistMatchQuality(0),
   fHistMatchedEnergy(0),
   fHistUnMatchedEnergy(0)
 {
index 1e078691488f8254a8018ffafa969b55fb14d930..823358efc56665208de4f983fba514daba6c84d8 100644 (file)
@@ -48,7 +48,16 @@ AliHLTPHOSHistogramProducerComponent gAliHLTPHOSHistogramProducerComponent;
 AliHLTPHOSHistogramProducerComponent::AliHLTPHOSHistogramProducerComponent() :
   AliHLTPHOSProcessor(),
   fPhysicsHistogramProducerPtr(0),
-  fPushModulo(1)
+  fPushModulo(1),
+  fCellEnergy(0),
+  fClusterEnergy(0),
+  fInvariantMass(0),
+  fMatchedTracks(0),
+  fCellEnergyHistProducer(0),
+  fClusterEnergyHistProducer(0),
+  fInvariantMassHistProducer(0),
+  fMatchedTracksHistProducer(0)
+
 {
   //see header file for documentation
 }
index 4cdaafd1cafbc611a256fb3a3022c6e329f596be..9ee6c07aae983223a4190b119cb885a11ba96412 100644 (file)
@@ -69,7 +69,16 @@ class AliHLTPHOSHistogramProducerComponent: public AliHLTPHOSProcessor
   AliHLTPHOSHistogramProducerComponent(const AliHLTPHOSHistogramProducerComponent & ) : 
     AliHLTPHOSProcessor(),
     fPhysicsHistogramProducerPtr(0),
-    fPushModulo(0)
+    fPushModulo(0),
+    fCellEnergy(0),
+    fClusterEnergy(0),
+    fInvariantMass(0),
+    fMatchedTracks(0),
+    fCellEnergyHistProducer(0),
+    fClusterEnergyHistProducer(0),
+    fInvariantMassHistProducer(0),
+    fMatchedTracksHistProducer(0)
+
   {
     //Copy constructor not implemented
   }