Index: trunk/MagicSoft/Mars/mtemp/mifae/macros/hillasONOFF.C
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/macros/hillasONOFF.C	(revision 6028)
+++ trunk/MagicSoft/Mars/mtemp/mifae/macros/hillasONOFF.C	(revision 6029)
@@ -5,8 +5,5 @@
 //                       Ester Aliu  <aliu@ifae.es>
 ////////////////////////////////////////////////////////////////////////////
-void hillasONOFF(
-TString onname,
-TString offname,
-TString psname)
+void hillasONOFF()
 {    
     // general settings
@@ -27,13 +24,18 @@
        
     // define file, tree, canvas
-    TChain *fdata = new TChain;
-    fdata->AddFile(onname);
-    TTree *t = Parameters;                                                     
+    TChain* t= new TChain("Parameters");
+    //    t->AddFile("/local_disk/jrico/hillas/hillasOn21.root");
+    //    t->AddFile("/local_disk/jrico/hillas/hillasOn22.root");
+    t->AddFile("/local_disk/jrico/hillas/RFOnnoAlpha.root");
     
     // define file, tree, canvas
-    TChain *fdata2 = new TChain;
-    fdata2->AddFile(offname);
-    TTree *t2 = Parameters;  
+    TChain *t2 = new TChain("Parameters");
+    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff09.root");
+    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff18.root");
+    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff21.root");
+    t2->AddFile("/local_disk/jrico/hillas/RFOffnoAlpha.root");
+
    
+    TString psname="hillasonoff.ps";
     TString title;
 
@@ -75,5 +77,5 @@
       
     // define  cuts
-    const char* cut1 = "size>500";
+    const char* cut1 = "size>500 && MHadronness.fHadronness<0.1";
     const char* cut2 = "size>1000";
     const char* cut3 = "size>2000";
