]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSBaselineAnalyzerComponent.h
Getting rid of trivial warnings.
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSBaselineAnalyzerComponent.h
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project        * 
3  * All rights reserved.                                                   *
4  *                                                                        *
5  * Primary Authors: Oystein Djuvsland                                                      *
6  *                                                                        *
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 ALIHLTPHOSBASELINEANALYZERCOMPONENT_H
16 #define ALIHLTPHOSBASELINEANALYZERCOMPONENT_H
17
18 #include "AliHLTPHOSProcessor.h"
19
20 class AliHLTPHOSBaselineAnalyzer;
21 class TTree;
22
23 class AliHLTPHOSBaselineAnalyzerComponent : public AliHLTPHOSProcessor
24 {
25 public:
26   AliHLTPHOSBaselineAnalyzerComponent();
27   virtual ~AliHLTPHOSBaselineAnalyzerComponent();
28   
29   const char* GetComponentID();
30
31   void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
32
33   AliHLTComponentDataType GetOutputDataType();
34
35   void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
36
37   int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
38               AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size,
39               std::vector<AliHLTComponentBlockData>& outputBlocks);
40   
41   AliHLTComponent* Spawn();
42   
43 protected:
44   using AliHLTPHOSProcessor::DoEvent;
45   int DoInit(int argc, const char** argv);
46   virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor
47   
48 private:
49   
50   void CalculateAll();
51
52   AliHLTPHOSBaselineAnalyzer *fBaselineAnalyzerPtr; //comment
53   TTree *fTreePtr; //comment
54   TClonesArray *fBaselineArrayPtr; //comment
55   UInt_t fEvCnt; //comment
56   UInt_t fWriteInterval; //comment
57   UInt_t fFillInterval; //comment
58   char *fFilename; //comment
59   char* fDirectory; //comment
60   char* fHistPath; //comment
61   Int_t fRunNb; //comment
62   Bool_t fCalculateAll; //comment
63
64   static const AliHLTComponentDataType fgkInputDataTypes[];     //HLT input data type
65
66 };
67 #endif