]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- fixing compilation warnings
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 11:25:19 +0000 (11:25 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 11:25:19 +0000 (11:25 +0000)
HLT/BASE/util/AliHLTESDCaloClusterMaker.cxx
HLT/PHOS/AliHLTPHOSClusterAnalyserComponent.cxx
HLT/PHOS/AliHLTPHOSESDEntriesMakerComponent.cxx
HLT/PHOS/AliHLTPHOSRawAnalyzerComponentv3.cxx
HLT/PHOS/AliHLTPHOSRcuDAComponent.cxx
HLT/PHOS/AliHLTPHOSRcuHistogramProducerComponent.cxx
HLT/PHOS/AliHLTPHOSSharedMemoryInterfacev2.cxx
HLT/trigger/AliHLTTriggerBarrelGeomMultiplicity.cxx
HLT/trigger/AliHLTTriggerBarrelGeomMultiplicity.h
HLT/trigger/AliHLTTriggerDecisionParameters.cxx

index 07d46c52f27bc5ab1226d0f94aed797efb5f66f0..7813abd09e352dbb676e7b2767228291bb9f9f1e 100644 (file)
@@ -80,8 +80,8 @@ AliHLTESDCaloClusterMaker::FillESD(AliESDEvent *esdPtr, const AliHLTCaloClusterH
       esdCluster.SetEmcCpvDistance(caloClusterStructPtr->fEmcCpvDistance);
       esdCluster.SetDistanceToBadChannel(caloClusterStructPtr->fDistToBadChannel);
       esdCluster.SetNCells(caloClusterStructPtr->fNCells);
-      UShort_t *idArrayPtr = new UShort_t[caloClusterStructPtr->fNCells];
-      Double32_t *ampFracArrayPtr = new Double32_t[caloClusterStructPtr->fNCells];
+      //      UShort_t *idArrayPtr = new UShort_t[caloClusterStructPtr->fNCells];
+      //      Double32_t *ampFracArrayPtr = new Double32_t[caloClusterStructPtr->fNCells];
       for(UInt_t index = 0; index < caloClusterStructPtr->fNCells; index++)
        {
          //      fClusterReaderPtr->GetCell(caloClusterStructPtr, idArrayPtr[index], ampFracArrayPtr[index], index);
index d5e15874b1ab4c7f2e97f09186427dd581dbb5f8..19b79e50379ed4977025b98003cfb6ef449c1298 100644 (file)
@@ -136,7 +136,7 @@ AliHLTPHOSClusterAnalyserComponent::DoEvent(const AliHLTComponentEventData& evtD
 
   UInt_t specification = 0;
 
-  AliHLTCaloClusterHeaderStruct* caloClusterHeaderPtr = reinterpret_cast<AliHLTCaloClusterHeaderStruct*>(outBPtr);
+  //  AliHLTCaloClusterHeaderStruct* caloClusterHeaderPtr = reinterpret_cast<AliHLTCaloClusterHeaderStruct*>(outBPtr);
 
   fClusterAnalyserPtr->SetCaloClusterDataPtr(reinterpret_cast<AliHLTCaloClusterDataStruct*>(outBPtr + sizeof(AliHLTCaloClusterHeaderStruct)));
   for ( ndx = 0; ndx < evtData.fBlockCnt; ndx++ )
index 107aa4774d89e2d0817f1b2df89ce5060959532f..44d50c0d9602cf512f3b7d9ad46a058acd2e170a 100644 (file)
@@ -115,7 +115,7 @@ AliHLTPHOSESDEntriesMakerComponent::DoEvent( const AliHLTComponentEventData& /*e
   AliHLTCaloClusterHeaderStruct* caloClusterHeaderPtr = 0;
 
   const AliHLTComponentBlockData* iter = 0;
-  UInt_t nClusters = 0;
+  //  UInt_t nClusters = 0;
 
   UInt_t clusterSpecification = 0;
   //  UInt_t digitSpecification  = 0;
index 344b446b457e2637222c798f99ce0dbaaa4e56fe..5f6180c96c985d184d30413de25efb74f7a0471f 100644 (file)
@@ -224,7 +224,7 @@ AliHLTPHOSRawAnalyzerComponentv3::DoIt(const AliHLTComponentBlockData* iter, Ali
        else
          {
            cnt ++;
-           UShort_t* firstBunchPtr;
+           UShort_t* firstBunchPtr = 0;
            UShort_t chId = fMapperPtr->GetChannelID(iter->fSpecification, fAltroRawStreamPtr->GetHWAddress()); 
            
            if( fkDoPushRawData == true)
index 942ccdb6299e2885e385cca2935dbaa344850cff..56ab03c1300362ab06d78add525828dc883a3010 100644 (file)
@@ -104,7 +104,7 @@ AliHLTPHOSRcuDAComponent::GetComponentID()
 
 
 Int_t
-AliHLTPHOSRcuDAComponent::ScanArgument( Int_t argc, const char** argv)
+AliHLTPHOSRcuDAComponent::ScanArgument( Int_t /*argc*/, const char** /*argv*/)
 {
   //CRAP PTH
   //  AliHLTPHOSUtilities::ScanArguments(argc, argv);
index ef37d3dc2e77c950e3e4d0d22edf13af2b8cfbca..7980d4715f25440674ffc03f384eb23233900269 100644 (file)
@@ -104,7 +104,7 @@ AliHLTPHOSRcuHistogramProducerComponent::GetOutputDataSize(unsigned long& constB
 
 
 int  AliHLTPHOSRcuHistogramProducerComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/, const AliHLTComponentBlockData* /*blocks*/, 
-                                                      AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* /*outputPtr*/, 
+                                                      AliHLTComponentTriggerData& /*trigData*/, AliHLTUInt8_t* /*outputPtr*/, 
                                                       AliHLTUInt32_t& /*size*/, vector<AliHLTComponentBlockData>& /*outputBlocks*/ )
 {
   /*
@@ -219,11 +219,12 @@ int  AliHLTPHOSRcuHistogramProducerComponent::DoEvent( const AliHLTComponentEven
   return 0;
 
   */
+  return 0;
 }//end DoEvent
 
 
 int
-AliHLTPHOSRcuHistogramProducerComponent::DoInit( int argc, const char** argv )
+AliHLTPHOSRcuHistogramProducerComponent::DoInit( int /*argc*/, const char** /*argv*/ )
 {
   //See html documentation of base class
   //  fPrintInfo = kFALSE;
index cc1feecc166b67fbf23cb5018e55013fd17a006b..58e62f3d0a0e2fa4f6d1601b64ca5a6eba14d350 100644 (file)
@@ -34,7 +34,8 @@ AliHLTPHOSSharedMemoryInterfacev2::AliHLTPHOSSharedMemoryInterfacev2():
   fHasRawData(false),
   fMaxCnt(0),
   fCurrentCnt(0),
-  fRawDataPtr(0)
+  fRawDataPtr(0),
+  fRawData()
 {
   
 }
index 5fb4430237abcc6095783c47fb56785db9a30dd6..b613c9849114a06f46a609e34331b2778000ba1f 100644 (file)
@@ -106,7 +106,7 @@ int AliHLTTriggerBarrelGeomMultiplicity::DoTrigger()
 
   // try the ESD as input
   const TObject* obj = GetFirstInputObject(kAliHLTAllDataTypes, "AliESDEvent");
-n  AliESDEvent* esd = dynamic_cast<AliESDEvent*>(const_cast<TObject*>(obj));
+  AliESDEvent* esd = dynamic_cast<AliESDEvent*>(const_cast<TObject*>(obj));
   TString description;
   if (esd != NULL) 
     {
@@ -356,4 +356,5 @@ int AliHLTTriggerBarrelGeomMultiplicity::ScanConfigurationArgument(int argc, con
 
       return 2;
   }    
+  return 0;
 }
index 6dc4b387ff401b65003433a3ea1c4b6b0249ec15..e620eaa9f8ac62271668a865b507777f1ee4b1c3 100644 (file)
@@ -132,6 +132,11 @@ class AliHLTTriggerBarrelGeomMultiplicity : public AliHLTTrigger
   // the default configuration entry for this component
   char* fOCDBEntry; //!transient
 
+  /** Keep the copy constructor private since it should not be used */
+  AliHLTTriggerBarrelGeomMultiplicity(const AliHLTTriggerBarrelGeomMultiplicity & );
+
+  /** Keep the assignement operator private since it should not be used */
+  AliHLTTriggerBarrelGeomMultiplicity & operator = (const AliHLTTriggerBarrelGeomMultiplicity &);
 
   ClassDef(AliHLTTriggerBarrelGeomMultiplicity, 0);
 
index 971f533364ec2973de0eb1e72b6471d4894a18ea..74592596e6c21ff50a536a5a164a1e411f509f98 100644 (file)
 //**************************************************************************
 
 #include "AliHLTTriggerDecisionParameters.h"
-AliHLTTriggerDecisionParameters::AliHLTTriggerDecisionParameters()
+AliHLTTriggerDecisionParameters::AliHLTTriggerDecisionParameters() :
+  TObject()
+  ,fTriggerName()
+  , fReadoutListParameter(0)
+  , fDescription()
 {
   // See header file for class documentation
 }