Index: trunk/MagicSoft/Mars/mtemp/mifae/programs/makehillas.datacard
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/programs/makehillas.datacard	(revision 4428)
+++ trunk/MagicSoft/Mars/mtemp/mifae/programs/makehillas.datacard	(revision 5208)
@@ -11,17 +11,21 @@
 
 // Maximun number of (data) events to be processed)
-NEVENTS 9999999
+NEVENTS 99999999
 
 // data file directory
-IDIR /local_disk/jrico/rootdata/Crab20040215/
+IDIR /mnt/magic/Data/rootdata/CrabNebula/Period021/2004_09_22/
 
 // Pedestal (PRUNS), calibration (CRUNS) and data runs (DRUNS), e.g 1500-23444,25444,25455-26544
-PRUNS 16743
-CRUNS 16744
-DRUNS 16745
+// if PRUNS 0, take pedestals from low gains
+PCRUNS 39313
+CRUNS  39315
+PRUNS 0
+DRUNS 39261,39262,39264,39265,39269,39271,39273,39274,39276,39277,39279,39280,39282,39283,39285
+//,39286,39288,39290,39292-39294,39296-39299,39301,39302,39304-39306,39308,39309,39311,39318,39319,39321,39322,39324,39325,39327,39328,39330,39331,39333,39334,39336-39338,39340-39342,39344,39348-39350,39352-39355,39357,39358,39360-39362,39364-39366,39368-39370,39372,39373
+// 37478-37480,37482-37484,37486,37487,37489-37491,37493-37495,37497-37499,37501-37502,37504-37505,37507-37508,37510-37512,37514,37516-37519,37521,37522,37524,37525,37527-37529,37531,37532,37534,37535,37537-37539,37541-37544,37546-37551,37553-37555
 
 // output file name
 // OUTFILE ~/magic/mars/mars/hillasCrab/crab20040215OnA.root
-OUTFILE ./prueba.root
+OUTFILE /local_disk/jrico/prueba2.root
 
 // Selection cut. 
@@ -40,4 +44,8 @@
 PSFILENAME makehillas.ps
 
+// Signal extractor, higain first, higainlast, logainfirst, logainlast, window size
+// signal extractors: 0 fixed window, 1 sliding window, 2 peak search
+EXTRACTOR 2 0 14 2 14 6
+
 // calibration flag:
 // -1: kDummy
@@ -47,17 +55,17 @@
 // 11: kDefault(F factor) + bad pixel interpolation
 // 21: kDemocratic + bad pixel interpolation
-CALFLAG 0
+CALFLAG 1
 
 // calibration time:
 //   0: kFALSE (no time calibration)
 //   1: kTRUE  (time calibration)
-//CALTIME 1
+CALTIME 1
 
 
 // Cleaning level (tail cut, boundary cut, number of rings, cleaning method - 1=standard, 2=democratic)
-CLEANLEVEL 3.0 1.5 1 1
+CLEANLEVEL 2.5 2.0 1 1
 
 //Island calculations
-// 0  nothing about islands    1:normal algorithm 
+// 0  same as 1                1:normal algorithm 
 // 1  islands w/o cleaning     2:alternative algorithm
 // 2  islands  w  cleaning
