]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TRD/AliHLTTRDClusterHistoComponent.h
update of AltroChannelSelector component by Jason: added monitoring histograms, make...
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDClusterHistoComponent.h
index e37ab330f5fee047ea00aaa1a46187f1312b13b5..0ade6a3e90752a52ad0457f37bc69c283e1dc096 100644 (file)
@@ -1,3 +1,6 @@
+//-*- Mode: C++ -*-
+// $Id$
+
 #ifndef ALIHLTTRDCLUSTERHISTOCOMPONENT_H
 #define ALIHLTTRDCLUSTERHISTOCOMPONENT_H
 //* This file is property of and copyright by the ALICE HLT Project        * 
@@ -6,13 +9,13 @@
 
 
 #include "AliHLTProcessor.h"
-#include "TH1D.h"
+#include "TH1F.h"
 
 /**
- * @class AliHLTTRDQHistoComponent
+ * @class AliHLTTRDClusterHistoComponent
  * Component for ploting charge in clusters
  * 
- * Component ID: \b TRDQHisto <br>
+ * Component ID: \b TRDClusterHisto <br>
  * Library: \b libAliHLTTRD.
  *
  * Mandatory arguments: <br>
@@ -57,9 +60,11 @@ protected:
   /** interface function, see AliHLTComponent for description */
   int DoDeinit();
   /** interface function, see AliHLTComponent for description */
-  int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
+  int DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData );
 
   using AliHLTProcessor::DoEvent;
+
+  int Configure(const char* arguments);
   
 private:
   /** copy constructor prohibited */
@@ -72,17 +77,22 @@ private:
    * properties.
    */ 
 
-  TClonesArray* fClusterArray;
+  AliHLTUInt32_t fOutputSize;   // output size
+  AliHLTUInt32_t fSpec;         // accumulated specification
+  TClonesArray* fClusterArray;  // input array
+
+  TH1F *fNClsDet;               // distribution of detectors
+  TH1F *fClsAmp;                // distribution of charge
+  TH1F *fClsAmpDrift;           // distribution of charge in drift region
+  TH1F *fClsTB;                 // distribution of time bins
 
-  TH1D *fNClsDet;
-  TH1D *fClsAmp;
-  TH1D *fClsAmpDrift;
-  TH1D *fClsTB;
+  TH1F *fClsAmpDriftDet[540];
+  TH1F *fClsAmpDist; 
 
-  TH1D *fClsAmpDriftDet[540];
-  TH1D *fClsAmpDist; 
+  TH1F *fSClsDist;
+  TH1F *fNScls;
 
-  TH1D *fSClsDist;
+  TH1F *fEvSize;                // Event size in kbyte
 
   ClassDef(AliHLTTRDClusterHistoComponent, 0);
 };