+//-*- Mode: C++ -*-
+// $Id$
+
#ifndef ALIHLTTRDCLUSTERHISTOCOMPONENT_H
#define ALIHLTTRDCLUSTERHISTOCOMPONENT_H
//* This file is property of and copyright by the ALICE HLT Project *
#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>
/** 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 */
* 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);
};