]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/global/physics/AliHLTV0HistoComponent.h
vertex finder moved from GlobalESDConverter to a separate component GlobalVertexer
[u/mrichter/AliRoot.git] / HLT / global / physics / AliHLTV0HistoComponent.h
CommitLineData
8125805f 1#ifndef ALIHLTV0HISTOCOMPONENT_H
2#define ALIHLTV0HISTOCOMPONENT_H
3//* This file is property of and copyright by the ALICE HLT Project *
4//* ALICE Experiment at CERN, All rights reserved. *
5//* See cxx source for full Copyright notice *
6
7/** @file AliHLTV0HistoComponent.h
8 @author Sergey Gorbunov
9 @brief Component for monitor V0 physics
10*/
11
12#include "AliHLTProcessor.h"
13class TH1F;
14class TH2F;
15
16/**
17 * @class AliHLTTPCV0HistoComponent
18 * Component for monitor V0 physics
19 */
20class AliHLTV0HistoComponent : public AliHLTProcessor
21{
22public:
23 /** default constructor */
24 AliHLTV0HistoComponent();
25 /** destructor */
26 virtual ~AliHLTV0HistoComponent();
27
28 // Public functions to implement AliHLTComponent's interface.
29 // These functions are required for the registration process
30
31 /** interface function, see AliHLTComponent for description */
32 const char* GetComponentID();
33 /** interface function, see AliHLTComponent for description */
34 void GetInputDataTypes(AliHLTComponentDataTypeList& list);
35 /** interface function, see AliHLTComponent for description */
36 AliHLTComponentDataType GetOutputDataType();
37 /** interface function, see AliHLTComponent for description */
38 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
39 /** interface function, see AliHLTComponent for description */
40 AliHLTComponent* Spawn();
41
42protected:
43
44 // Protected functions to implement AliHLTComponent's interface.
45 // These functions provide initialization as well as the actual processing
46 // capabilities of the component.
47
48 /** interface function, see AliHLTComponent for description */
49 int DoInit( int argc, const char** argv );
50 /** interface function, see AliHLTComponent for description */
51 int DoDeinit();
52 /** interface function, see AliHLTComponent for description */
53 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
54
55 int Reconfigure(const char* cdbEntry, const char* chainId);
56
57 using AliHLTProcessor::DoEvent;
58
59private:
60 /** copy constructor prohibited */
61 AliHLTV0HistoComponent(const AliHLTV0HistoComponent&);
62 /** assignment operator prohibited */
63 AliHLTV0HistoComponent& operator=(const AliHLTV0HistoComponent&);
64 /**
65 * Configure the component.
66 * Parse a string for the configuration arguments and set the component
67 * properties.
68 */
69 int Configure(const char* arguments);
70
01ce7f55 71 TH1F *fGamma; // Gamma inv. mass
72 TH1F *fKShort; // Ks inv. mass
73 TH1F *fLambda; // Lambda inv. mass
74 TH2F *fAP; // Armenteros-Podolanski
75 TH2F *fGammaXY; // XY distribution of gamma convertions
4d5ee3db 76 Int_t fNEvents; // n of processed events
01ce7f55 77 Int_t fNGammas; // n found total
8125805f 78 Int_t fNKShorts; // n found total
01ce7f55 79 Int_t fNLambdas; // n found total
8125805f 80
81 ClassDef(AliHLTV0HistoComponent, 0);
82
83};
84#endif