Field Modelling Tools in G4MICE MICE VC Chris Rogers 1st Feb 2006.

Slides:



Advertisements
Similar presentations
PID Detector Size & Acceptance Chris Rogers Analysis PC
Advertisements

1 Angular Momentum from diffuser Beam picks up kinetic angular momentum (L kin ) when it sits in a field –Canonical angular momentum (L can ) is conserved.
Cooling channel issues U. Bravar Univ. of Oxford 31-Mar-2004.
1 Emittance Calculation Progress and Plans Chris Rogers MICE CM 24 September 2005.
Slide 1 MICE Beamline Design and Commissioning Review 16 th Nov 2007 Simulation comparison / tools / issues Henry Nebrensky Brunel University There are.
V.Daniel Elvira Status Report on Cooling Simulations using GEANT4 Motivation: Explore a realistic design of a 44/88 MHz based cooling channel for a -factory.
1 PID Detectors & Emittance Resolution Chris Rogers Rutherford Appleton Laboratory MICE CM17.
1 Chris Rogers Imperial College 18 May 2006 TOF II Justification.
PID Detector Size & Acceptance Chris Rogers Analysis PC
M.apollonioCM17 -CERN- (22/2 - 25/2 2007)1 Single Particle Amplitude M. Apollonio – University of Oxford.
V.Daniel Elvira Status Report on Cooling Simulations using GEANT4 Motivation: Explore a realistic design of a 44/88 MHz based cooling channel for a -factory.
March 31, Status of the TOF, Ckov and Virtual Detector Packages in G4Mice Steve Kahn Brookhaven National Laboratory Mice Collaboration Meeting March.
K.Walaron Fermilab, Batavia, Chicago 12/6/ Simulation and performance of beamline K.Walaron T.J. Roberts.
Chris Rogers, MICE CM16 Wednesday Plenary Progress in Cooling Channel Simulation.
1 Analysis code for KEK Test-Beam M. Ellis Daresbury Tracker Meeting 30 th August 2005.
Emittance Calculation Chris Rogers, Imperial College/RAL Septemebr
TJR 11/03/2003Slide 1 g4beamline A “Swiss Army Knife” for Geant4 Tom Roberts Illinois Institute of Technology.
30 June 2004MICE VC1 MICE  functions Since last VC report: –New Mike Green configurations for decreased spacing between focus and matching coils of 400mm,
Beam Parameter Study - preliminary findings Tim Carlisle.
1 Emittance Calculation Progress and Plans Chris Rogers Analysis PC 18 August 2005.
1Malcolm Ellis - Software Meeting - 31st May 2006 Data Challenge Requirements  First list of requirements, based on Yagmur’s document: u
1 G4MICE Analysis of KEK Test Beam Aron Fish Malcolm Ellis CM15 10th June 2006.
1 PID Detector Size & Acceptance Chris Rogers Analysis PC
MICE analysis meeting - (18/5/2006) 1 STEPIII: ICOOL vs G4MICE M. Apollonio – University of Oxford.
Oct 15, 2003 Video Conference Energy Deposition Steve Kahn Page 1 Energy Deposition in MICE Absorbers and Coils Steve Kahn October 15, 2003.
RF background simulations MICE collaboration meeting Fermilab Rikard Sandström.
1 Emittance Exchange in MICE ● How would one measure emittance exchange? ● Build a cell of a cooling ring? ● Expensive ● Manpower-consuming ● Nice to demonstrate.
Chris Rogers, Analysis Parallel, MICE CM17 Progress in Cooling Channel Simulation.
1 Tracker Window & Diffuser Radius vs Scraping Aperture Chris Rogers Analysis PC 6th April 06.
1 Chris Rogers MICE Collaboration Meeting 11th Feb 2005 Tracking and Cooling performance of G4MICE.
M.apollonio/j.cobbMICE UK meeting- RAL - (9/1/2007) 1 Single Particle Amplitude M. Apollonio – University of Oxford.
Diffuser Studies Chris Rogers, IC/RAL MICE VC 09 March 2005.
Analysis of MICE Chris Rogers 1 Imperial College/RAL Thursday 28 October, With thanks to John Cobb.
Oct 15, 2003 Video Conference Energy Deposition Steve Kahn Page 1 Energy Deposition in MICE Absorbers and Coils Steve Kahn November 2, 2003.
Introduction Status of SC simulations at CERN
1M. Ellis - MICE Video Conference - 15th March 2007 Software Report  New G4MICE Users  TOF Simulation and Digitisation  SciFi Reconstruction  Tracker.
1 Optics/Analysis Update Chris Rogers MICE Software pc 28 April 05.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
MICE pencil beam raster scan simulation study Andreas Jansson.
Offline Software Summary 1M.Ellis - CM25 - 6th November 2009  Release Schedule  Simulation and Analysis Update  Detector software: u CKOV u EMR u KL.
Results from Step I of MICE D Adey 2013 International Workshop on Neutrino Factories, Super-beams and Beta- beams Working Group 3 – Accelerator Topics.
1 BetaFunction Void DoIntegration Double GetBeta Double GetAlpha Double GetEmittance Double GetPz Void Print Void AddMaterial Void AddQuadrupole Void AddSolenoid.
Software Status  Last Software Workshop u Held at Fermilab just before Christmas. u Completed reconstruction testing: s MICE trackers and KEK tracker.
MICE input beam weighting Dr Chris Rogers Analysis PC 05/09/2007.
Update Chris Rogers, Analysis PC, 13/07/06. State of the “Accelerator” Simulation Field model now fully implemented in revised MICE scheme Sanity checking.
MICE at STFC-RAL The International Muon Ionization Cooling Experiment -- Design, engineer and build a section of cooling channel capable of giving the.
Oct 15, 2003 Video Conference Energy Deposition Steve Kahn Page 1 Energy Deposition in MICE Absorbers and Coils Steve Kahn November 2, 2003.
1M. Ellis - NFMCC - 31st January 2007 MICE Analysis.
Geant4 Simulation of the Beam Line for the HARP Experiment M.Gostkin, A.Jemtchougov, E.Rogalev (JINR, Dubna)
1ECFA/Vienna 16/11/05D.R. Ward David Ward Compare these test beam data with Geant4 and Geant3 Monte Carlos. CALICE has tested an (incomplete) prototype.
M. Ellis - MICE Collaboration Meeting - Thursday 28th October Sci-Fi Tracker Performance Software Status –RF background simulation –Beam simulation.
1 PID Detector Size & Acceptance Chris Rogers Analysis PC
26 Oct 2010PC Physics Requirements of Software from Chris R ~19 Oct. My.
Status of BDSIM Simulation L. Nevay, S. Boogert, H. Garcia-Morales, S. Gibson, R. Kwee-Hinzmann, J. Snuverink Royal Holloway, University of London 17 th.
Simulating the RFOFO Ring with Geant Amit Klier University of California, Riverside Muon Collaboration Meeting Riverside, January 2004.
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Nufact02, London, July 1-6, 2002K.Hanke Muon Phase Rotation and Cooling: Simulation Work at CERN new 88 MHz front-end update on cooling experiment simulations.
SLAC LET Meeting Global Design Effort 1 CHEF: Recent Activity + Observations about Dispersion in Linacs Jean-Francois Ostiguy FNAL.
Monte Carlo simulation of the particle identification (PID) system of the Muon Ionization Cooling Experiment (MICE) Mice is mainly an accelerator physics.
This presentation will describe the state of each element in the beam line with regards to the current update being undertaken. Firstly, it will describe.
Muons, Inc. Feb Yonehara-AAC AAC Meeting Design of the MANX experiment Katsuya Yonehara Fermilab APC February 4, 2009.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Accelerator Tools - Status Chris Rogers, ASTeC, Rutherford Appleton Laboratory.
Why do we need to know the fields / map the magnets?
Using MICE to verify simulation codes?
Validating Magnets Using Beam
Muon Front End Status Chris Rogers,
Design of the MANX experiment
How to turn on MICE Step IV
Presentation transcript:

