CMS 3D CMS Logo

Public Member Functions | Protected Attributes

GPFBase Class Reference

#include <GPFBase.h>

Inheritance diagram for GPFBase:
GPFCluster GPFGenParticle GPFRecHit GPFSimParticle GPFTrack

List of all members.

Public Member Functions

virtual void draw ()
virtual double getEnergy ()
int getOrigin ()
virtual double getPt ()
int getView ()
 GPFBase (DisplayManager *display, int viewType, int ident, TAttMarker *attm, TAttLine *attl)
 GPFBase (DisplayManager *display, int viewType, int ident, TAttMarker *attm)
 GPFBase (DisplayManager *display, int viewType, int ident, int color)
virtual void setColor (int newcol)=0
virtual void setColor ()=0
virtual void setInitialColor ()=0
virtual void setNewSize ()=0
virtual void setNewStyle ()=0
virtual ~GPFBase ()

Protected Attributes

int color_
DisplayManagerdisplay_
TAttLine * lineAttr_
TAttMarker * markerAttr_
int origId_
int viewId_

Detailed Description

Definition at line 14 of file GPFBase.h.


Constructor & Destructor Documentation

GPFBase::GPFBase ( DisplayManager display,
int  viewType,
int  ident,
TAttMarker *  attm,
TAttLine *  attl 
)

Definition at line 15 of file GPFBase.cc.

  :display_(display),viewId_(viewType),origId_(ident),
   markerAttr_(attm),lineAttr_(attl),color_(0)
{
}                
GPFBase::GPFBase ( DisplayManager display,
int  viewType,
int  ident,
TAttMarker *  attm 
)

Definition at line 5 of file GPFBase.cc.

  :display_(display),viewId_(viewType),origId_(ident),
   markerAttr_(attm),lineAttr_(0),color_(0)
{

}                
GPFBase::GPFBase ( DisplayManager display,
int  viewType,
int  ident,
int  color 
)

Definition at line 25 of file GPFBase.cc.

  :display_(display),viewId_(viewType),origId_(ident),
   markerAttr_(0),lineAttr_(0),color_(color)
{
}                
virtual GPFBase::~GPFBase ( ) [inline, virtual]

Definition at line 29 of file GPFBase.h.

{;}

Member Function Documentation

virtual void GPFBase::draw ( ) [inline, virtual]

Reimplemented in GPFCluster, GPFGenParticle, GPFRecHit, GPFSimParticle, and GPFTrack.

Definition at line 33 of file GPFBase.h.

{;}
virtual double GPFBase::getEnergy ( ) [inline, virtual]

Reimplemented in GPFCluster, GPFGenParticle, and GPFRecHit.

Definition at line 39 of file GPFBase.h.

{ return -1;}
int GPFBase::getOrigin ( ) [inline]

Definition at line 31 of file GPFBase.h.

References origId_.

{ return origId_;}
virtual double GPFBase::getPt ( ) [inline, virtual]

Reimplemented in GPFGenParticle, GPFSimParticle, and GPFTrack.

Definition at line 40 of file GPFBase.h.

{ return -1;} 
int GPFBase::getView ( ) [inline]

Definition at line 30 of file GPFBase.h.

References viewId_.

{ return viewId_;}
virtual void GPFBase::setColor ( int  newcol) [pure virtual]
virtual void GPFBase::setColor ( ) [pure virtual]
virtual void GPFBase::setInitialColor ( ) [pure virtual]
virtual void GPFBase::setNewSize ( ) [pure virtual]
virtual void GPFBase::setNewStyle ( ) [pure virtual]

Member Data Documentation

int GPFBase::color_ [protected]

Definition at line 22 of file GPFBase.h.

Referenced by GPFRecHit::GPFRecHit(), GPFRecHit::setColor(), and GPFRecHit::setInitialColor().

TAttLine* GPFBase::lineAttr_ [protected]
TAttMarker* GPFBase::markerAttr_ [protected]
int GPFBase::origId_ [protected]
int GPFBase::viewId_ [protected]

Definition at line 18 of file GPFBase.h.

Referenced by getView().