Status line is created also in case of 1 entry.
authormivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Oct 2013 08:26:17 +0000 (08:26 +0000)
committermivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Oct 2013 08:26:17 +0000 (08:26 +0000)
Outlyer filtering is in that case not active.

STAT/TStatToolkit.cxx

index 2335c6e..1276352 100644 (file)
@@ -1425,7 +1425,7 @@ Int_t  TStatToolkit::SetStatusAlias(TTree * tree, const char * expr, const char
   */
   //
   Int_t entries = tree->Draw(expr,cut,"goff");
-  if (entries<=1){
+  if (entries<1){
     printf("Expression or cut not valid:\t%s\t%s\n", expr, cut);
     return 0;
   }