+ //AliITSresponseSPDbari *res0 = (AliITSresponseSPDbari*)iDetType->GetResponseModel();
+ AliITSresponseSPDbari *res0= new AliITSresponseSPDbari();
+ ITS->SetResponseModel(0,res0);
+
+// to change the parameters
+ //res0->SetThresholds(7.2e-6, 1.e-6);
+ //res0->SetNoiseParam(0., 0.);
+ //res0->SetNoiseParam(0.04, 0.08);
+
+// to monitor the parameters
+ Float_t thresh, sigma;
+ res0->Thresholds(thresh, sigma);
+ printf("SPDbari: threshold %e sigma %e\n",thresh, sigma);
+ Float_t col, row;
+ res0->GetNoiseParam(col, row);
+ printf("SPDbari: Coupling by column %e Coupling by row %e\n",col, row);
+