//-*- Mode: C++ -*-
// $Id$
#ifndef AliHLTITSQACOMPONENT_H
#define AliHLTITSQACOMPONENT_H
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* See cxx source for full Copyright notice *
/// @file AliHLTITSQHistoComponent.h
/// @author Piergiorgio Cerello cerello@to.infn.it
/// @date 2009-07-03
/// @brief Interface component to the ITS QA
#include "AliHLTProcessor.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "AliHLTITSSpacePointData.h"
#include "TClonesArray.h"
#include "AliITSRecPoint.h"
#include "AliITSQADataMakerRec.h"
class AliHLTTPCConfMapper;
/**
* @class AliHLTITSQHistoComponent
* Component for ploting charge in clusters
*
* Component ID: \b ITSQHisto
* Library: \b libAliHLTITS.
*
* Mandatory arguments:
*
*
* Optional arguments:
*
*
* @ingroup alihlt_tpc_components
*/
class AliHLTITSQAComponent : public AliHLTProcessor
{
public:
/** default constructor */
AliHLTITSQAComponent();
/** destructor */
virtual ~AliHLTITSQAComponent();
// Public functions to implement AliHLTComponent's interface.
// These functions are required for the registration process
/** interface function, see AliHLTComponent for description */
const char* GetComponentID();
/** interface function, see AliHLTComponent for description */
void GetInputDataTypes(AliHLTComponentDataTypeList& list);
/** interface function, see AliHLTComponent for description */
AliHLTComponentDataType GetOutputDataType();
/** interface function, see AliHLTComponent for description */
virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
/** interface function, see AliHLTComponent for description */
AliHLTComponent* Spawn();
protected:
// Protected functions to implement AliHLTComponent's interface.
// These functions provide initialization as well as the actual processing
// capabilities of the component.
/** interface function, see AliHLTComponent for description */
int DoInit( int argc, const char** argv );
/** interface function, see AliHLTComponent for description */
int DoDeinit();
/** interface function, see AliHLTComponent for description */
int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
int Reconfigure(const char* cdbEntry, const char* chainId);
using AliHLTProcessor::DoEvent;
private:
/** copy constructor prohibited */
AliHLTITSQAComponent(const AliHLTITSQAComponent&);
/** assignment operator prohibited */
AliHLTITSQAComponent& operator=(const AliHLTITSQAComponent&);
/**
* Configure the component.
* Parse a string for the configuration arguments and set the component
* properties.
*/
int Configure(const char* arguments);
AliITSQADataMakerRec *fAliITSQADataMakerRec;// pointer to the main ctor
/*
AliRawReaderMemory* fRawReader; //!transient
AliITSDetTypeRec* fDettype; //!transient
TClonesArray** fClusters; //!transient
AliITSgeom* fgeom; //!transient
AliITSInitGeometry* fgeomInit; //!transient
AliITSsegmentationSPD* fSegSPD; //!transient
AliITSsegmentationSDD* fSegSDD; //!transient
AliITSsegmentationSSD* fSegSSD; //!transient
*/
ClassDef(AliHLTITSQAComponent, 0);
};
#endif