// Return:
if(this==&s) return *this;
+ this->~AliITSPlaneEffSPD();
+ new(this) AliITSPlaneEffSPD();
s.Copy(*this);
return *this;
}
// get key given a basic block
UInt_t key=99999;
if(mod>=kNModule || chip>=kNChip)
- {AliWarning("GetKey: you asked for a non existing block"); return 99999;}
+ {AliDebug(1,"GetKey: you asked for a non existing block"); return 99999;}
key = mod*kNChip+chip;
if(FO) {
- if(BCm4>= kNClockPhase) {AliWarning("GetKey: you have asked Fast OR and a non exisiting BC modulo 4"); return 99999;}
+ if(BCm4>= kNClockPhase) {AliDebug(1,"GetKey: you have asked Fast OR and a non exisiting BC modulo 4"); return 99999;}
key += kNModule*kNChip*(BCm4+1);
}
return key;
// Implemented by valerio.altini@ba.infn.it
if(key>=kNModule*kNChip*(kNClockPhase+1))
- {AliWarning("SwitchChipKeyNumbering: you asked for a non existing key"); return 99999;}
+ {AliDebug(1,"SwitchChipKeyNumbering: you asked for a non existing key"); return 99999;}
UInt_t mod=9999,chip=9999,phase=9999;
GetModAndChipFromKey(key,mod,chip);
if(mod<kNModuleLy1) chip = kNChip-(chip+1);
if(key>=kNModule*kNChip*(kNClockPhase+1))
{AliError("GetBCm4FromKey: you asked for a non existing key"); return 999;}
if(key<kNModule*kNChip)
- {AliWarning("GetBCm4FromKey: key is below 1200, why are you asking for FO related stuff"); return 999;}
+ {AliDebug(1,"GetBCm4FromKey: key is below 1200, why are you asking for FO related stuff"); return 999;}
return key/(kNModule*kNChip) - 1 ;
}
// Return: kTRUE if computation was succesfully, kFALSE otherwise
//
if(key>=kNModule*kNChip)
- {AliWarning("GetBlockBoundaries: you asked for a non existing key"); return kFALSE;}
+ {AliDebug(1,"GetBlockBoundaries: you asked for a non existing key"); return kFALSE;}
UInt_t chip=GetChipFromKey(key);
zmn=GetLocZFromCol(chip*kNCol);
zmx=GetLocZFromCol((chip+1)*kNCol);