/*
- Contact: - prino@to.infn.it
-- Link: -
+- Link: - alien:///alice/data/2009/LHC09c_SDD/000079098/raw/09000079098024.10.root
- Run Type: - INJECTOR
- DA Type: - LDC
- Number of events needed: >20
if(nWrittenEv[index]>0){
injan[index]->FitMeanDriftSpeedVsAnode();
injan[index]->WriteToASCII(0,timeSt,0);
+ injan[index]->WriteInjectorStatusToASCII();
dspHistos->AddLast(injan[index]->GetMeanDriftSpeedVsPadHisto());
sprintf(filnam,"SDDinj_ddl%02dc%02d_sid%d.data",iddl,imod,isid);
sprintf(command,"tar -rf SDDinj_LDC.tar %s",filnam);
#ifdef ALI_AMORE
amore::da::AmoreDA amoreDA(amore::da::AmoreDA::kSender);
- Int_t status =0;
- status += amoreDA.Send("TimeInfo",&timeinfo);
- status += amoreDA.Send("DriftSpeed",dspHistos);
- if ( status )
+ Int_t statusamore =0;
+ statusamore += amoreDA.Send("TimeInfoInject",&timeinfo);
+ statusamore += amoreDA.Send("DriftSpeed",dspHistos);
+ if ( statusamore )
printf("Warning: Failed to write Arrays in the AMORE database\n");
else
printf("amoreDA.Send() OK\n");