1 ////////////////////////////////////////////////////////////////////////////////
2 /// AliFemtoCutMonitor - the base class for cut monitor ///
3 /// A cut monitor saves the entities that passed and failed the given cut ///
4 ////////////////////////////////////////////////////////////////////////////////
5 #ifndef ALIFEMTOCUTMONITOR_H
6 #define ALIFEMTOCUTMONITOR_H
12 class AliFemtoPair; // Gael 12/04/02
13 #include "AliFemtoString.h"
14 #include "AliFemtoParticleCollection.h" // Gael 19/06/02
17 class AliFemtoCutMonitor{
20 AliFemtoCutMonitor(){/* no-op */};
21 virtual ~AliFemtoCutMonitor(){/* no-op */};
22 virtual AliFemtoString Report(){
23 string Stemp = "*** no user defined Fill(const AliFemtoEvent*), take from base class";
24 AliFemtoString returnThis = Stemp;
27 virtual void EventBegin(const AliFemtoEvent* aEvent);
28 virtual void EventEnd(const AliFemtoEvent* aEvent);
29 virtual TList *GetOutputList() { TList *tOutputList = new TList(); return tOutputList; };
30 virtual void Fill(const AliFemtoEvent* aEvent);
31 virtual void Fill(const AliFemtoTrack* aTrack);
32 virtual void Fill(const AliFemtoV0* aV0);
33 virtual void Fill(const AliFemtoKink* aKink);
34 virtual void Fill(const AliFemtoPair* aPair);
35 virtual void Fill(const AliFemtoParticleCollection* aCollection);
36 virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection);
37 virtual void Finish() {
39 cout << " *** no user defined Finish(), take from base class" << endl;
44 cout << " *** no user defined Init(), take from base class" << endl;