From: ivana Date: Thu, 20 Oct 2005 16:56:54 +0000 (+0000) Subject: Let it be less verbose. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=1422e21f9487c84e6adc84ab9221cb16d654fc32;p=u%2Fmrichter%2FAliRoot.git Let it be less verbose. (Laurent) ---------------------------------------------------------------------- --- diff --git a/MUON/mapping/AliMpPCBPainter.cxx b/MUON/mapping/AliMpPCBPainter.cxx index 555779a68a8..b95dd713154 100644 --- a/MUON/mapping/AliMpPCBPainter.cxx +++ b/MUON/mapping/AliMpPCBPainter.cxx @@ -85,42 +85,27 @@ AliMpPCBPainter::Draw(Option_t* option) gr->Push(); InitGraphContext(); - std::cout << "PCB Position and Dimensions:" << std::endl; - GetPosition().Print(); - GetDimensions().Print(); - switch (option[0]) - { + { case 'M': for ( AliMpPCB::Size_t i = 0; i < fPCB->GetSize(); ++i ) - { - AliMpMotifPosition* pos = fPCB->GetMotifPosition(i); - - gr->Push(); - gr->SetPadPosForReal(pos->Position(), - pos->Dimensions()); - // - std::cout << "Motif Position " << pos->GetID() - << std::endl; - pos->GetMotif()->Print(""); - std::cout << "Motif dimension:" << std::endl; - pos->GetMotif()->Dimensions().Print(); - std::cout << "MotifPosition position:" << std::endl; - pos->Position().Print(); - std::cout << "MotifPosition dimensions:" << std::endl; - pos->Dimensions().Print(); - // int id = atoi(pos->GetMotif()->GetID().Data()); - gr->SetColor(2+i%7); - - DrawObject(pos,option+1); - - gr->Pop(); - } + { + AliMpMotifPosition* pos = fPCB->GetMotifPosition(i); + + gr->Push(); + gr->SetPadPosForReal(pos->Position(), + pos->Dimensions()); + gr->SetColor(gr->GetColor()+i); + + DrawObject(pos,option+1); + + gr->Pop(); + } break; default: AppendPad(option); - } - + } + gr->Pop(); } diff --git a/MUON/mapping/AliMpSlatPainter.cxx b/MUON/mapping/AliMpSlatPainter.cxx index 115918e2aa9..2832e3bc5f6 100644 --- a/MUON/mapping/AliMpSlatPainter.cxx +++ b/MUON/mapping/AliMpSlatPainter.cxx @@ -95,7 +95,6 @@ AliMpSlatPainter::Draw(Option_t* option) gr->Push(); InitGraphContext(); - std::cout << "Slat Position and Dimensions:" << std::endl; GetPosition().Print(); GetDimensions().Print(); @@ -108,7 +107,6 @@ AliMpSlatPainter::Draw(Option_t* option) gr->Push(); - AliInfo(Form("PCB Pos : %7.2f %7.2f",pcb->X(),pcb->Y())); gr->SetPadPosForReal(TVector2(pcb->X(),pcb->Y()), TVector2(pcb->DX(),pcb->DY())); gr->SetColor(i+2);