]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - DIME/TDime.cxx
put different cluster parameters (time, n cells, n SM) in the AOD particle, recover...
[u/mrichter/AliRoot.git] / DIME / TDime.cxx
index 02272c598708bdbea7fe5787e837ade263724446..42f56225874ecca4007052e3a02f17215bc5268f 100644 (file)
@@ -72,12 +72,14 @@ TDime::~TDime()
     CUTS.rmax = 1.8; 
     CUTS.rmin = -1.8;
     CUTS.ecut = 2.;
-    strcpy(FLAGS.pflag,     "rho      ");
-    strcpy(FLAGS.fsi,       "true     ");
-    strcpy(FLAGS.ppbar,     "false    ");
-    strcpy(FLAGS.cuts,      "true     ");
-    strcpy(FLAGS.unw,       "true     ");
-    strcpy(FF.formf,        "orexp    ");
+    Int_t len = 10;
+    strncpy(FLAGS.pflag,     "rho       ", len);
+    strncpy(FLAGS.fsi,       "true      ", len);
+    strncpy(FLAGS.ppbar,     "false     ", len);
+    strncpy(FLAGS.cuts,      "true      ", len);
+    strncpy(FLAGS.unw,       "true      ", len);
+    strncpy(FF.formf,        "orexp     ", len);
+    VARS.iin = 1;
     dimeinit();
 }