Skip to content
Snippets Groups Projects
Commit abe82bd8 authored by nnitika's avatar nnitika Committed by Marilena Bandieramonte
Browse files

modified for DeltaChord and StepMax

parent d78b992a
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,12 @@
// #include "G4FSALDormandPrince745.hh"
#include "G4HelixHeum.hh"
#include "G4BFieldIntegrationDriver.hh"
#include "G4UserLimits.hh"
#include "G4StepLimiter.hh"
//#include "StepMax.hh"
#include <cassert>
#include "HistoManager.hh"
#include "HistoMessenger.hh"
//
// Units
......@@ -75,7 +78,7 @@ class GeoPhysVol;
class G4FieldManager;
class G4ChordFinder;
class G4UserLimits;
class FSLDetectorConstruction : public G4VUserDetectorConstruction {
......@@ -100,6 +103,7 @@ public:
void SetOutputGDMLFileName(const G4String &outputGDMLFileName) { fOutputGDMLFileName = outputGDMLFileName; }
void SetDumpGDML(const bool dumpGDML) {fDumpGDML=dumpGDML;}
void SetDeltaChord(const G4double &parDeltaChord) {fDeltaChord=parDeltaChord;} //////////added
void SetStepMax(G4double theStepMax) { fStepMax = theStepMax; }//////////added
/////////Changes///////////
//void SetDeltaChord(const std::string DeltaChord);
/// Common method to construct a driver with a stepper of requested type.
......@@ -166,10 +170,14 @@ private:
G4VPhysicalVolume *fWorld;
FSLDetectorMessenger *fDetectorMessenger;
G4Cache<G4MagneticField*> fField; //pointer to the thread-local fields
///////////////STEPMAX//////NITIKA//////
//G4double fStepMax;
G4double fStepMax;
G4UserLimits* fStepLimit; // pointer to user step limits
//////////////////////////////////////////
G4FieldManager *fFieldManager; // <-- Added field manager variable
// G4ChordFinder *fChordFinder;
G4double fDeltaChord; ////////chord
G4double fDeltaChord; ////////chord fDeltaChord parDeltaChord !!!!!!!!!!!!!!!!!!!!!
/////////////////////////////////////////////////////////
std::vector<std::string> sensitiveDetectorPluginName;
std::string mag_field_plugin_path;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment