13.1.2010 Kamil Sedlak
1) The filling of the root tree was called from musrScintSD.cc, which was problematic, because no variables were written out if there was no sensitive volume defined (problem for example when one wants to study the beam-line properties using just save volumes). Therefore the tree filling is now called from musrEventAction.cc. 2) A possibility to gently stop the run by creating a file with the name "RUNNUMBER.stop" in the working directory has been introduced. ("Gently" means that root output file is closed properly.)
This commit is contained in:
@ -34,6 +34,7 @@ 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 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
|
||||
|
Reference in New Issue
Block a user