Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -34,24 +34,29 @@
|
||||
#define ProcessesCount_HH
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
#include <vector>
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class OneProcessCount
|
||||
{
|
||||
public:
|
||||
OneProcessCount(G4String name) {fName=name; fCounter=0;};
|
||||
~OneProcessCount() {};
|
||||
|
||||
public:
|
||||
G4String GetName() {return fName;};
|
||||
G4int GetCounter() {return fCounter;};
|
||||
void Count() {fCounter++;};
|
||||
|
||||
private:
|
||||
G4String fName; // process name
|
||||
G4int fCounter; // process counter
|
||||
public:
|
||||
OneProcessCount(G4String name)
|
||||
{
|
||||
fName = name;
|
||||
fCounter = 0;
|
||||
};
|
||||
~OneProcessCount() {};
|
||||
|
||||
public:
|
||||
G4String GetName() { return fName; };
|
||||
G4int GetCounter() { return fCounter; };
|
||||
void Count() { fCounter++; };
|
||||
|
||||
private:
|
||||
G4String fName; // process name
|
||||
G4int fCounter; // process counter
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -59,9 +64,3 @@ private:
|
||||
typedef std::vector<OneProcessCount*> ProcessesCount;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user