Geant4  10.01.p03
exrdmHisto Class Reference

#include <exrdmHisto.hh>

+ Collaboration diagram for exrdmHisto:

Public Member Functions

 exrdmHisto ()
 
 ~exrdmHisto ()
 
void Book ()
 
void Save ()
 
void Add1D (const G4String &, const G4String &, G4int nb=100, G4double x1=0., G4double x2=1., G4double u=1.)
 
void SetHisto1D (G4int, G4int, G4double, G4double, G4double)
 
void FillHisto (G4int, G4double, G4double)
 
void ScaleHisto (G4int, G4double)
 
void AddTuple (const G4String &, const G4String &, const G4String &)
 
void FillTuple (G4int, const G4String &, G4double)
 
void FillTuple (G4int, G4int, G4double)
 
void FillTuple (G4int, const G4String &, G4String &)
 
void FillTuple (G4int, const G4String &, G4bool)
 
void AddRow (G4int)
 
void SetFileName (const G4String &)
 
const G4StringGetFileName () const
 
void SetFileType (const G4String &)
 
const G4StringFileType () const
 

Private Attributes

G4String fHistName
 
G4String fHistType
 
G4int fNHisto
 
G4int fNTuple
 
G4int fVerbose
 
G4int fDefaultAct
 
exrdmHistoMessengerfMessenger
 
std::vector< G4intfActive
 
std::vector< G4intfBins
 
std::vector< G4doublefXmin
 
std::vector< G4doublefXmax
 
std::vector< G4doublefUnit
 
std::vector< G4StringfIds
 
std::vector< G4StringfTitles
 
std::vector< G4StringfTupleName
 
std::vector< G4StringfTupleId
 
std::vector< G4StringfTupleList
 
std::vector< G4StringfTupleListROOT
 

Detailed Description

Definition at line 66 of file exrdmHisto.hh.

Constructor & Destructor Documentation

exrdmHisto::exrdmHisto ( )

Definition at line 55 of file exrdmHisto.cc.

References fActive, fBins, fIds, fMessenger, fTitles, fTupleId, fTupleList, fTupleListROOT, fTupleName, fUnit, fXmax, and fXmin.

exrdmHisto::~exrdmHisto ( )

Definition at line 89 of file exrdmHisto.cc.

References fMessenger.

Member Function Documentation

void exrdmHisto::Add1D ( const G4String id,
const G4String name,
G4int  nb = 100,
G4double  x1 = 0.,
G4double  x2 = 1.,
G4double  u = 1. 
)

Definition at line 226 of file exrdmHisto.cc.

References fActive, fBins, fDefaultAct, fIds, fNHisto, fTitles, fUnit, fVerbose, fXmax, fXmin, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::BookHisto().

+ Here is the caller graph for this function:

void exrdmHisto::AddRow ( G4int  i)

Definition at line 419 of file exrdmHisto.cc.

References fVerbose, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::AddDecayProduct(), exrdmAnalysisManager::AddEnergy(), exrdmAnalysisManager::AddIsotope(), and exrdmAnalysisManager::AddParticle().

+ Here is the caller graph for this function:

void exrdmHisto::AddTuple ( const G4String w1,
const G4String w2,
const G4String  
)

Definition at line 333 of file exrdmHisto.cc.

References G4String::contains(), and G4String::remove().

Referenced by exrdmAnalysisManager::BookHisto().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmHisto::Book ( )

Definition at line 113 of file exrdmHisto.cc.

References fActive, fBins, fHistName, fHistType, fIds, fNHisto, fNTuple, fTitles, fTupleId, fTupleList, fTupleListROOT, fTupleName, fVerbose, fXmax, fXmin, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::BeginOfRun().

+ Here is the caller graph for this function:

const G4String & exrdmHisto::FileType ( ) const

Definition at line 461 of file exrdmHisto.cc.

References fHistType.

void exrdmHisto::FillHisto ( G4int  i,
G4double  x,
G4double  w 
)

Definition at line 274 of file exrdmHisto.cc.

References fNHisto, fUnit, fVerbose, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::AddParticle(), and exrdmAnalysisManager::EndOfEvent().

+ Here is the caller graph for this function:

void exrdmHisto::FillTuple ( G4int  i,
const G4String parname,
G4double  x 
)

Definition at line 375 of file exrdmHisto.cc.

References fVerbose, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::AddDecayProduct(), exrdmAnalysisManager::AddEnergy(), exrdmAnalysisManager::AddIsotope(), and exrdmAnalysisManager::AddParticle().

+ Here is the caller graph for this function:

void exrdmHisto::FillTuple ( G4int  i,
G4int  col,
G4double  x 
)

Definition at line 387 of file exrdmHisto.cc.

