FairRoot/PandaRoot
PndEmcHitDraw.cxx
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- FairTPCRecoPointDraw source file -----
3 // ----- Created 03/01/08 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 #include "PndEmcHitDraw.h"
7 #include "PndEmcHit.h"
8 #include <iostream>
9 
10 // -------------------------------------------------------------------------
11 
12 Int_t PndEmcHitDraw::GetValue(TObject* obj, Int_t ) // i //[R.K.03/2017] unused variable(s)
13 {
14  PndEmcHit* Hit = (PndEmcHit*)obj;
15  return (Hit->GetEnergy() * 1000); //< Energy in MeV
16 }
17 
18 
virtual Double_t GetEnergy() const
Definition: PndEmcHit.h:54
virtual Int_t GetValue(TObject *obj, Int_t i)
represents the deposited energy of one emc crystal from simulation
Definition: PndEmcHit.h:26
ClassImp(PndAnaContFact)