#include <PndHypGeHitProducerIdeal.h>
Definition at line 30 of file PndHypGeHitProducerIdeal.h.
PndHypGeHitProducerIdeal::PndHypGeHitProducerIdeal |
( |
| ) |
|
PndHypGeHitProducerIdeal::~PndHypGeHitProducerIdeal |
( |
| ) |
|
void PndHypGeHitProducerIdeal::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
Virtual method Exec
energy resolution of 3 keV
Definition at line 75 of file PndHypGeHitProducerIdeal.cxx.
References Double_t, fHitArray, fPointArray, PndHypGePoint::GetDetectorID(), PndHypGePoint::GetEnergyLoss(), PndHypGePoint::GetTrackID(), point, and smear().
79 Fatal(
"Exec",
"No HitArray");
97 for (Int_t iPoint = 0; iPoint < nPoints; iPoint++)
100 cout <<
" Ideal Hit Producer -Point-: " << point << endl;
115 new ((*fHitArray)[iPoint])
PndHypGeHit(trackID, detID, ener, den);
116 cout <<
"Hit created for module: "<< std::endl;
123 cout <<
"-I- PndHypGeHitProducerIdeal: " << nPoints <<
" HypGePoints, "
124 << nPoints <<
" Hits created." << endl;
void smear(Double_t &ener, Double_t &den)
TClonesArray * fPointArray
Int_t GetDetectorID() const
Double_t GetEnergyLoss() const
InitStatus PndHypGeHitProducerIdeal::Init |
( |
| ) |
|
|
virtual |
Definition at line 34 of file PndHypGeHitProducerIdeal.cxx.
References fBranchName, fHitArray, and fPointArray.
37 FairRootManager* ioman = FairRootManager::Instance();
41 cout <<
"-E- PndHypGeHitProducerIdeal::Init: "
42 <<
"RootManager not instantiated!" << endl;
51 cout <<
"-W- PndHypGeHitProducerIdeal::Init: "
52 <<
"No HYPGEPoint array!" << endl;
57 fHitArray =
new TClonesArray(
"PndHypGeHit");
58 ioman->Register(
"HypGeHit",
"HypGe",
fHitArray, kTRUE);
60 cout <<
"-I- PndHypGeHitProducerIdeal: Intialisation successfull" << endl;
TClonesArray * fPointArray
void PndHypGeHitProducerIdeal::ProduceHits |
( |
| ) |
|
|
private |
void PndHypGeHitProducerIdeal::Register |
( |
| ) |
|
|
private |
void PndHypGeHitProducerIdeal::Reset |
( |
| ) |
|
|
private |
void PndHypGeHitProducerIdeal::SetParContainers |
( |
| ) |
|
|
virtual |
TString PndHypGeHitProducerIdeal::fBranchName |
|
private |
TClonesArray* PndHypGeHitProducerIdeal::fHitArray |
|
private |
TClonesArray* PndHypGeHitProducerIdeal::fPointArray |
|
private |
The documentation for this class was generated from the following files: