]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCClusterHistoComponent.h
Removing obsolete macros
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusterHistoComponent.h
CommitLineData
e120cbd3 1//-*- Mode: C++ -*-
0efebbac 2// $Id$
3#ifndef ALIHLTTPCCLUSTERHISTOCOMPONENT_H
4#define ALIHLTTPCCLUSTERHISTOCOMPONENT_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 *
8
e120cbd3 9/// @file AliHLTTPCQHistoComponent.h
10/// @author Gaute Ovrebekk
11/// @brief Component for ploting charge in clusters
12///
0efebbac 13
14#include "AliHLTProcessor.h"
15#include "TH1F.h"
16#include "AliHLTTPCSpacePointData.h"
0efebbac 17
18/**
19 * @class AliHLTTPCQHistoComponent
20 * Component for ploting charge in clusters
21 *
22 * Component ID: \b TPCQHisto <br>
23 * Library: \b libAliHLTTPC.
24 *
25 * Mandatory arguments: <br>
26 *
27 *
28 * Optional arguments: <br>
29 *
30 *
31 * @ingroup alihlt_tpc_components
32 */
33class AliHLTTPCClusterHistoComponent : public AliHLTProcessor
34{
35public:
36 /** default constructor */
37 AliHLTTPCClusterHistoComponent();
38 /** destructor */
39 virtual ~AliHLTTPCClusterHistoComponent();
40
41 // Public functions to implement AliHLTComponent's interface.
42 // These functions are required for the registration process
43
9783a5cf 44 /** interface function, see AliHLTComponent for description */
0efebbac 45 const char* GetComponentID();
9783a5cf 46 /** interface function, see AliHLTComponent for description */
0efebbac 47 void GetInputDataTypes(AliHLTComponentDataTypeList& list);
9783a5cf 48 /** interface function, see AliHLTComponent for description */
0efebbac 49 AliHLTComponentDataType GetOutputDataType();
9783a5cf 50 /** interface function, see AliHLTComponent for description */
0efebbac 51 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
9783a5cf 52 /** interface function, see AliHLTComponent for description */
0efebbac 53 AliHLTComponent* Spawn();
54
55protected:
56
57 // Protected functions to implement AliHLTComponent's interface.
58 // These functions provide initialization as well as the actual processing
59 // capabilities of the component.
60
9783a5cf 61 /** interface function, see AliHLTComponent for description */
0efebbac 62 int DoInit( int argc, const char** argv );
9783a5cf 63 /** interface function, see AliHLTComponent for description */
0efebbac 64 int DoDeinit();
9783a5cf 65 /** interface function, see AliHLTComponent for description */
0efebbac 66 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
67
68 int Reconfigure(const char* cdbEntry, const char* chainId);
69
70 using AliHLTProcessor::DoEvent;
71
72private:
73 /** copy constructor prohibited */
74 AliHLTTPCClusterHistoComponent(const AliHLTTPCClusterHistoComponent&);
75 /** assignment operator prohibited */
76 AliHLTTPCClusterHistoComponent& operator=(const AliHLTTPCClusterHistoComponent&);
77 /**
78 * Configure the component.
79 * Parse a string for the configuration arguments and set the component
80 * properties.
81 */
82 int Configure(const char* arguments);
83
84 TH1F * fTotalClusterChargeOROCAll; //! transient
85 TH1F * fTotalClusterChargeIROCAll; //! transient
86 TH1F * fTotalClusterChargeROCSelection; //! transient
87 TH1F * fTotalClusterChargePartitionSelection; //! transient
88 TH1F * fQMaxPartitionAll; //! transient
89 TH1F * fQMaxROCAll; //! transient
90 TH1F * fNumberOfClusters; //! transient
91
92 Bool_t fPlotChargeOROCAll; //! transient
93 Bool_t fPlotChargeIROCAll; //! transient
94 Bool_t fPlotChargeROCSel; //! transient
95 Bool_t fPlotChargePartSel; //! transient
96 Bool_t fPlotQmaxPartAll; //! transient
97 Bool_t fPlotQmaxROCAll; //! transient
98 Bool_t fPlotNClusters; //! transient
99
100 ClassDef(AliHLTTPCClusterHistoComponent, 0);
101
102};
103#endif