FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
eventdisplay
PndEmcDigiCaloDraw.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 "
PndEmcDigiCaloDraw.h
"
7
#include "
PndEmcDigi.h
"
8
#include <iostream>
9
10
// -------------------------------------------------------------------------
11
12
TVector3
PndEmcDigiCaloDraw::GetVector
(TObject*
obj
)
13
{
14
PndEmcDigi
*
digi
= (
PndEmcDigi
*)obj;
15
TVector3
pos
= digi->
where
();
16
return
pos
;
17
}
18
19
Double_t
PndEmcDigiCaloDraw::GetEnergy
(TObject*
obj
)
20
{
21
PndEmcDigi
*
digi
= (
PndEmcDigi
*)obj;
22
return
(digi->
GetEnergy
());
//< Energy in GeV
23
}
24
25
26
ClassImp
(
PndEmcDigiCaloDraw
)
PndEmcDigiCaloDraw::GetEnergy
virtual Double_t GetEnergy(TObject *obj)
Definition:
PndEmcDigiCaloDraw.cxx:19
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
digi
TClonesArray * digi
Definition:
checkdedx_helixhit.C:20
PndEmcDigi::GetEnergy
virtual Double_t GetEnergy() const
Definition:
PndEmcDigi.cxx:296
PndEmcDigi
represents the reconstructed hit of one emc crystal
Definition:
PndEmcDigi.h:40
PndEmcDigi.h
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndEmcDigiCaloDraw.h
ClassImp
ClassImp(PndAnaContFact)
PndEmcDigiCaloDraw::GetVector
virtual TVector3 GetVector(TObject *obj)
Definition:
PndEmcDigiCaloDraw.cxx:12
PndEmcDigi::where
const TVector3 & where() const
Definition:
PndEmcDigi.h:111
PndEmcDigiCaloDraw
Definition:
PndEmcDigiCaloDraw.h:21
obj
PndAnaPidSelector *& obj
Definition:
PndAnaPidSelector.cxx:35
Generated on Sun Aug 18 2019 03:01:21 for FairRoot/PandaRoot by
1.8.8