| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DsFastMuonStackAction::DECounter Class Reference

List of all members.

Public Member Functions

 DECounter (G4int maxcount=0, G4double aWeight=1)
void operator++ (G4int)
void reset (G4bool all=false)
G4bool full ()

Public Attributes

G4int maxCount
G4int count
G4double nTracks
G4bool filled
G4double weight

Detailed Description

Definition at line 43 of file DsFastMuonStackAction.h.


Constructor & Destructor Documentation

DsFastMuonStackAction::DECounter::DECounter ( G4int  maxcount = 0,
G4double  aWeight = 1 
) [inline]

Definition at line 76 of file DsFastMuonStackAction.h.

00077     : maxCount(maxcount)
00078     , count(0)
00079     , nTracks(0.)
00080     , filled(false)
00081     , weight(aWeight) 
00082 {}


Member Function Documentation

void DsFastMuonStackAction::DECounter::operator++ ( G4int   )  [inline]

Definition at line 93 of file DsFastMuonStackAction.h.

00093                                                     {
00094     count++;
00095     if ( count>=maxCount ) filled=true;
00096 }

void DsFastMuonStackAction::DECounter::reset ( G4bool  all = false  )  [inline]

Definition at line 84 of file DsFastMuonStackAction.h.

00084                                                     {
00085   if (all) {
00086       filled=false; 
00087       count=0;
00088       nTracks=0.;
00089   }
00090   else if ( !filled ) count=0; 
00091 }

G4bool DsFastMuonStackAction::DECounter::full (  )  [inline]

Definition at line 48 of file DsFastMuonStackAction.h.

00048 { return filled; }


Member Data Documentation

G4int DsFastMuonStackAction::DECounter::maxCount

Definition at line 49 of file DsFastMuonStackAction.h.

G4int DsFastMuonStackAction::DECounter::count

Definition at line 50 of file DsFastMuonStackAction.h.

G4double DsFastMuonStackAction::DECounter::nTracks

Definition at line 51 of file DsFastMuonStackAction.h.

G4bool DsFastMuonStackAction::DECounter::filled

Definition at line 52 of file DsFastMuonStackAction.h.

G4double DsFastMuonStackAction::DECounter::weight

Definition at line 53 of file DsFastMuonStackAction.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:53:27 2011 for DetSim by doxygen 1.4.7