]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSRcuHistogramProducerComponent.h
- fixing bug in digitmaker
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRcuHistogramProducerComponent.h
index 85044e33ead7817c8de235d31e52825fc24accc3..3bbb5876f1ab77d681de1b0a6bfca9f3aeb5f0a0 100644 (file)
@@ -1,3 +1,6 @@
+//-*- Mode: C++ -*-
+// $Id$
+
 #ifndef ALIHLTPHOSRCUHISTOGRAMPRODUCERCOMPONENT_H
 #define ALIHLTPHOSRCUHISTOGRAMPRODUCERCOMPONENT_H 
 
@@ -5,11 +8,19 @@
  * See cxx source for full Copyright notice  */ 
 
 #include "AliHLTPHOSRcuProcessor.h"
+#include "AliHLTPHOSUtilities.h"
+
+//
+// Class tp produce calibration data
+// too be sendt to the HLT file exhange server
+// and to the PHOS HLT monitoring GUI
+//
 
 
 class AliHLTPHOSRcuHistogramProducer;
 class AliHLTPHOSRcuCellAccumulatedEnergyDataStruct;
-class AliHLTPHOSSharedMemoryInterface;
+class AliHLTPHOSSharedMemoryInterfacev2;
+class AliHLTPHOSChannelDataHeaderStruct;
 
 class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTPHOSRcuProcessor
 {
@@ -21,6 +32,7 @@ class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTPHOSRcuProcessor
   virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, 
                     AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, 
                     AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );
+
   virtual void GetInputDataTypes( vector <AliHLTComponentDataType>&);
   virtual AliHLTComponentDataType GetOutputDataType();
   virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
@@ -31,12 +43,12 @@ class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTPHOSRcuProcessor
   using AliHLTPHOSRcuProcessor::DoEvent;
 
  private:
+  AliHLTPHOSRcuHistogramProducerComponent(const AliHLTPHOSRcuHistogramProducerComponent &);
+  AliHLTPHOSRcuHistogramProducerComponent & operator = (const AliHLTPHOSRcuHistogramProducerComponent &);
   int fHistoWriteFrequency;
   AliHLTPHOSRcuHistogramProducer* fRcuHistoProducerPtr;   /**<Pointer to a phos histoproducer object*/
   AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*  fOutPtr; /**<Pointer to outputbuffer to write results from the component into shared memory*/
-  //  static const AliHLTComponentDataType fgkIinputDataTypes[];
-  //  static const AliHLTComponentDataType fgkOutputDataType;   /**<List of  datatypes that can be given to this component*/
-  AliHLTPHOSSharedMemoryInterface *fShmPtr;
+  AliHLTPHOSSharedMemoryInterfacev2 *fShmPtr; // Interface to read altro channel data from shared memory
 };
 
 #endif