Skip to content
Snippets Groups Projects
Commit e3a687d6 authored by nnitika's avatar nnitika
Browse files

modified for DeltChord

parent d5cdc763
No related branches found
No related tags found
1 merge request!200Draft: Mag field opt
......@@ -163,6 +163,7 @@ FSLDetectorConstruction::FSLDetectorConstruction() : fWorld(nullptr), fDetectorM
fMinStep = 1.0e-2;
fField.Put(0);
fOutputGDMLFileName = "geometry.gdml";
//fDeltaChord;
}
FSLDetectorConstruction::~FSLDetectorConstruction()
......@@ -462,8 +463,8 @@ if (fFieldConstant && std::abs(fFieldValue) > 0.0) {
///////////////////////////////////////////DeltaChord(mm) Parameter Set////////////////////
//fieldMgr->GetChordFinder()->SetDeltaChord( 0.001); //DeltaChord(mm) Parameter Set 1
//fieldMgr->GetChordFinder()->SetDeltaChord( 0.1); //DeltaChord(mm) Parameter Set 2
fieldMgr->GetChordFinder()->SetDeltaChord( 0.002); //DeltaChord(mm) Parameter Set 3
//fieldMgr->GetChordFinder()->SetDeltaChord( 0.002); //DeltaChord(mm) Parameter Set 3/ generaliseremove value and put name
//fDeltaChord = std::stod(fDeltaChord);
G4cout << G4endl << " *** SETTING UNIFORM MAGNETIC FIELD : fieldValue = " << fFieldValue / tesla << " Tesla *** " << G4endl << G4endl;
// G4cout << " Chord Length: " << fieldMgr->GetChordFinder()->GetDeltaChord() / mm << " mm" << G4endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment