- TObjArray *ped;
- f->GetObject("Pedestal;1", ped);
- if(!ped) {
- Log("File does not contain expected data for the pedestals!");
- delete list;
- }
- nmod = ped->GetEntries();
- for(Int_t mod=0; mod<nmod; mod++) {
- AliITSPedestalSSD *pedel = (AliITSPedestalSSD*) ped->At(mod);
- if((pedel->GetMod()<500)||(pedel->GetMod()>2198)) continue;
- ped_array.AddAt(pedel,pedel->GetMod()-500);
+ for(Int_t module=0; module<fgkNumberOfSSD; module++) {
+ for(Int_t strip=0; strip<768; strip++) {
+ if(cal->GetNoiseP(module,strip))
+ calib->AddNoiseP(module,strip,cal->GetNoiseP(module,strip));
+ if(cal->GetNoiseN(module,strip))
+ calib->AddNoiseN(module,strip,cal->GetNoiseN(module,strip));
+ if(ped->GetPedestalP(module,strip))
+ pedel->AddPedestalP(module,strip,
+ ped->GetPedestalP(module,strip));
+ if(ped->GetPedestalN(module,strip))
+ pedel->AddPedestalN(module,strip,
+ ped->GetPedestalN(module,strip));
+ if(bad->GetBadChannelP(module,strip))
+ badch->AddBadChannelP(module,strip,
+ bad->GetBadChannelP(module,strip));
+ if(bad->GetBadChannelN(module,strip))
+ badch->AddBadChannelN(module,strip,
+ bad->GetBadChannelN(module,strip));
+ }