1#ifndef TG4_CROSS_SECTION_MANAGER_H
2#define TG4_CROSS_SECTION_MANAGER_H
22#include <G4UserRunAction.hh>
91 void SetLabel(
const G4String& label);
116 static const G4double
118 static const G4double
Definition of the TG4CrossSectionMessenger class.
Definition of the enumeration TG4CrossSectionType.
Definition of the TG4Verbose class.
void SetLabel(const G4String &label)
void SetMakeHistograms(G4bool makeHistograms)
G4double GetCrossSection(TG4CrossSectionType type) const
TObjArray * MakeHistograms()
G4String fLabel
the histogram label
virtual ~TG4CrossSectionManager()
TG4CrossSectionManager(const TG4CrossSectionManager &right)
Not implemented.
void SetNumberOfBinsE(G4int val)
G4String fParticleName
particle name
static const G4double fgkDefaultMaxMomentum
default maximum momentum
void SetMinMomentum(G4double val)
void PrintCrossSection(TG4CrossSectionType type) const
G4double GetMomentum() const
void SetNumberOfBinsP(G4int val)
void SetParticleName(const G4String &name)
G4double fMaxMomentum
maximum momentum (histogram range)
G4double fMinMomentum
minimum momentum (histogram range)
void SetMinKinEnergy(G4double val)
void SetMaxMomentum(G4double val)
G4int fNofBinsE
number of bins in kinetic energy
void SetMomentum(G4double val)
static const G4String fgkDefaultParticleName
default particle name
TG4CrossSectionManager & operator=(const TG4CrossSectionManager &right)
Not implemented.
TG4CrossSectionMessenger fMessenger
messenger
static const G4int fgkDefaultNofBinsE
defualt number of bins in energy
static const G4String fgkDefaultElementName
default element name
G4String fElementName
element name
G4bool fIsInitialised
info if histograms are created
static const G4int fgkDefaultNofBinsP
defualt number of bins in momentum
G4double fMinKinEnergy
minimum kinetic energy (histogram range)
TObjArray * fHistograms
array of histograms
static const G4double fgkDefaultMinMomentum
default minimum momentum
const G4Element * GetElement() const
void SetElementName(const G4String &name)
static const G4double fgkDefaultMinKinEnergy
default minimum kinetic energy
const G4ParticleDefinition * GetParticle() const
void SetKinEnergy(G4double val)
static const G4double fgkDefaultMaxKinEnergy
default maximum kinetic energy
G4double fMaxKinEnergy
maximum kinetic energy( histogram range)
void PrintCrossSections() const
G4int fNofBinsP
number of bins in momentum
void SetMaxKinEnergy(G4double val)
G4double fKinEnergy
current kinetic energy
static const G4double fgkDefaultKinEnergy
defualt kinetic energy
G4bool IsMakeHistograms() const
G4bool fMakeHistograms
option to make histograms (for ecternal use)
Messenger class that defines commands for TG4CrossSectionManager.
TG4Verbose(const G4String &cmdName)
TG4CrossSectionType
Enumeration for cross section types.