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_hh
6 #define AliFemtoCutMonitor_hh
12 class AliFemtoPair; // Gael 12/04/02
13 #include "AliFemtoString.h"
14 #include "AliFemtoParticleCollection.h" // Gael 19/06/02
16 class AliFemtoCutMonitor{
21 AliFemtoCutMonitor(){/* no-op */};
22 virtual ~AliFemtoCutMonitor(){/* no-op */};
23 virtual AliFemtoString Report(){
24 string Stemp = "*** no user defined Fill(const AliFemtoEvent*), take from base class";
25 AliFemtoString returnThis = Stemp;
28 virtual void EventBegin(const AliFemtoEvent* aEvent) { /* no-op */ }
29 virtual void EventEnd(const AliFemtoEvent* aEvent) { /* no-op */ }
30 virtual void Fill(const AliFemtoEvent* aEvent) {
32 cout << " *** no user defined Fill(const AliFemtoEvent*), take from base class" << endl;
35 virtual void Fill(const AliFemtoTrack* aTrack) {
37 cout << " *** no user defined Fill(const AliFemtoTrack*), take from base class" << endl;
40 virtual void Fill(const AliFemtoV0* aV0) {
42 cout << " *** no user defined Fill(const AliFemtoV0Track*), take from base class" << endl;
45 virtual void Fill(const AliFemtoKink* aKink) {
47 cout << " *** no user defined Fill(const AliFemtoKink*), take from base class" << endl;
50 //-----------------------------------Gael 12/04/02------------------------------------
51 virtual void Fill(const AliFemtoPair* aPair) {
53 cout << " *** no user defined Fill(const AliFemtoPair*), take from base class" << endl;
56 //-----------------------------------Gael 19/06/02------------------------------------
57 virtual void Fill(const AliFemtoParticleCollection* aCollection) {
59 cout << " *** no user defined Fill(const AliFemtoParticleCollection*), take from base class" << endl;
62 //-----------------------------------Gael 19/06/02------------------------------------
63 virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection) {
65 cout << " *** no user defined Fill(const AliFemtoEvent*,const AliFemtoParticleCollection*), take from base class" << endl;
68 // -------------------------------------------------------------------------------------
69 virtual void Finish() {
71 cout << " *** no user defined Finish(), take from base class" << endl;
76 cout << " *** no user defined Init(), take from base class" << endl;