CMS 3D CMS Logo

GPFBase Class Reference

#include <RecoParticleFlow/PFRootEvent/interface/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, int color)
 GPFBase (DisplayManager *display, int viewType, int ident, TAttMarker *attm)
 GPFBase (DisplayManager *display, int viewType, int ident, TAttMarker *attm, TAttLine *attl)
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.

00020   :display_(display),viewId_(viewType),origId_(ident),
00021    markerAttr_(attm),lineAttr_(attl),color_(0)
00022 {
00023 }                

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

Definition at line 5 of file GPFBase.cc.

00009   :display_(display),viewId_(viewType),origId_(ident),
00010    markerAttr_(attm),lineAttr_(0),color_(0)
00011 {
00012 
00013 }                

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

Definition at line 25 of file GPFBase.cc.

00029   :display_(display),viewId_(viewType),origId_(ident),
00030    markerAttr_(0),lineAttr_(0),color_(color)
00031 {
00032 }                

virtual GPFBase::~GPFBase (  )  [inline, virtual]

Definition at line 29 of file GPFBase.h.

00029 {;}


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.

00033 {;}

virtual double GPFBase::getEnergy (  )  [inline, virtual]

Reimplemented in GPFCluster, GPFGenParticle, and GPFRecHit.

Definition at line 39 of file GPFBase.h.

00039 { return -1;}

int GPFBase::getOrigin (  )  [inline]

Definition at line 31 of file GPFBase.h.

References origId_.

00031 { return origId_;}

virtual double GPFBase::getPt (  )  [inline, virtual]

Reimplemented in GPFGenParticle, GPFSimParticle, and GPFTrack.

Definition at line 40 of file GPFBase.h.

00040 { return -1;} 

int GPFBase::getView (  )  [inline]

Definition at line 30 of file GPFBase.h.

References viewId_.

00030 { return viewId_;}

virtual void GPFBase::setColor ( int  newcol  )  [pure virtual]

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

virtual void GPFBase::setColor (  )  [pure virtual]

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

virtual void GPFBase::setInitialColor (  )  [pure virtual]

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

virtual void GPFBase::setNewSize (  )  [pure virtual]

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

virtual void GPFBase::setNewStyle (  )  [pure virtual]

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


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]

Definition at line 17 of file GPFBase.h.

Referenced by GPFCluster::ExecuteEvent(), GPFRecHit::ExecuteEvent(), GPFSimParticle::ExecuteEvent(), GPFTrack::ExecuteEvent(), and GPFGenParticle::Print().

TAttLine* GPFBase::lineAttr_ [protected]

Definition at line 21 of file GPFBase.h.

Referenced by GPFSimParticle::GPFSimParticle(), GPFTrack::GPFTrack(), GPFSimParticle::setColor(), GPFTrack::setColor(), GPFTrack::setInitialColor(), and GPFSimParticle::setInitialColor().

TAttMarker* GPFBase::markerAttr_ [protected]

Definition at line 20 of file GPFBase.h.

Referenced by GPFCluster::GPFCluster(), GPFGenParticle::GPFGenParticle(), GPFSimParticle::GPFSimParticle(), GPFTrack::GPFTrack(), GPFSimParticle::setColor(), GPFTrack::setColor(), GPFCluster::setColor(), GPFGenParticle::setColor(), GPFGenParticle::setInitialColor(), GPFTrack::setInitialColor(), GPFSimParticle::setInitialColor(), GPFCluster::setInitialColor(), GPFCluster::setNewSize(), GPFGenParticle::setNewSize(), GPFTrack::setNewSize(), GPFSimParticle::setNewSize(), GPFSimParticle::setNewStyle(), GPFCluster::setNewStyle(), GPFTrack::setNewStyle(), and GPFGenParticle::setNewStyle().

int GPFBase::origId_ [protected]

Definition at line 19 of file GPFBase.h.

Referenced by GPFCluster::ExecuteEvent(), GPFRecHit::ExecuteEvent(), GPFSimParticle::ExecuteEvent(), GPFTrack::ExecuteEvent(), and getOrigin().

int GPFBase::viewId_ [protected]

Definition at line 18 of file GPFBase.h.

Referenced by getView().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:21:50 2009 for CMSSW by  doxygen 1.5.4