Field Modelling Tools in G4MICE MICE VC Chris Rogers 1st Feb 2006

Overview Simulation plays an important role in MICE –Use for design and analysis –Also verification/optimisation of simulation is a goal of MICE –Important that software is upgradable and maintainable Simulation has five main components –DetModel builds the model for detectors –EngModel builds the model for the cooling channel –Interface/Persistency handles file I/O and user inputs –BeamTools builds the model for the fields (and some engineering) –Simulation ties them all together and interfaces it all with G4 I’m going to describe recent work to redesign the BeamTools library –Move away from an ICOOL-style set of generic beam elements –Clean up and rewrite large amounts of code –Eventually EngModel will handle all physical engineering of the cooling channel

Motivation BeamTools previously consisted of a set of generic beam elements placed by EngModel –This means we can’t include an arbritrary level of detail in the cooling channel Elements had awkward interface –E.g. every time the user built a solenoid, first need to define each current sheet BeamTools code was clunky and over-complex –Lots of duplication of work (cutting and pasting) –Difficult to maintain and upgrade I want Analysis and Optics libraries to see the fields but not GEANT4 –Access to large libraries like G4 slows down Analysis even if they are not used –Engineering description is not useful for Analysis

Old BeamTools Architecture BTMagFieldMapBTSolenoidBTPillBoxQ35 BTGlobalMagField BTSheet BTGlobalEMField BTAccelDevice BTLinacCellPhaseInfo BTMagFieldMapPlacement

