X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG2%2FFLOW%2FAliFlowCommon%2FAliFlowEventSimple.cxx;h=3d57e3f8a6817af56500424ed987bc8af258763f;hb=f873707d91bc5b17757685623243e9b864457270;hp=e38687e6934b80b9e10469d44117ff6b50df1f91;hpb=3495d79cbb71c805f607e25b5a6e57ca4df8a2d5;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG2/FLOW/AliFlowCommon/AliFlowEventSimple.cxx b/PWG2/FLOW/AliFlowCommon/AliFlowEventSimple.cxx index e38687e6934..3d57e3f8a68 100644 --- a/PWG2/FLOW/AliFlowCommon/AliFlowEventSimple.cxx +++ b/PWG2/FLOW/AliFlowCommon/AliFlowEventSimple.cxx @@ -413,7 +413,7 @@ void AliFlowEventSimple::Print(Option_t *option) const // -*-*-*-*-*Print some global quantities for this histogram collection class *-*-*-*-*-*-*-* // =============================================== // printf( "TH1.Print Name = %s, Entries= %d, Total sum= %g\n",GetName(),Int_t(fEntries),GetSumOfWeights()); - printf( "Class.Print Name = %s, Total number of tracks= %d, Number of selected tracks= %d, MC EventPlaneAngle= %f\n", + printf( "Class.Print Name = %s, #tracks= %d, Number of RPs= %d, MC EventPlaneAngle= %f\n", GetName(),fNumberOfTracks, fNumberOfRPs, fMCReactionPlaneAngle ); if (fTrackCollection) @@ -604,8 +604,11 @@ void AliFlowEventSimple::TagRP( AliFlowTrackSimpleCuts* cuts ) { AliFlowTrackSimple* track = static_cast(fTrackCollection->At(i)); if (!track) continue; - if (cuts->PassesCuts(track)) track->SetForRPSelection(); - fNumberOfRPs++; + if (cuts->PassesCuts(track)) + { + track->SetForRPSelection(); + fNumberOfRPs++; + } } }