Lines getting the matched track moved to a method in AliCalorimeterUtils. Lines copie...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoCutMonitorEventVertex.h
CommitLineData
dc37df7f 1////////////////////////////////////////////////////////////////////////////////
2/// ///
3/// AliFemtoCutMonitorEventVertex - the cut monitor for events to study ///
4/// the distribution and error of the primary vertex ///
5/// ///
6////////////////////////////////////////////////////////////////////////////////
7#ifndef AliFemtoCutMonitorEventVertex_hh
8#define AliFemtoCutMonitorEventVertex_hh
9
10class AliFemtoEvent;
11class AliFemtoTrack;
12class AliFemtoV0;
13class AliFemtoKink;
14class AliFemtoPair;
15class TH1D;
16class TH2D;
17class TList;
18#include "AliFemtoString.h"
19#include "AliFemtoParticleCollection.h"
20#include "AliFemtoCutMonitor.h"
21
22class AliFemtoCutMonitorEventVertex : public AliFemtoCutMonitor{
23
24public:
25 AliFemtoCutMonitorEventVertex();
26 AliFemtoCutMonitorEventVertex(const char *aName);
27 AliFemtoCutMonitorEventVertex(const AliFemtoCutMonitorEventVertex &aCut);
28 virtual ~AliFemtoCutMonitorEventVertex();
29
30 AliFemtoCutMonitorEventVertex& operator=(const AliFemtoCutMonitorEventVertex& aCut);
31
32 virtual AliFemtoString Report();
33 virtual void Fill(const AliFemtoEvent* aEvent);
34 virtual void Fill(const AliFemtoTrack* aTrack) {AliFemtoCutMonitor::Fill(aTrack);}
35 virtual void Fill(const AliFemtoV0* aV0) {AliFemtoCutMonitor::Fill(aV0);}
36 virtual void Fill(const AliFemtoKink* aKink) {AliFemtoCutMonitor::Fill(aKink);}
37 virtual void Fill(const AliFemtoPair* aPair) {AliFemtoCutMonitor::Fill(aPair);}
38 virtual void Fill(const AliFemtoParticleCollection* aCollection) {AliFemtoCutMonitor::Fill(aCollection);}
39 virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection)
40 {AliFemtoCutMonitor::Fill(aEvent, aCollection);}
41
42 void Write();
43
44 virtual TList *GetOutputList();
45
46private:
47 TH1D *fEvVertRad; // Vertex position in radial direction
48 TH2D *fEvVertXY; // Vertex position in XY plane
49 TH1D *fEvVertSigXY; // Sigma in XY plane
50 TH1D *fEvVertZ; // Vertex position in Z direction
51 TH1D *fEvVertSigZ; // Sigma in Z direction
52};
53
54#endif