References fVerbose, G4cout, and G4endl.

void exrdmHisto::FillTuple ( G4int  i,
const G4String parname,
G4String x 
)

Definition at line 405 of file exrdmHisto.cc.

References fVerbose, G4cout, and G4endl.

void exrdmHisto::FillTuple ( G4int  ,
const G4String ,
G4bool   
)
const G4String & exrdmHisto::GetFileName ( ) const

Definition at line 447 of file exrdmHisto.cc.

References fHistName.

Referenced by exrdmAnalysisManager::EndOfRun().

+ Here is the caller graph for this function:

void exrdmHisto::Save ( )

Definition at line 196 of file exrdmHisto.cc.

References fNHisto, fNTuple, G4cout, and G4endl.

Referenced by exrdmAnalysisManager::EndOfRun().

+ Here is the caller graph for this function:

void exrdmHisto::ScaleHisto ( G4int  i,
G4double  x 
)

Definition at line 301 of file exrdmHisto.cc.

References fNHisto, fVerbose, G4cout, and G4endl.

void exrdmHisto::SetFileName ( const G4String nam)

Definition at line 440 of file exrdmHisto.cc.

References fHistName.

Referenced by exrdmHistoMessenger::SetNewValue().

+ Here is the caller graph for this function:

void exrdmHisto::SetFileType ( const G4String nam)

Definition at line 454 of file exrdmHisto.cc.

References fHistType.

Referenced by exrdmHistoMessenger::SetNewValue().

+ Here is the caller graph for this function:

void exrdmHisto::SetHisto1D ( G4int  i,
G4int  nb,
G4double  x1,
G4double  x2,
G4double  u 
)

Definition at line 254 of file exrdmHisto.cc.

References fBins, fNHisto, fUnit, fVerbose, fXmax, fXmin, G4cout, and G4endl.

Referenced by exrdmHistoMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4int> exrdmHisto::fActive
private

Definition at line 141 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), and exrdmHisto().

std::vector<G4int> exrdmHisto::fBins
private

Definition at line 142 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), exrdmHisto(), and SetHisto1D().

G4int exrdmHisto::fDefaultAct
private

Definition at line 123 of file exrdmHisto.hh.

Referenced by Add1D().

G4String exrdmHisto::fHistName
private

Definition at line 117 of file exrdmHisto.hh.

Referenced by Book(), GetFileName(), and SetFileName().

G4String exrdmHisto::fHistType
private

Definition at line 118 of file exrdmHisto.hh.

Referenced by Book(), FileType(), and SetFileType().

std::vector<G4String> exrdmHisto::fIds
private

Definition at line 146 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), and exrdmHisto().

exrdmHistoMessenger* exrdmHisto::fMessenger
private

Definition at line 139 of file exrdmHisto.hh.

Referenced by exrdmHisto(), and ~exrdmHisto().

G4int exrdmHisto::fNHisto
private

Definition at line 120 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), FillHisto(), Save(), ScaleHisto(), and SetHisto1D().

G4int exrdmHisto::fNTuple
private

Definition at line 121 of file exrdmHisto.hh.

Referenced by Book(), and Save().

std::vector<G4String> exrdmHisto::fTitles
private

Definition at line 147 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), and exrdmHisto().

std::vector<G4String> exrdmHisto::fTupleId
private

Definition at line 149 of file exrdmHisto.hh.

Referenced by Book(), and exrdmHisto().

std::vector<G4String> exrdmHisto::fTupleList
private

Definition at line 150 of file exrdmHisto.hh.

Referenced by Book(), and exrdmHisto().

std::vector<G4String> exrdmHisto::fTupleListROOT
private

Definition at line 151 of file exrdmHisto.hh.

Referenced by Book(), and exrdmHisto().

std::vector<G4String> exrdmHisto::fTupleName
private

Definition at line 148 of file exrdmHisto.hh.

Referenced by Book(), and exrdmHisto().

std::vector<G4double> exrdmHisto::fUnit
private

Definition at line 145 of file exrdmHisto.hh.

Referenced by Add1D(), exrdmHisto(), FillHisto(), and SetHisto1D().

G4int exrdmHisto::fVerbose
private

Definition at line 122 of file exrdmHisto.hh.

Referenced by Add1D(), AddRow(), Book(), FillHisto(), FillTuple(), ScaleHisto(), and SetHisto1D().

std::vector<G4double> exrdmHisto::fXmax
private

Definition at line 144 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), exrdmHisto(), and SetHisto1D().

std::vector<G4double> exrdmHisto::fXmin
private

Definition at line 143 of file exrdmHisto.hh.

Referenced by Add1D(), Book(), exrdmHisto(), and SetHisto1D().


The documentation for this class was generated from the following files: