3 #ifndef ALIHLTITSCLUSTERHISTOCOMPONENT_H
4 #define ALIHLTITSCLUSTERHISTOCOMPONENT_H
5 //* This file is property of and copyright by the ALICE HLT Project *
6 //* ALICE Experiment at CERN, All rights reserved. *
7 //* See cxx source for full Copyright notice *
9 /** @file AliHLTITSQHistoComponent.h
10 @author Gaute Ovrebekk
11 @brief Component for ploting clusters
14 #include "AliHLTProcessor.h"
18 #include "AliHLTITSSpacePointData.h"
19 #include "TClonesArray.h"
20 #include "AliITSRecPoint.h"
22 class AliHLTTPCConfMapper;
25 * @class AliHLTITSQHistoComponent
26 * Component for ploting charge in clusters
28 * Component ID: \b ITSQHisto <br>
29 * Library: \b libAliHLTITS.
31 * Mandatory arguments: <br>
34 * Optional arguments: <br>
37 * @ingroup alihlt_tpc_components
39 class AliHLTITSClusterHistoComponent : public AliHLTProcessor
42 /** default constructor */
43 AliHLTITSClusterHistoComponent();
45 virtual ~AliHLTITSClusterHistoComponent();
47 // Public functions to implement AliHLTComponent's interface.
48 // These functions are required for the registration process
50 /** interface function, see AliHLTComponent for description */
51 const char* GetComponentID();
52 /** interface function, see AliHLTComponent for description */
53 void GetInputDataTypes(AliHLTComponentDataTypeList& list);
54 /** interface function, see AliHLTComponent for description */
55 AliHLTComponentDataType GetOutputDataType();
56 /** interface function, see AliHLTComponent for description */
57 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
58 /** interface function, see AliHLTComponent for description */
59 AliHLTComponent* Spawn();
63 // Protected functions to implement AliHLTComponent's interface.
64 // These functions provide initialization as well as the actual processing
65 // capabilities of the component.
67 /** interface function, see AliHLTComponent for description */
68 int DoInit( int argc, const char** argv );
69 /** interface function, see AliHLTComponent for description */
71 /** interface function, see AliHLTComponent for description */
72 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
74 int Reconfigure(const char* cdbEntry, const char* chainId);
76 using AliHLTProcessor::DoEvent;
79 /** copy constructor prohibited */
80 AliHLTITSClusterHistoComponent(const AliHLTITSClusterHistoComponent&);
81 /** assignment operator prohibited */
82 AliHLTITSClusterHistoComponent& operator=(const AliHLTITSClusterHistoComponent&);
84 * Configure the component.
85 * Parse a string for the configuration arguments and set the component
88 int Configure(const char* arguments);
90 TH2F * fXY; //! transient
91 TH3F * fXYZ; //! transient
92 TH1F * fCharge; //! transient
94 Bool_t fPlotCharge; //! transient
95 Bool_t fPlotXY; //! transient
96 Bool_t fPlotXYZ; //! transient
98 ClassDef(AliHLTITSClusterHistoComponent, 0);