1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
4 * INFN, Laboratori Nazionali di Frascati *
5 * Primary Authors: Federico Ronchetti *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15 #ifndef ALIHLTEMCALCLUSTERMONITORCOMPONENT_H
16 #define ALIHLTEMCALCLUSTERMONITORCOMPONENT_H
18 /** @file AliHLTEMCALClusterMonitorComponent.h
19 @author Francesco Blanco
21 @brief A histo maker component for EMCAL HLT
26 #include "AliHLTCaloProcessor.h"
29 class AliHLTEMCALClusterMonitor;
31 class AliHLTEMCALClusterMonitorComponent : public AliHLTCaloProcessor
36 AliHLTEMCALClusterMonitorComponent();
39 virtual ~AliHLTEMCALClusterMonitorComponent();
42 /** interface function, see @ref AliHLTComponent for description */
43 const char* GetComponentID();
45 /** interface function, see @ref AliHLTComponent for description */
46 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
48 /** interface function, see @ref AliHLTComponent for description */
49 AliHLTComponentDataType GetOutputDataType();
51 /** interface function, see @ref AliHLTComponent for description */
52 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
54 /** interface function, see @ref AliHLTComponent for description */
55 int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
56 AliHLTComponentTriggerData& /*trigData*/, AliHLTUInt8_t* /*outputPtr*/, AliHLTUInt32_t& /*size*/,
57 std::vector<AliHLTComponentBlockData>& /*outputBlocks*/);
59 /** interface function, see @ref AliHLTComponent for description */
60 AliHLTComponent* Spawn();
64 /** interface function, see @ref AliHLTComponent for description */
66 int DoInit(int argc, const char** argv);
67 int DoDeinit() {return 0;};
69 using AliHLTCaloProcessor::DoEvent;
71 /** interface function, see @ref AliHLTComponent for description */
72 virtual int Deinit(); ////////// PTH WARNING
77 TString fRootFileName;
82 /** Pointer to the histo maker itself */
83 AliHLTEMCALClusterMonitor *fHistoMakerPtr; //! transient
86 AliHLTEMCALClusterMonitorComponent(const AliHLTEMCALClusterMonitorComponent & );
87 AliHLTEMCALClusterMonitorComponent & operator = (const AliHLTEMCALClusterMonitorComponent &);