]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSMIPCounterComponent.h
AliCDBId's in the list of retrieved OCDB parameters in the ESD's user info
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSMIPCounterComponent.h
CommitLineData
78cc8fa3 1
2 /**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
5 * *
6 * Primary Authors: Oystein Djuvsland *
7 * *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
16
17#ifndef ALIHLTPHOSMIPCOUNTERCOMPONENT_H
18#define ALIHLTPHOSMIPCOUNTERCOMPONENT_H
19
20#include "AliHLTPHOSProcessor.h"
21
22class AliHLTPHOSMIPCounter;
23class TH1F;
24class TH1I;
25class TH2I;
26
27/**
28 @author Øystein Djuvsland <oystein.djuvsland@gmail.com>
29*/
30class AliHLTPHOSMIPCounterComponent : public AliHLTPHOSProcessor
31{
32public:
33 AliHLTPHOSMIPCounterComponent();
34
ab38011b 35 virtual ~AliHLTPHOSMIPCounterComponent();
78cc8fa3 36
37 const char* GetComponentID();
38
39 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
40
41 AliHLTComponentDataType GetOutputDataType();
42
43 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
44
ab38011b 45 int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
46 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size,
47 std::vector<AliHLTComponentBlockData>& outputBlocks);
78cc8fa3 48
49 AliHLTComponent* Spawn();
50
1804b020 51protected:
52 using AliHLTPHOSProcessor::DoEvent;
78cc8fa3 53 int DoInit(int argc, const char** argv);
54 virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor
55
ab38011b 56private:
57
58 Int_t fEvtCnt; //comment
59 Int_t fInterval; //comment
60 Int_t fMIPCount; //comment
61 Char_t *fTRUThreshold; //comment
62 Float_t fMIPCountInterval; //comment
63 Char_t *fPath; //comment
64 AliHLTPHOSMIPCounter *fMIPCounterPtr; //comment
65 TH1I *fHistPtr; //comment
66 TH1I *fIntervalHistPtr; //comment
67 TH1F *fRateHistPtr; //comment
68 TH2I *fChannelHistPtr; //comment
69 TH1F *fRatioHistPtr; //comment
70
71 static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type
78cc8fa3 72};
73#endif
74
75