CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
GPFBase Class Referenceabstract

#include <GPFBase.h>

Inheritance diagram for GPFBase:
GPFCluster GPFGenParticle GPFRecHit GPFSimParticle GPFTrack

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 ()=0
 
virtual void setColor (int newcol)=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.

20  :display_(display),viewId_(viewType),origId_(ident),
21  markerAttr_(attm),lineAttr_(attl),color_(0)
22 {
23 }
TAttLine * lineAttr_
Definition: GPFBase.h:21
int color_
Definition: GPFBase.h:22
int origId_
Definition: GPFBase.h:19
TAttMarker * markerAttr_
Definition: GPFBase.h:20
DisplayManager * display_
Definition: GPFBase.h:17
int viewId_
Definition: GPFBase.h:18
GPFBase::GPFBase ( DisplayManager display,
int  viewType,
int  ident,
TAttMarker *  attm 
)

Definition at line 5 of file GPFBase.cc.

9  :display_(display),viewId_(viewType),origId_(ident),
10  markerAttr_(attm),lineAttr_(0),color_(0)
11 {
12 
13 }
TAttLine * lineAttr_
Definition: GPFBase.h:21
int color_
Definition: GPFBase.h:22
int origId_
Definition: GPFBase.h:19
TAttMarker * markerAttr_
Definition: GPFBase.h:20
DisplayManager * display_
Definition: GPFBase.h:17
int viewId_
Definition: GPFBase.h:18
GPFBase::GPFBase ( DisplayManager display,
int  viewType,
int  ident,
int  color 
)

Definition at line 25 of file GPFBase.cc.

29  :display_(display),viewId_(viewType),origId_(ident),
30  markerAttr_(0),lineAttr_(0),color_(color)
31 {
32 }
TAttLine * lineAttr_
Definition: GPFBase.h:21
int color_
Definition: GPFBase.h:22
int origId_
Definition: GPFBase.h:19
TAttMarker * markerAttr_
Definition: GPFBase.h:20
DisplayManager * display_
Definition: GPFBase.h:17
int viewId_
Definition: GPFBase.h:18
virtual GPFBase::~GPFBase ( )
inlinevirtual

Definition at line 29 of file GPFBase.h.

29 {;}

Member Function Documentation

virtual void GPFBase::draw ( )
inlinevirtual

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

Definition at line 33 of file GPFBase.h.

33 {;}
virtual double GPFBase::getEnergy ( )
inlinevirtual

Reimplemented in GPFGenParticle, GPFCluster, and GPFRecHit.

Definition at line 39 of file GPFBase.h.

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

Definition at line 31 of file GPFBase.h.

References origId_.

31 { return origId_;}
int origId_
Definition: GPFBase.h:19
virtual double GPFBase::getPt ( )
inlinevirtual

Reimplemented in GPFGenParticle, GPFSimParticle, and GPFTrack.

Definition at line 40 of file GPFBase.h.

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

Definition at line 30 of file GPFBase.h.

References viewId_.

30 { return viewId_;}
int viewId_
Definition: GPFBase.h:18
virtual void GPFBase::setColor ( )
pure virtual
virtual void GPFBase::setColor ( int  newcol)
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().

DisplayManager* GPFBase::display_
protected
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().