ClassImp(AliMUONContourMaker)
/// \endcond
-namespace
-{
- void PrintSegments(const TObjArray& array)
- {
- TIter next(&array);
- AliMUONSegment* s;
- Int_t i(0);
- while ( ( s = static_cast<AliMUONSegment*>(next()) ) )
- {
- cout << Form("i=%d %s",i,s->AsString()) << endl;
- ++i;
- }
- }
-}
-
//_____________________________________________________________________________
AliMUONContourMaker::AliMUONContourMaker()
{
if ( polygons.GetLast() == 0 )
{
- AliCodeTimerAuto("Trivial case",0);
+ AliCodeTimerAuto("Trivial case",1);
contour = new AliMUONContour(name);
pol = static_cast<AliMUONPolygon*>(polygons.First());
contour->Add(*pol);
if ( polygonVerticalEdges.GetLast()+1 < 2 )
{
- AliError(Form("Got too few edges here for createContour %s",name));
polygons.Print();
- TObject* o(0x0);
- o->Print();
+ AliFatal(Form("Got too few edges here for createContour %s",name));
}
// Find the vertical edges of the merged contour. This is the meat of the algorithm...