Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcRun Class Reference

#include <CexmcRun.hh>

Inheritance diagram for CexmcRun:
Collaboration diagram for CexmcRun:

Public Member Functions

 CexmcRun ()
 
void IncrementNmbOfHitsSampled (G4int index)
 
void IncrementNmbOfHitsSampledFull (G4int index)
 
void IncrementNmbOfHitsTriggeredRealRange (G4int index)
 
void IncrementNmbOfHitsTriggeredRecRange (G4int index)
 
void IncrementNmbOfOrphanHits (G4int index)
 
void IncrementNmbOfFalseHitsTriggeredEDT (void)
 
void IncrementNmbOfFalseHitsTriggeredRec (void)
 
void IncrementNmbOfSavedEvents (void)
 
void IncrementNmbOfSavedFastEvents (void)
 
const CexmcNmbOfHitsInRangesGetNmbOfHitsSampled (void) const
 
const CexmcNmbOfHitsInRangesGetNmbOfHitsSampledFull (void) const
 
const CexmcNmbOfHitsInRangesGetNmbOfHitsTriggeredRealRange (void) const
 
const CexmcNmbOfHitsInRangesGetNmbOfHitsTriggeredRecRange (void) const
 
const CexmcNmbOfHitsInRangesGetNmbOfOrphanHits (void) const
 
G4int GetNmbOfFalseHitsTriggeredEDT (void) const
 
G4int GetNmbOfFalseHitsTriggeredRec (void) const
 
G4int GetNmbOfSavedEvents (void) const
 
G4int GetNmbOfSavedFastEvents (void) const
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~G4Run ()
 
virtual void RecordEvent (const G4Event *)
 
virtual void Merge (const G4Run *)
 
G4int GetRunID () const
 
G4int GetNumberOfEvent () const
 
G4int GetNumberOfEventToBeProcessed () const
 
const G4HCtableGetHCtable () const
 
const G4DCtableGetDCtable () const
 
const G4StringGetRandomNumberStatus () const
 
void SetRunID (G4int id)
 
void SetNumberOfEventToBeProcessed (G4int n_ev)
 
void SetHCtable (G4HCtable *HCtbl)
 
void SetDCtable (G4DCtable *DCtbl)
 
void SetRandomNumberStatus (G4String &st)
 
void StoreEvent (G4Event *evt)
 
const std::vector< const
G4Event * > * 
GetEventVector () const
 

Additional Inherited Members

- Protected Attributes inherited from G4Run
G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtableHCtable
 
G4DCtableDCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Detailed Description

Definition at line 56 of file CexmcRun.hh.

Constructor & Destructor Documentation

CexmcRun::CexmcRun ( )

Definition at line 47 of file CexmcRun.cc.

47  : nmbOfFalseHitsTriggeredEDT( 0 ),
48  nmbOfFalseHitsTriggeredRec( 0 ), nmbOfSavedEvents( 0 ),
49  nmbOfSavedFastEvents( 0 )
50 {
51 }

Member Function Documentation

G4int CexmcRun::GetNmbOfFalseHitsTriggeredEDT ( void  ) const
inline

Definition at line 157 of file CexmcRun.hh.

158 {
159  return nmbOfFalseHitsTriggeredEDT;
160 }

Here is the caller graph for this function:

G4int CexmcRun::GetNmbOfFalseHitsTriggeredRec ( void  ) const
inline

Definition at line 163 of file CexmcRun.hh.

164 {
165  return nmbOfFalseHitsTriggeredRec;
166 }

Here is the caller graph for this function:

const CexmcNmbOfHitsInRanges & CexmcRun::GetNmbOfHitsSampled ( void  ) const
inline

Definition at line 123 of file CexmcRun.hh.

124 {
125  return nmbOfHitsSampled;
126 }

Here is the caller graph for this function:

const CexmcNmbOfHitsInRanges & CexmcRun::GetNmbOfHitsSampledFull ( void  ) const
inline

Definition at line 130 of file CexmcRun.hh.

131 {
132  return nmbOfHitsSampledFull;
133 }

Here is the caller graph for this function:

const CexmcNmbOfHitsInRanges & CexmcRun::GetNmbOfHitsTriggeredRealRange ( void  ) const
inline

Definition at line 137 of file CexmcRun.hh.

138 {
139  return nmbOfHitsTriggeredRealRange;
140 }

Here is the caller graph for this function:

const CexmcNmbOfHitsInRanges & CexmcRun::GetNmbOfHitsTriggeredRecRange ( void  ) const
inline

Definition at line 144 of file CexmcRun.hh.

145 {
146  return nmbOfHitsTriggeredRecRange;
147 }

Here is the caller graph for this function:

