Binary files ./.DS_Store and ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/.DS_Store differ
diff -ur ./Analysis/Charge.C ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/Charge.C
--- ./Analysis/Charge.C	2016-12-03 23:10:51.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/Charge.C	2017-02-03 17:11:26.000000000 +0900
@@ -198,7 +198,8 @@
         << "cpa<"  << kCpaMaxCut;
   }
   cut   << "&&" 
-        << "ntrks<=" << kNtrksCut;
+        << "serialrow==" << layer << "&&"
+        << "ntrks<="     << kNtrksCut;
   cut << ends;
 
   hResXin->Draw("chg>>htemp(100,0.,4000.)", cut.str().data());
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Charge.C~
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Charge_Row44_B1T_P5GeV.pdf
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Charge_Row47_B1T_P5GeV.pdf
diff -ur ./Analysis/GMResol.C ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/GMResol.C
--- ./Analysis/GMResol.C	2016-12-07 23:02:54.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/GMResol.C	2017-03-16 15:24:55.000000000 +0900
@@ -28,8 +28,8 @@
   //Int_t kRun[] = { 17319, 17367, 17324, 17364, 17327, 17359, 17331, 17356, 17340, 17352}; // B=1T
   //Int_t kRun[] = { 18564, 18563, 18562, 18561, 18552, 18551, 18550, 18549, 18548, 18547}; // B=1T
   //Int_t kRun[] = { 18609, 18606, 18605, 18601, 18600, 18598, 18597, 18595, 18594, 18592, 18591}; // B=1T
-  Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
-  //Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
+  //Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
+  Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
 
   Int_t layer = (module < 2 ? 0 : module < 5 ? 28 : 56) + row;
 
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: GMResol.C~
diff -ur ./Analysis/PadRes.C ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/PadRes.C
--- ./Analysis/PadRes.C	2016-12-09 23:36:31.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/PadRes.C	2017-03-16 14:31:50.000000000 +0900
@@ -1,4 +1,5 @@
 #define CHECK_DIST
+#define PED_CORR
 #include <iomanip>
 #include "Runinfo.h+"
 
@@ -29,8 +30,8 @@
   //    dlen [cm]      5     10     15     20     25     30     35     40     45     50
   //Int_t kRun[] = { 17319, 17367, 17324, 17364, 17327, 17359, 17375, 17356, 17340, 17352}; // B=1T
   //Int_t kRun[] = { 18564, 18563, 18562, 18561, 18552, 18551, 18550, 18549, 18548, 18547}; // B=1T
-  //Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
-  Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
+  Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
+  //Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
 
   // ---------------
   // Loop over runs
@@ -56,7 +57,7 @@
   grp->SetTitle(titlestr.str().data());
   grp->GetHistogram()->GetXaxis()->SetLimits(0.,550.);
   grp->GetHistogram()->GetXaxis()->SetTitle("Drift Length: z [mm]");
-  grp->GetHistogram()->GetYaxis()->SetTitle("#sigma_{PR}(0)^{2} [mm^{2}]");
+  grp->GetHistogram()->GetYaxis()->SetTitle("#sigma_{PR}^{2} [mm^{2}]");
   grp->Draw("ap");
   grp->SetMarkerColor(1);
   grp->SetMarkerStyle(21);
@@ -176,8 +177,19 @@
   hslicestr << "htmp_1" << ends;
   TH1D *hslice = static_cast<TH1D *>(gROOT->FindObject(hslicestr.str().data()));
 
+#ifdef PED_CORR
+#if 1
   TF1 func("user","[0]*exp(-pow((x-[1])/[2],2)/2.)/sqrt(2*3.141592*[2])+[3]",-8.,+8.);
-  //TF1 func("user","[0]*exp(-pow((x-[1])/[2],2)/2.)/sqrt(2*3.141592*[2])",-8.,+8.);
+#else
+  //TF1 func("user","[0]*(0.85*exp(-pow((x-[1])/[2],2)/2.)/sqrt(2*3.141592*[2])+0.15*exp(-pow((x-[1])/[3],2)/2.)/sqrt(2*3.141592*[3]))",-8.,+8.);
+  //func.SetParameter(3,2.);
+  TF1 func("user","[0]*((1-[3])*exp(-pow((x-[1])/[2],2)/2.)/sqrt(2*3.141592*[2])+[3]*exp(-pow((x-[1])/(3*[2]),2)/2.)/sqrt(2*3.141592*(3*[2])))",-8.,+8.);
+  func.SetParameter(3,0.10);
+  func.FixParameter(3,0.07);
+#endif
+#else
+  TF1 func("user","[0]*exp(-pow((x-[1])/[2],2)/2.)/sqrt(2*3.141592*[2])",-8.,+8.);
+#endif
   func.SetParameter(0,1.);
   func.SetParameter(1,0.);
   func.SetParameter(2,1.);
@@ -188,11 +200,16 @@
   //hslice->Fit("user","","",-5*y,5*y);
   hslice->Fit("user","","",-2.5*y,2.5*y);
   y  = hslice->GetFunction("user")->GetParameter(2);
