]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCPad.h
empty block generation in AliHLTTPCHWClusterDecoder
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCPad.h
index 373d154a0b660a50e5e1397be72ce185160ba4b0..27fdb133af4f732611847f4a24514cdce3c59629 100644 (file)
@@ -1,5 +1,5 @@
 // -*- Mode: C++ -*-
-// @(#) $Id$
+// $Id$
 
 #ifndef ALIHLTTPCPAD_H
 #define ALIHLTTPCPAD_H
@@ -7,17 +7,20 @@
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTTPCPad.h
-    @author Matthias Richter
-    @date   
-    @brief  Container Class for TPC Pads.
-*/
+/// @file   AliHLTTPCPad.h
+/// @author Matthias Richter
+/// @date   
+/// @brief  Container Class for TPC Pads.
+///
 
 #include "AliHLTLogging.h"
 #include "AliHLTTPCClusters.h"
+#include "AliHLTTPCDigitReader.h"
 #include "TH1F.h"
 #include <vector>
 
+struct AliHLTTPCDigitData;
+
 typedef Int_t AliHLTTPCSignal_t;
 
 
@@ -324,7 +327,20 @@ public:
   /**
    * Adds cluster candidate to the fClusterCandidates.
    */
-  void AddClusterCandidate(AliHLTTPCClusters candidate);
+  void AddClusterCandidate(const AliHLTTPCClusters& candidate);
+
+  /**
+   * Adds the digits belonging to the candidate.
+   */
+  void AddCandidateDigits(const vector<AliHLTTPCDigitData>& candidateDigits);
+
+  
+  /**
+   * Returns the digit vector belonging to the candidate
+   */
+  vector<AliHLTTPCDigitData> *GetCandidateDigits(Int_t candidateIndex);
+
+  void ClearCandidateDigits(){fCandidateDigitsVector.clear();}
 
   /**
    * Prints the raw data og this pad.
@@ -409,6 +425,8 @@ public:
   /** Number of good signals sent (good signals is signals surviving ZeroSuppression) */
   Int_t fNGoodSignalsSent;
   
-  ClassDef(AliHLTTPCPad, 6)
+  vector<vector<AliHLTTPCDigitData> > fCandidateDigitsVector;
+
+  ClassDef(AliHLTTPCPad, 7)
 };
 #endif // ALIHLTTPCPAD_H