FairRoot/PandaRoot
Public Member Functions | Protected Member Functions | List of all members
PndEmcClusterDraw Class Reference

#include <PndEmcClusterDraw.h>

Inheritance diagram for PndEmcClusterDraw:

Public Member Functions

 PndEmcClusterDraw ()
 
 PndEmcClusterDraw (const char *name, Int_t iVerbose=1)
 
virtual ~PndEmcClusterDraw ()
 

Protected Member Functions

virtual TVector3 GetVector (TObject *obj)
 
virtual Int_t GetValue (TObject *obj, Int_t i)
 
 ClassDef (PndEmcClusterDraw, 3)
 

Detailed Description

PndEmcClusterDraw

Author
T. Stockmanns
Since
03.01.09 Task to display TPC points

Definition at line 23 of file PndEmcClusterDraw.h.

Constructor & Destructor Documentation

PndEmcClusterDraw::PndEmcClusterDraw ( )
inline

Default constructor

Definition at line 28 of file PndEmcClusterDraw.h.

28 {};
PndEmcClusterDraw::PndEmcClusterDraw ( const char *  name,
Int_t  iVerbose = 1 
)
inline

Standard constructor

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 35 of file PndEmcClusterDraw.h.

35 :FairBoxSetDraw(name, iVerbose){};
TString name
Int_t iVerbose
virtual PndEmcClusterDraw::~PndEmcClusterDraw ( )
inlinevirtual

Destructor

Definition at line 38 of file PndEmcClusterDraw.h.

38 {};

Member Function Documentation

PndEmcClusterDraw::ClassDef ( PndEmcClusterDraw  ,
 
)
protected
Int_t PndEmcClusterDraw::GetValue ( TObject *  obj,
Int_t  i 
)
protectedvirtual

Definition at line 18 of file PndEmcClusterDraw.cxx.

References PndEmcCluster::energy().

19 {
20  PndEmcCluster* Cluster = (PndEmcCluster*)obj;
21  return (Cluster->energy() * 1000); //< Energy in MeV
22 }
a cluster (group of neighboring crystals) of hit emc crystals
Definition: PndEmcCluster.h:29
virtual Double_t energy() const
TVector3 PndEmcClusterDraw::GetVector ( TObject *  obj)
protectedvirtual

Definition at line 11 of file PndEmcClusterDraw.cxx.

References PndEmcCluster::where().

12 {
13  PndEmcCluster* Cluster = (PndEmcCluster*)obj;
14  return (Cluster->where());
15 }
TVector3 where() const
a cluster (group of neighboring crystals) of hit emc crystals
Definition: PndEmcCluster.h:29

The documentation for this class was generated from the following files: