]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSMonitorTriggerComponent.cxx
Preparation to do trackmatching on AOD with tender
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSMonitorTriggerComponent.cxx
index 648de5630a57b3337380c280a7e8dbbe9952dc15..90d8716f0cc5fad88f288d06c8fa2d2f0c884655 100644 (file)
@@ -15,7 +15,7 @@
  **************************************************************************/
 
 #include <iostream>
-
+#include "AliHLTPHOSDefinitions.h" // PTH
 #include "AliHLTPHOSMonitorTriggerComponent.h"
 #include "AliHLTCaloClusterDataStruct.h"
 #include "AliHLTDataTypes.h"
@@ -45,7 +45,7 @@ AliHLTPHOSMonitorTriggerComponent gAliHLTPHOSMonitorTriggerComponent;
 
 
 AliHLTPHOSMonitorTriggerComponent::AliHLTPHOSMonitorTriggerComponent(): 
-  AliHLTPHOSProcessor(), 
+  AliHLTCaloProcessor(), 
   fCheckClusterEnergy(false),
   fCheckClusterMultiplicities(false),
   fClusterEnergyThreshold(1),
@@ -197,7 +197,7 @@ AliHLTPHOSMonitorTriggerComponent::CheckClusters(AliHLTCaloClusterHeaderStruct*
 
   AliHLTCaloClusterDataStruct* clusterPtr = 0;
 
-  clusterPtr = reinterpret_cast<AliHLTCaloClusterDataStruct*>(clusterHeaderPtr + sizeof(AliHLTCaloClusterHeaderStruct));
+  clusterPtr = reinterpret_cast<AliHLTCaloClusterDataStruct*>((UChar_t*)(clusterHeaderPtr + 1));
       
   for(UInt_t n = 0; n < nClusters; n++)
     {