]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSHistogramProducerComponent.h
- fixing compilation errors
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSHistogramProducerComponent.h
CommitLineData
1b41ab20 1//-*- Mode: C++ -*-
2// $Id$
3
9bf87c6f 4
5/**************************************************************************
6 * This file is property of and copyright by the ALICE HLT Project *
7 * All rights reserved. *
8 * *
9 * Primary Authors: Oystein Djuvsland *
10 * *
11 * Permission to use, copy, modify and distribute this software and its *
12 * documentation strictly for non-commercial purposes is hereby granted *
13 * without fee, provided that the above copyright notice appears in all *
14 * copies and that both the copyright notice and this permission notice *
15 * appear in the supporting documentation. The authors make no claims *
16 * about the suitability of this software for any purpose. It is *
17 * provided "as is" without express or implied warranty. *
18 **************************************************************************/
19
20#ifndef ALIHLTPHOSHISTOGRAMPRODUCERCOMPONENT_H
21#define ALIHLTPHOSHISTOGRAMPRODUCERCOMPONENT_H
22
23
24
25/**
26 *
27 *
28 * @file AliHLTPHOSHistogramProducerComponent.cxx
29 * @author Oystein Djuvsland
30 * @date
31 * @brief
32*/
33
34// see below for class documentation
35// or
36// refer to README to build package
37// or
38// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
39
40#include "AliHLTPHOSProcessor.h"
41
87434909 42class AliHLTPHOSPhysicsHistogramProducer;
ed95031f 43
44class AliHLTPHOSHistoProdCellEnergy;
45
46class AliHLTPHOSHistoProdClusterEnergy;
47
48class AliHLTPHOSHistoProdInvMass;
49
50class AliHLTPHOSHistoProdMatchedTracks;
51
9bf87c6f 52/**
53 * @class AliHLTPHOSHistogramProducerComponent
54 *
55 *
56 * @ingroup alihlt_phos
57 */
58class AliHLTPHOSHistogramProducerComponent: public AliHLTPHOSProcessor
59{
60 public:
61
62 /** Constructor */
63 AliHLTPHOSHistogramProducerComponent();
64
65 /** Destructor */
66 virtual ~AliHLTPHOSHistogramProducerComponent();
67
68 /** Copy constructor */
87434909 69 AliHLTPHOSHistogramProducerComponent(const AliHLTPHOSHistogramProducerComponent & ) :
9bf87c6f 70 AliHLTPHOSProcessor(),
87434909 71 fPhysicsHistogramProducerPtr(0),
72 fPushModulo(0)
9bf87c6f 73 {
74 //Copy constructor not implemented
75 }
76
77 /** Assignment */
78 AliHLTPHOSHistogramProducerComponent & operator = (const AliHLTPHOSHistogramProducerComponent)
79 {
80 //Assignment
81 return *this;
82 }
83
84 /** interface function, see @ref AliHLTComponent for description */
85 const char* GetComponentID();
86
87 /** interface function, see @ref AliHLTComponent for description */
88 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
89
90 /** interface function, see @ref AliHLTComponent for description */
91 AliHLTComponentDataType GetOutputDataType();
92
93 /** interface function, see @ref AliHLTComponent for description */
94 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
95
96 /** interface function, see @ref AliHLTComponent for description */
97
98 using AliHLTPHOSProcessor::DoEvent;
99
100 int DoEvent(const AliHLTComponentEventData& evtData,
101 AliHLTComponentTriggerData& trigData);
102
103 // Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
104 /** interface function, see @ref AliHLTComponent for description */
105 AliHLTComponent* Spawn();
106
107protected:
108
109 /** interface function, see @ref AliHLTComponent for description */
110 int DoInit(int argc, const char** argv);
111
112 /** interface function, see @ref AliHLTComponent for description */
113 int Deinit();
114
115 private:
116
87434909 117 AliHLTPHOSPhysicsHistogramProducer* fPhysicsHistogramProducerPtr;
118 UInt_t fPushModulo;
ed95031f 119
120
121 Bool_t fCellEnergy; // make the cell energy histograms?
122 Bool_t fClusterEnergy; // make the cluster energy histograms?
123 Bool_t fInvariantMass; // make the invariant mass histograms?
124 Bool_t fMatchedTracks; // make the matched tracks histograms?
125
126 AliHLTPHOSHistoProdCellEnergy *fCellEnergyHistProducer; // cell energy histogram producer
127
128 AliHLTPHOSHistoProdClusterEnergy *fClusterEnergyHistProducer; // cluster energy histogram producer
129
130 AliHLTPHOSHistoProdInvMass *fInvariantMassHistProducer; // invariant mass histogram producer
131
132 AliHLTPHOSHistoProdMatchedTracks *fMatchedTracksHistProducer; // matched tracks histogram producer
9bf87c6f 133
9bf87c6f 134};
135
136#endif