]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCPad.h
debug output removed
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCPad.h
index ec8a1fd28da3a202304ff6fb602fccb1da1b0da8..4eb06774b8a1fdbf29e880d379e2a1176b5cc412 100644 (file)
 
 #include "AliHLTLogging.h"
 #include "AliHLTTPCClusters.h"
+#include "AliHLTTPCDigitReader.h"
 #include "TH1F.h"
 #include <vector>
 
+class AliHLTTPCDigitData;
+
 typedef Int_t AliHLTTPCSignal_t;
 
 
@@ -296,6 +299,7 @@ public:
    * @param timebinsLeft       Timebins to include left of the signals above threshold (to include tails)
    * @param timebinsRight      Timebins to include right of the signals above threshold (to include tails)
    * @param valueBelowAverage  The number of adc-counts below the average value. (sometimes there can be useful to also add some signals below average for your signals, especially when there is a lot of noise) It means that more of the tails of the signal is added.
+   * @param speedup            Do not the full zero suppression but terminate if it is clear wheter the channel has some signal or not.
    */
   void ZeroSuppress(Double_t nRMS,Int_t threshold,Int_t reqMinPoint,Int_t beginTime,Int_t endTime,Int_t timebinsLeft, Int_t timebinsRight, Int_t valueBelowAverage, bool speedup=false);
   
@@ -323,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.
@@ -408,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