TEvePad.cxx

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEvePad.cxx 21310 2007-12-10 19:05:45Z matevz $
00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #include "TEvePad.h"
00013 #include "THashList.h"
00014 
00015 //______________________________________________________________________________
00016 // TEvePad
00017 //
00018 // This was intended as a TPad wrapper to allow smart updates of
00019 // groups of pads. Uses THashList instead of TList for faster removal
00020 // of objects from the pad.
00021 
00022 ClassImp(TEvePad)
00023 
00024 //______________________________________________________________________________
00025 TEvePad::TEvePad()
00026 {
00027    // Default constructor.
00028 
00029    fPrimitives = new THashList;
00030 }
00031 
00032 //______________________________________________________________________________
00033 TEvePad::TEvePad(const char *name, const char *title, Double_t xlow,
00034                  Double_t ylow, Double_t xup, Double_t yup,
00035                  Color_t color, Short_t bordersize, Short_t bordermode)
00036    : TPad(name,title,xlow,ylow,xup,yup,color,bordersize,bordermode)
00037 {
00038    // Constructor.
00039 
00040    delete fPrimitives;
00041    fPrimitives = new THashList;
00042 }

Generated on Tue Jul 5 14:16:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1