Lines getting the matched track moved to a method in AliCalorimeterUtils. Lines copie...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoCutMonitorParticleEtCorr.h
CommitLineData
95150c4b 1////////////////////////////////////////////////////////////////////////////////
2// //
3// AliFemtoCutMonitorParticleEtCorr - the cut monitor for particles //
4// which saves particles' et histogram and makes the bin-by-bin correlation //
5// //
6// Author: Adam.Kisiel@cern.ch //
7// //
8////////////////////////////////////////////////////////////////////////////////
9#ifndef AliFemtoCutMonitorParticleEtCorr_hh
10#define AliFemtoCutMonitorParticleEtCorr_hh
11
12class AliFemtoEvent;
13class AliFemtoTrack;
14class AliFemtoV0;
15class AliFemtoKink;
16class AliFemtoPair; // Gael 12/04/02
17class TH1D;
18class TH2D;
19class TList;
20#include "AliFemtoString.h"
21#include "AliFemtoParticleCollection.h"
22#include "AliFemtoCutMonitor.h"
23
24class AliFemtoCutMonitorParticleEtCorr : public AliFemtoCutMonitor{
25
26public:
27 AliFemtoCutMonitorParticleEtCorr();
28 AliFemtoCutMonitorParticleEtCorr(const char *aName, int aPhiBins);
29 AliFemtoCutMonitorParticleEtCorr(const AliFemtoCutMonitorParticleEtCorr &aCut);
30 virtual ~AliFemtoCutMonitorParticleEtCorr();
31
32 AliFemtoCutMonitorParticleEtCorr& operator=(const AliFemtoCutMonitorParticleEtCorr& aCut);
33
34 virtual void EventBegin(const AliFemtoEvent* aEvent);
35 virtual void EventEnd(const AliFemtoEvent* aEvent);
36
37 virtual AliFemtoString Report();
38 virtual void Fill(const AliFemtoEvent* aEvent) {AliFemtoCutMonitor::Fill(aEvent);}
39 virtual void Fill(const AliFemtoTrack* aTrack);
40 virtual void Fill(const AliFemtoV0* aV0) {AliFemtoCutMonitor::Fill(aV0);}
41 virtual void Fill(const AliFemtoKink* aKink) {AliFemtoCutMonitor::Fill(aKink);}
42 virtual void Fill(const AliFemtoPair* aPair) {AliFemtoCutMonitor::Fill(aPair);}
43 virtual void Fill(const AliFemtoParticleCollection* aCollection) {AliFemtoCutMonitor::Fill(aCollection);}
44 virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection)
45 {AliFemtoCutMonitor::Fill(aEvent, aCollection);}
46
47 void Write();
48
49 virtual TList *GetOutputList();
50
51private:
52 Double_t fPtSumEvent[200]; // A table where Pt sum per event is stored
53 Double_t fMultSumEvent[200]; // A table where mult sum per event is stored
54 Int_t fPhiBins; // Number of Phi bins
55 TH1D *fPtPerPhi; // Histogram storing per-bin sum pt
56 TH2D *fPtCovPerPhi; // Histogram storing per-bin covariance
57 TH2D *fPtMultPerPhi; // Histogram storing per-bin multiplicity
58 Int_t fNEventsProcessed; // Count processed events
59};
60
61#endif