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

#include <PndEmcHitDraw.h>

Inheritance diagram for PndEmcHitDraw:

Public Member Functions

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

Protected Member Functions

virtual Int_t GetValue (TObject *obj, Int_t i)
 
 ClassDef (PndEmcHitDraw, 3)
 

Detailed Description

PndEmcHitDraw

Author
T. Stockmanns
Since
03.01.09 Task to display TPC points

Definition at line 21 of file PndEmcHitDraw.h.

Constructor & Destructor Documentation

PndEmcHitDraw::PndEmcHitDraw ( )
inline

Default constructor

Definition at line 26 of file PndEmcHitDraw.h.

26  {
27  SetBoxDimensions(2.0,2.0,2.0);
28  };
PndEmcHitDraw::PndEmcHitDraw ( const char *  name,
Int_t  iVerbose = 1 
)
inline

Standard constructor

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 35 of file PndEmcHitDraw.h.

35  :FairHitDraw(name, iVerbose){
36  SetBoxDimensions(2.0,2.0,2.0);
37  };
TString name
Int_t iVerbose
virtual PndEmcHitDraw::~PndEmcHitDraw ( )
inlinevirtual

Destructor

Definition at line 40 of file PndEmcHitDraw.h.

40 {};

Member Function Documentation

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

Definition at line 12 of file PndEmcHitDraw.cxx.

References PndEmcHit::GetEnergy().

13 {
14  PndEmcHit* Hit = (PndEmcHit*)obj;
15  return (Hit->GetEnergy() * 1000); //< Energy in MeV
16 }
virtual Double_t GetEnergy() const
Definition: PndEmcHit.h:54
represents the deposited energy of one emc crystal from simulation
Definition: PndEmcHit.h:26

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