**************************************************************************/
#include <iostream>
-
+#include "AliHLTPHOSDefinitions.h" // PTH
#include "AliHLTPHOSMonitorTriggerComponent.h"
#include "AliHLTCaloClusterDataStruct.h"
#include "AliHLTDataTypes.h"
AliHLTPHOSMonitorTriggerComponent::AliHLTPHOSMonitorTriggerComponent():
- AliHLTPHOSProcessor(),
+ AliHLTCaloProcessor(),
fCheckClusterEnergy(false),
fCheckClusterMultiplicities(false),
fClusterEnergyThreshold(1),
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++)
{