]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSRcuDAComponent.h
Bug fix: segfault in event disply due to incorrect
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRcuDAComponent.h
index 9148de1b2851dfe63087b92bd471fad27e7f2095..61ba962a2cbc0ec41e51519c5028b546f7d1e669 100644 (file)
@@ -1,3 +1,6 @@
+//-*- Mode: C++ -*-
+// $Id$
+
 /**************************************************************************
  * This file is property of and copyright by the ALICE HLT Project        * 
  * All rights reserved.                                                   *
@@ -46,30 +49,10 @@ class TObjArray;
 class AliHLTPHOSRcuDAComponent:  public AliHLTPHOSRcuProperties, public AliHLTCalibrationProcessor
 {
 public:
-
   /** constructor */
   AliHLTPHOSRcuDAComponent();
-
   /** destructor */
   virtual ~AliHLTPHOSRcuDAComponent();
-      
-  /** not a valid copy constructor, defined according to effective C++ style */
- AliHLTPHOSRcuDAComponent(const AliHLTPHOSRcuDAComponent&) : AliHLTPHOSRcuProperties(),
-                                                             AliHLTCalibrationProcessor(),
-                                                             fPHOSDAPtr(0),
-                                                             fShmPtr(0)
-  {
-    // AliHLTPHOSRcuProcessor::HLTFatal("Copy constructor not implemented");
-    //    AliHLTLogging::HLTFatal("Copy constructor not implemented");
-  }
-
-  /** not a valid assignment op, but defined according to effective C++ style */
-  AliHLTPHOSRcuDAComponent& operator=(const AliHLTPHOSRcuDAComponent&)
-  {
-    return *this;
-  }
-
  /*  virtual int Deinit(); */
 /*   virtual int DoInit(int, const char**); */
 
@@ -83,7 +66,6 @@ public:
   AliHLTComponent* Spawn();
 
 protected:
-      
   // Protected functions to implement AliHLTComponent's interface.
   // These functions provide initialization as well as the actual processing
   // capabilities of the component. 
@@ -106,14 +88,17 @@ protected:
   Int_t ShipDataToFXS( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData );
 
   /** Reset the energy and timing arrays */
-  void ResetArrays(Float_t e[N_XCOLUMNS_MOD][N_ZROWS_MOD][N_GAINS], Float_t t[N_XCOLUMNS_MOD][N_ZROWS_MOD][N_GAINS]);
+  void ResetArrays(Float_t e[NXCOLUMNSMOD][NZROWSMOD][NGAINS], Float_t t[NXCOLUMNSMOD][NZROWSMOD][NGAINS]);
 
   //  int fCnt; ///TODO, remove this
 
 private:
+    /** not a valid copy constructor, defined according to effective C++ style */
+  AliHLTPHOSRcuDAComponent(const AliHLTPHOSRcuDAComponent&);
+  /** not a valid assignment op, but defined according to effective C++ style */
+  AliHLTPHOSRcuDAComponent& operator=(const AliHLTPHOSRcuDAComponent&);
   int fPhosEventCount;  ///TODO, remove this
 
-
   /** Pointer to the DA */
   AliPHOSRcuDA1* fPHOSDAPtr;   //! transient