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 27 of file Functors.h.

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


The documentation for this struct was generated from the following file:
Generated on Sun Nov 22 04:45:29 2009 for NOvA Offline by  doxygen 1.3.9.1