+#ifdef PED_CORR
   //hslice->Fit("user","","",-5*y,5*y);
+  //hslice->Fit("user","","",-4.0*y,4.0*y);
   hslice->Fit("user","","",-3.0*y,3.0*y);
-  //hslice->Fit("user","","",-2.5*y,2.5*y);
+#else
+  hslice->Fit("user","","",-2.5*y,2.5*y);
   //hslice->Fit("user","","",-3.5*y,3.5*y);
   //hslice->Fit("user","","",-2.0*y,2.0*y);
+  //hslice->Fit("user","","",-1.7*y,1.7*y);
+#endif
 
   x  = dlen;
   y  = hslice->GetFunction("user")->GetParameter(2);
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: PadRes.C~
diff -ur ./Analysis/ResidualByRow.C ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/ResidualByRow.C
--- ./Analysis/ResidualByRow.C	2016-12-01 22:22:36.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis/ResidualByRow.C	2017-03-18 19:52:28.000000000 +0900
@@ -8,8 +8,8 @@
   //Int_t kRun[] = { 17319, 17367, 17324, 17364, 17327, 17359, 17331, 17356, 17340, 17352}; // B=1T
   //Int_t kRun[] = { 18564, 18563, 18562, 18561, 18552, 18551, 18550, 18549, 18548, 18547}; // B=1T
   //Int_t kRun[] = { 18609, 18606, 18605, 18601, 18600, 18598, 18597, 18595, 18594, 18592, 18591}; // B=1T
-  //Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
-  Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
+  Int_t kRun[] = { 19987, 19985, 19984, 19983, 19982, 19981, 19980, 19979, 19978, 19977, 19976, 19975, 19974, 19973, 19972}; // B=1T
+  //Int_t kRun[] = { 20042, 20041, 20043, 20044, 20045, 20046, 20047, 20048, 20049, 20050, 20051, 20052, 20053, 20054, 20055}; // B=1T
 
 void Process(Int_t run, Int_t layer, Double_t &x, Double_t &y, Double_t &dx, Double_t &dy);
 
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: ResidualByRow.C~
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Runinfo_h.d
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Runinfo_h.so
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: Runinfo_h_ACLiC_dict_rdict.pcm
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: deltax.temp.dat
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_f.C
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_f.C~
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_g.C
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_gf.C
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_gf.C~
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Analysis: sgx_gf.pdf
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19972.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19972.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19973.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19973.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19974.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19974.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19975.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19975.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19976.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19976.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19977.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19977.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19978.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19978.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19979.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19979.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19980.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19980.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19981.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19981.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19982.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19982.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19983.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19983.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19984.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19984.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19985.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19985.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19987.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r19987.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20041.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20041.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20042.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20042.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20043.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20043.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20044.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20044.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20045.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20045.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20046.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20046.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20047.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20047.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20048.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20048.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20049.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20049.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20050.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20050.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20051.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20051.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20052.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20052.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20053.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20053.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20054.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20054.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20055.log
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/Data: r20055.root
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/: Data.2k
Only in .: diff
diff -ur ./gear_LP_TPC_GEM_7module.2012.xml ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/gear_LP_TPC_GEM_7module.2012.xml
--- ./gear_LP_TPC_GEM_7module.2012.xml	2016-11-25 04:59:47.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/gear_LP_TPC_GEM_7module.2012.xml	2017-03-16 16:03:45.000000000 +0900
@@ -13,9 +13,10 @@
 
     <!-- First set the global parameters -->
     <!-- Drift length in mm -->
-    <maxDriftLength value="600.0" />
+    <!--maxDriftLength value="600.0" /-->
+    <maxDriftLength value="700.0" />
     <coordinateType value="cartesian" />
-    <driftVelocity value="45000000." />
+    <driftVelocity value="75000000." />
     <!--readoutFrequency value="4.0e+07" /-->
 
     <!-- The module section
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/: gear_LP_TPC_GEM_7module.2012.xml~
Only in .: init_ilcsoft.sh
diff -ur ./reconstruction_libo_TEMPLATE.xml ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/reconstruction_libo_TEMPLATE.xml
--- ./reconstruction_libo_TEMPLATE.xml	2016-12-01 16:45:17.000000000 +0900
+++ ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/reconstruction_libo_TEMPLATE.xml	2017-03-16 16:03:06.000000000 +0900
@@ -190,7 +190,7 @@
   <parameter name="SetOutputHitsTransient" type="bool" value="false"/>
   <!--Optional: Set drift velocity in case there is no conditions data in mm/mu s-->
   <parameter name="UseGlobalCoordinates" type="bool">true </parameter>
-  <parameter name="VDriftOverride" type="float" value="45"/>
+  <parameter name="VDriftOverride" type="float" value="75"/>
 </processor>
 
  <processor name="MyTrackMakingKalmanFilterProcessor" type="TrackMakingKalmanFilterProcessor">
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/: reconstruction_libo_TEMPLATE.xml~
Only in ../../../../../10.12on10.12/v01-19-01/MarlinTPC/v01-02/examples/LP_Asian_GEM_Module/: temp.xml
