3 #ifndef ALIHLTITSSSDQARECPOINTSCOMPONENT_H
4 #define ALIHLTITSSSDQARECPOINTSCOMPONENT_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 AliHLTITSSSDQARecPointsComponent.h
11 @brief Component for the SSD clusters QA
15 #include "AliHLTProcessor.h"
16 #include "AliHLTITSSpacePointData.h"
17 #include "TClonesArray.h"
18 #include "AliITSRecPoint.h"
20 class AliHLTTPCConfMapper;
23 * @class AliHLTITSSSDQARecPointsComponent
24 * Component for ploting charge in clusters
26 * Component ID: \b ITSSSDQARecPoints <br>
27 * Library: \b libAliHLTITS.
29 * Mandatory arguments: <br>
32 * Optional arguments: <br>
35 * @ingroup alihlt_tpc_components
37 class AliHLTITSSSDQARecPointsComponent : public AliHLTProcessor
40 /** default constructor */
41 AliHLTITSSSDQARecPointsComponent();
43 virtual ~AliHLTITSSSDQARecPointsComponent();
45 // Public functions to implement AliHLTComponent's interface.
46 // These functions are required for the registration process
48 /** interface function, see AliHLTComponent for description */
49 const char* GetComponentID();
50 /** interface function, see AliHLTComponent for description */
51 void GetInputDataTypes(AliHLTComponentDataTypeList& list);
52 /** interface function, see AliHLTComponent for description */
53 AliHLTComponentDataType GetOutputDataType();
54 /** interface function, see AliHLTComponent for description */
55 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
56 /** interface function, see AliHLTComponent for description */
57 AliHLTComponent* Spawn();
61 // Protected functions to implement AliHLTComponent's interface.
62 // These functions provide initialization as well as the actual processing
63 // capabilities of the component.
65 /** interface function, see AliHLTComponent for description */
66 int DoInit(int argc, const char** argv);
67 /** interface function, see AliHLTComponent for description */
69 /** interface function, see AliHLTComponent for description */
70 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
72 using AliHLTProcessor::DoEvent;
75 /** copy constructor prohibited */
76 AliHLTITSSSDQARecPointsComponent(const AliHLTITSSSDQARecPointsComponent&);
77 /** assignment operator prohibited */
78 AliHLTITSSSDQARecPointsComponent& operator=(const AliHLTITSSSDQARecPointsComponent&);
80 static const Int_t fgkSSDMODULES = 1698; //total number of SSD modules
81 static const Int_t fgkSSDLADDERSLAYER5 = 34; //ladders on layer 5
82 static const Int_t fgkSSDLADDERSLAYER6 = 38; //ladders on layer 6
83 static const Int_t fgkSSDMODULESPERLADDERLAYER5 = 22; //modules per ladder - layer 5
84 static const Int_t fgkSSDMODULESPERLADDERLAYER6 = 25; //modules per ladder - layer 6
85 static const Int_t fgkSSDMODULESLAYER5 = 748; //total number of SSD modules - layer5
86 static const Int_t fgkSSDMODULESLAYER6 = 950; //total number of SSD modules - layer6
87 static const Int_t fgkNumberOfPSideStrips = 768; //number of P-side strips
89 TObjArray *fHistSSDArray; //TObjArray of the SSD QA histograms
91 ClassDef(AliHLTITSSSDQARecPointsComponent, 0);