]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EMCAL/AliHLTEMCALRawAnalyzerComponent.h
Updated cuts and more histos (Renu, Giacomo)
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALRawAnalyzerComponent.h
1 #ifndef ALIHLTEMCALRAWANALYZERCOMPONENT_H
2 #define ALIHLTEMCALRAWANALYZERCOMPONENT_H
3
4 /**************************************************************************
5  * This file is property of and copyright by the Experimental Nuclear     *
6  * Physics Group, Dep. of Physics                                         *
7  * University of Oslo, Norway, 2007                                       *
8  *                                                                        *
9  * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
10  * Contributors are mentioned in the code where appropriate.              *
11  * Please report bugs to perthi@fys.uio.no                                *
12  *                                                                        *
13  * Permission to use, copy, modify and distribute this software and its   *
14  * documentation strictly for non-commercial purposes is hereby granted   *
15  * without fee, provided that the above copyright notice appears in all   *
16  * copies and that both the copyright notice and this permission notice   *
17  * appear in the supporting documentation. The authors make no claims     *
18  * about the suitability of this software for any purpose. It is          *
19  * provided "as is" without express or implied warranty.                  *
20  **************************************************************************/
21
22 // Base class fro anlyzing EMCAL raww data
23 // Further documentation found in base class
24 // --------------
25 // --------------
26
27
28 #include "AliHLTCaloRawAnalyzerComponentv3.h"
29  
30 //class AliHLTCaloMapper;
31
32 class  AliHLTEMCALRawAnalyzerComponent : public AliHLTCaloRawAnalyzerComponentv3
33 {
34  public:
35   AliHLTEMCALRawAnalyzerComponent();
36   virtual ~AliHLTEMCALRawAnalyzerComponent();
37   virtual void GetInputDataTypes( vector <AliHLTComponentDataType>& list);
38   virtual AliHLTComponentDataType GetOutputDataType();
39   virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
40   virtual void DoInit();
41
42   virtual const char* GetComponentID() = 0;
43   virtual AliHLTComponent* Spawn() = 0; 
44
45  protected:
46   virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, 
47                      AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, 
48                        AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );  
49
50   virtual bool CheckInputDataType(const AliHLTComponentDataType &datatype);
51  
52  private:
53   AliHLTEMCALRawAnalyzerComponent(const AliHLTEMCALRawAnalyzerComponent & );
54   AliHLTEMCALRawAnalyzerComponent & operator = (const AliHLTEMCALRawAnalyzerComponent  &);
55   virtual void InitMapping( const int specification );
56 };
57
58 #endif