Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

draw_tobject Struct Reference

#include <Functors.h>

List of all members.

Public Member Functions

void operator() (TObject *x)


Member Function Documentation

void draw_tobject::operator() TObject *  x  )  [inline]
 

Definition at line 26 of file Functors.h.

00026                               {
00027     // Do not draw poly lines if they have no points. Otherwise ROOT crashes
00028     if (dynamic_cast<TPolyLine*>(x)) {
00029       if (dynamic_cast<TPolyLine*>(x)->GetN() < 2) return;
00030     }
00031     else if (dynamic_cast<TPolyLine3D*>(x)) {
00032       if (dynamic_cast<TPolyLine3D*>(x)->GetN() < 2) return;
00033     }
00034 
00035     x->Draw();
00036   }


The documentation for this struct was generated from the following file:
Generated on Sat Oct 11 02:35:31 2008 for NOvA Offline by  doxygen 1.3.9.1