18.2.2011 Kamil Sedlak
1) Correction in rundom nr generator (option 3) - still there is a bug in the printing of time, for which the run is running (shown is a large negative number) - should be fixed. 2) Change in physics list which allows to set rise time in the scintillators
This commit is contained in:
@ -34,7 +34,8 @@ class musrParameters {
|
||||
static musrParameters* GetInstance();
|
||||
|
||||
static G4String mySteeringFileName; // name of the steering file (e.g. the *.mac file)
|
||||
static G4String myStopFileName; // name of the stop file (e.g. the *.stop file), which will stop the run if it is created
|
||||
static G4String myStopFileName; // name of the stop file (e.g. the *.stop file), which will stop the run if it is created
|
||||
static G4String myRandomNumberFileName; // name of the file with random numbers for RandomOption=3 in musrDetectorMessenger
|
||||
static G4bool storeOnlyEventsWithHits; // variable specifying whether to store interesting
|
||||
// or all events into the ROOT tree. (default = true)
|
||||
static G4int storeOnlyEventsWithHitInDetID; // simillar to "storeOnlyEventsWithHits". The event is stored
|
||||
@ -58,6 +59,9 @@ class musrParameters {
|
||||
// the SteppinAction and reset to "false" in the GetFieldValue.
|
||||
// It is being changed on step by step basis.
|
||||
static G4int nrOfEventsToBeGenerated; // Nr of events to be simulated in this run (set by /run/beamOn command)
|
||||
static G4bool finiteRiseTimeInScintillator; // if true, rise time will be simulated in the scintillator. For some strange
|
||||
// reason, Geant4 requires that this is specifically allowed. We set it true
|
||||
// as soon as "FASTSCINTILLATIONRISETIME" or "SLOWSCINTILLATIONRISETIME" is set.
|
||||
private:
|
||||
static musrParameters* pointerToParameters;
|
||||
G4bool boolG4RegionRequested; // variable used internally just to check that no new volume is defined after
|
||||
|
@ -79,7 +79,8 @@ class musrPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
void SetTurtleInputFileToEventNo(G4int lineNumberOfTurtleFile);
|
||||
void SetTurtleZ0(G4double val) {z0_InitialTurtle=val;}
|
||||
void SetTurtleInterpretAxes(G4String interpretAxes){turtleInterpretAxes=interpretAxes;}
|
||||
void SetOrReadTheRandomNumberSeeds(G4int eventID);
|
||||
// void SetOrReadTheRandomNumberSeeds(G4int eventID);
|
||||
void SetOrReadTheRandomNumberSeeds(G4Event* anEvent);
|
||||
void SetTurtleMomentumBite (G4ThreeVector smearingParam)
|
||||
{turtleMomentumBite=true; turtleMomentumP0=smearingParam[0]*MeV; turtleSmearingFactor=smearingParam[1]*0.01;}
|
||||
void SetPrimaryParticule(G4String particleName);
|
||||
@ -134,7 +135,7 @@ public:
|
||||
static G4bool setRandomNrSeedFromFile_RNDM;
|
||||
static G4int nRndmEventToSaveSeeds;
|
||||
static std::vector<int> * GetPointerToSeedVector();
|
||||
|
||||
static G4int lastEventID_in_pointerToSeedVector;
|
||||
G4double decaytime;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user