FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
hypGe
PndHypGeHit.cxx
Go to the documentation of this file.
1
//
3
// PndHypGeHit
4
//
5
// HypGe digitized hit
6
//
7
8
//
10
11
#include "
PndHypGeHit.h
"
12
#include <iostream>
13
14
using namespace
std;
15
16
// ----- Default constructor -------------------------------------------
17
PndHypGeHit::PndHypGeHit
() {}
18
// -------------------------------------------------------------------------
19
20
21
// ----- Destructor ----------------------------------------------------
22
PndHypGeHit::PndHypGeHit
(Int_t trackId, Int_t detID,
23
Double_t
ener,
Double_t
den){
24
fTrackId = trackId; fDetectorId = detID;
25
fenergy= ener;
26
fden=den; }
27
// -------------------------------------------------------------------------
28
29
PndHypGeHit::~PndHypGeHit
() {}
30
// ----- Public method Print -------------------------------------------
31
void
PndHypGeHit::Print
(
const
Option_t* opt)
const
{
32
cout <<
"HYPGE hit: , Energy="
<< fenergy;
33
if
(fTrackId>0) cout <<
", TrackID= "
<< fTrackId;
34
// cout << ", x=" << GetX() << ", y=" << GetY() << endl << flush;
35
}
36
// -------------------------------------------------------------------------
37
38
ClassImp
(
PndHypGeHit
)
PndHypGeHit
Definition:
PndHypGeHit.h:18
PndHypGeHit::PndHypGeHit
PndHypGeHit()
Definition:
PndHypGeHit.cxx:17
PndHypGeHit.h
PndHypGeHit::~PndHypGeHit
virtual ~PndHypGeHit()
Definition:
PndHypGeHit.cxx:29
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
ClassImp
ClassImp(PndAnaContFact)
PndHypGeHit::Print
virtual void Print(const Option_t *opt="") const
Definition:
PndHypGeHit.cxx:31
Generated on Wed Apr 3 2019 08:43:57 for FairRoot/PandaRoot by
1.8.5