New BeamTools Architecture BTField BTMagFieldMapBTSolenoidBTPillBoxQuad (not yet) BTFieldGroup BTSheet BTFieldConstructor BTPhaser MICEMagFieldMICEEMField

Features BTField is a generic object (virtual) –Means I can write an interface to a generic field –A given function doesn’t need to know the type of field it is talking to –E.g. I can ask a field what the field value is without knowing what sort of field (solenoid, rf cavity, etc) it is –Something similar existed before but in GEANT4, so we could not control it BTFieldGroup is a generic container for BTFields –Handles placement of fields –Generic interface of BTField means I can place any BTField –E.g. build a BTFieldGroup for each module Implementing MICE stages becomes extremely easy –RF cavities can now be rotated

Features (cont.) BTFieldConstructor reads geometry and builds the fields –It is a special BTFieldGroup –Builds each module as a BTFieldGroup BTPhaser sets the phase by a call to BTFieldConstructor whenever the reference particle steps –BTFieldGroup hands the call down to all the other fields –Write special code in the BTPillBox function to set the phase –Can do this in any new field class without knowing anything about BTPhaser, BTFieldGroup –BTPhaser methods can be called from any function Lots of things need to know whether the phase needs to be set MICEMag/EMField communicate with GEANT4 –Don’t do anything except provide an interface with G4 ~50% less code for much more functionality –64.1 Kb vs 93.8 Kb –Easier to maintain –Easier to extend

Sample MICE Channel BTFieldConstructor MICE FieldGroup RFCC0 FieldGroup AFC1FieldGroup AFC0 FieldGroup Tracker0FieldGroup Tracker1 FieldGroup RFCC1 FieldGroup Linac1FieldGroup Linac0 Example of some of the objects in a MICE Stage VI FieldGroup FieldGroup AFC BTSolenoid Focus1 BTSolenoid Focus0

On axis B z On axis Bz looks ok Compare G4MICE with ICOOL (right hand plot) –Different by ~ 1% Slightly different algorithms –I think ICOOL generates the grid and writes directly to disk –G4MICE generates a grid and then interpolates Only five sheets [Bz(ICOOL) - Bz(G4MICE)]

Off axis B z Off-axis looks okay –Something interesting going on in the coils –ICOOL and G4MICE placing the coils in slightly different places? I need to check –Introduces significant differences but only inside material [Bz(ICOOL) - Bz(G4MICE)]

Off axis B r Again a few significant differences –Again quite far out from the beamline –Worst near AFC At least the beam is quite tightly focused there –Perhaps better/more accurate with more sheets [Br(ICOOL) - Br(G4MICE)]

RF Model Standard PillBox model –E-field given by Bessel(r/r0)*sin(  t) where r0 is some factor of the cavity radius –B-field also calculated (faint plot is B  * 100 [T]) –Cavity radius according to the frequency of the cavity Phase using reference particle –Reference particle should see only mean dE/dz and no MSc –Bug means it also gets a small amount of MSc (bug 77) I think a problem with GEANT4 to do with knock-on electrons R = 2.405c/ 

Beam Transport Beta function looks reasonable –Beams have 0 energy spread initially –Black has no material or RF –Red has LH2 and RF, no rf windows or detectors –TRD magnets Angular Momentum also nice –Canonical angular momentum is ~conserved (reassuring!) L can L kin

Cooling Energy looks good –Cavities phase to ~ 100 ps precision –Would be nice to do better but hampered by Ref Particle bug Cooling nicely (~ 13% cooling) –Worried by the emittance spike in the third absorber –Why here (and e.g. not in the other absorbers)? –Probably Virtual Planes algorithm

Amplitude Momentum Correlation Amplitude momentum correlation –Initially non-zero as I use E, t as my longitudinal phase space variables Worried about the spike

Processing Speed First attempt at profiling time spent in each G4MICE func BeamTools accounts for ~ 5% of G4MICE processor time –Less (as a %) if simulating detectors –Significant enough to be worth keeping an eye on New code is a fair bit slower –New BT slower at transforming between local and global coords –Transforms twice, once to the module FieldGroup and once to the global field group –May be possible to improve performance New BT/sOld BT/s BeamTools Setup (Building field maps etc)30.5 Interpolation between bfield map grid nodes Calculating solenoid field after interpolation3453 Transforming from global coordinate system13327 Total time in G4MICE libraries665368

To do Still need to implement –Quads –RF field map –Electrostatic cavity? –Iron Would like to start moving engineering model to EngModel –E.g. use same window class for absorbers and rf –Needs to happen before I can commit the code May be some optimisation to do ito speed –Is it better to have fast code or working code?