X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ITS%2FAliITSPlaneEffSPD.cxx;h=30f6b3a0af4b589e8489bb80fdd9e97c722c5b92;hp=6de1135ccf966acdf49ebefd4834f837f923f50b;hb=bdef344f5f7f141690b8987bf50766ab8ae5f877;hpb=d66f160c3ef7ecab167ef8c85fa025cd71f9c1e6 diff --git a/ITS/AliITSPlaneEffSPD.cxx b/ITS/AliITSPlaneEffSPD.cxx index 6de1135ccf9..30f6b3a0af4 100644 --- a/ITS/AliITSPlaneEffSPD.cxx +++ b/ITS/AliITSPlaneEffSPD.cxx @@ -213,6 +213,8 @@ AliITSPlaneEffSPD& AliITSPlaneEffSPD::operator=(const // Return: if(this==&s) return *this; + this->~AliITSPlaneEffSPD(); + new(this) AliITSPlaneEffSPD(); s.Copy(*this); return *this; } @@ -424,10 +426,10 @@ UInt_t AliITSPlaneEffSPD::GetKey(const UInt_t mod, const UInt_t chip, const Bool // 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; @@ -441,7 +443,7 @@ UInt_t AliITSPlaneEffSPD::SwitchChipKeyNumbering(UInt_t key) const { // 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=kNModule*kNChip*(kNClockPhase+1)) {AliError("GetBCm4FromKey: you asked for a non existing key"); return 999;} 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);