]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FEMTOSCOPY/AliFemto/AliFemtoSimpleAnalysis.cxx
Add dEdx monitoring. Add accepted multiplicity monitoring
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoSimpleAnalysis.cxx
index 74a77430c44925af6cdebbfddd626c81ad79118e..83b88832ae49786981469b70bf1a90774fef900f 100644 (file)
@@ -322,7 +322,8 @@ void AliFemtoSimpleAnalysis::ProcessEvent(const AliFemtoEvent* hbtEvent) {
   EventBegin(hbtEvent);  
   // event cut and event cut monitor
   bool tmpPassEvent = fEventCut->Pass(hbtEvent);
-  fEventCut->FillCutMonitor(hbtEvent, tmpPassEvent);
+  if (!tmpPassEvent) 
+    fEventCut->FillCutMonitor(hbtEvent, tmpPassEvent);
   if (tmpPassEvent) {
 //     cout << "AliFemtoSimpleAnalysis::ProcessEvent() - Event has passed cut - build picoEvent from " <<
 //       hbtEvent->TrackCollection()->size() << " tracks in TrackCollection" << endl;
@@ -345,7 +346,8 @@ void AliFemtoSimpleAnalysis::ProcessEvent(const AliFemtoEvent* hbtEvent) {
     // number of entries (jun2002)
     if ((fPicoEvent->FirstParticleCollection()->size() >= fMinSizePartCollection )
        && ( AnalyzeIdenticalParticles() || (fPicoEvent->SecondParticleCollection()->size() >= fMinSizePartCollection ))) {
-
+      fEventCut->FillCutMonitor(hbtEvent, tmpPassEvent);
+      
 
 //------------------------------------------------------------------------------
 //   Temporary comment:
@@ -404,6 +406,7 @@ void AliFemtoSimpleAnalysis::ProcessEvent(const AliFemtoEvent* hbtEvent) {
 
     }  // if ParticleCollections are big enough (mal jun2002)
     else{
+      fEventCut->FillCutMonitor(hbtEvent, !tmpPassEvent);
       delete fPicoEvent;
     }
   }   // if currentEvent is accepted by currentAnalysis