const CexmcNmbOfHitsInRanges & CexmcRun::GetNmbOfOrphanHits ( void  ) const
inline

Definition at line 151 of file CexmcRun.hh.

152 {
153  return nmbOfOrphanHits;
154 }

Here is the caller graph for this function:

G4int CexmcRun::GetNmbOfSavedEvents ( void  ) const
inline

Definition at line 169 of file CexmcRun.hh.

170 {
171  return nmbOfSavedEvents;
172 }
G4int CexmcRun::GetNmbOfSavedFastEvents ( void  ) const
inline

Definition at line 175 of file CexmcRun.hh.

176 {
177  return nmbOfSavedFastEvents;
178 }
void CexmcRun::IncrementNmbOfFalseHitsTriggeredEDT ( void  )

Definition at line 111 of file CexmcRun.cc.

112 {
113  ++nmbOfFalseHitsTriggeredEDT;
114 }
void CexmcRun::IncrementNmbOfFalseHitsTriggeredRec ( void  )

Definition at line 117 of file CexmcRun.cc.

118 {
119  ++nmbOfFalseHitsTriggeredRec;
120 }
void CexmcRun::IncrementNmbOfHitsSampled ( G4int  index)

Definition at line 54 of file CexmcRun.cc.

55 {
56  CexmcNmbOfHitsInRanges::iterator found(
57  nmbOfHitsSampled.find( index ) );
58  if ( found == nmbOfHitsSampled.end() )
59  nmbOfHitsSampled.insert( CexmcNmbOfHitsInRangesData( index, 1 ) );
60  else
61  ++found->second;
62 }
CexmcNmbOfHitsInRanges::value_type CexmcNmbOfHitsInRangesData
Definition: CexmcRun.hh:53
void CexmcRun::IncrementNmbOfHitsSampledFull ( G4int  index)

Definition at line 65 of file CexmcRun.cc.

66 {
67  CexmcNmbOfHitsInRanges::iterator found(
68  nmbOfHitsSampledFull.find( index ) );
69  if ( found == nmbOfHitsSampledFull.end() )
70  nmbOfHitsSampledFull.insert( CexmcNmbOfHitsInRangesData( index, 1 ) );
71  else
72  ++found->second;
73 }
CexmcNmbOfHitsInRanges::value_type CexmcNmbOfHitsInRangesData
Definition: CexmcRun.hh:53
void CexmcRun::IncrementNmbOfHitsTriggeredRealRange ( G4int  index)

Definition at line 76 of file CexmcRun.cc.

77 {
78  CexmcNmbOfHitsInRanges::iterator found(
79  nmbOfHitsTriggeredRealRange.find( index ) );
80  if ( found == nmbOfHitsTriggeredRealRange.end() )
81  nmbOfHitsTriggeredRealRange.insert(
82  CexmcNmbOfHitsInRangesData( index, 1 ) );
83  else
84  ++found->second;
85 }
CexmcNmbOfHitsInRanges::value_type CexmcNmbOfHitsInRangesData
Definition: CexmcRun.hh:53
void CexmcRun::IncrementNmbOfHitsTriggeredRecRange ( G4int  index)

Definition at line 88 of file CexmcRun.cc.

89 {
90  CexmcNmbOfHitsInRanges::iterator found(
91  nmbOfHitsTriggeredRecRange.find( index ) );
92  if ( found == nmbOfHitsTriggeredRecRange.end() )
93  nmbOfHitsTriggeredRecRange.insert(
94  CexmcNmbOfHitsInRangesData( index, 1 ) );
95  else
96  ++found->second;
97 }
CexmcNmbOfHitsInRanges::value_type CexmcNmbOfHitsInRangesData
Definition: CexmcRun.hh:53
void CexmcRun::IncrementNmbOfOrphanHits ( G4int  index)

Definition at line 100 of file CexmcRun.cc.

101 {
102  CexmcNmbOfHitsInRanges::iterator found(
103  nmbOfOrphanHits.find( index ) );
104  if ( found == nmbOfOrphanHits.end() )
105  nmbOfOrphanHits.insert( CexmcNmbOfHitsInRangesData( index, 1 ) );
106  else
107  ++found->second;
108 }
CexmcNmbOfHitsInRanges::value_type CexmcNmbOfHitsInRangesData
Definition: CexmcRun.hh:53
void CexmcRun::IncrementNmbOfSavedEvents ( void  )

Definition at line 123 of file CexmcRun.cc.

124 {
125  ++nmbOfSavedEvents;
126 }
void CexmcRun::IncrementNmbOfSavedFastEvents ( void  )

Definition at line 129 of file CexmcRun.cc.

130 {
131  ++nmbOfSavedFastEvents;
132 }

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