Monte Carlo Status. Bradley Yale. Spring 2017 Collaboration Meeting 05/04/2017

Similar documents
2.3 GeV Mollers. Bradley Yale Spring 2017 Collaboration Meeting 05/04/2017

Bump Hunt on 2016 Data

True Muonium Acceptance at 6.6 GeV

Benchmarking the SiD. Tim Barklow SLAC Sep 27, 2005

MDI and detector modeling

Measurements of BB Angular Correlations based on Secondary Vertex Reconstruction at sqrt(s) = 7 TeV in CMS

APEX: Goals and Strategy

Standard Model of Particle Physics SS 2012

E (GMp) Precision Measurement of the Proton Elastic Cross Section at High Q 2. Thir Gautam Hampton University

Measurements of of BB BB Angular Correlations based on Secondary Vertex Reconstruction at at s s s = 7 TeV in in CMS

Standard Model of Particle Physics SS 2013

Preliminary analysis of p-pb data update n. 6

Non-collision Background Monitoring Using the Semi-Conductor Tracker of ATLAS at LHC

ATLAS NOTE. August 25, Electron Identification Studies for the Level 1 Trigger Upgrade. Abstract

How to Measure Top Quark Mass with CMS Detector??? Ijaz Ahmed Comsats Institute of Information Technology, Islamabad

Cosmic Muons and the Cosmic Challenge. data taken with B 3.5Tesla, red lines are reconstructed chamber segments

Stefan Diehl. 2nd Physics Institute, Justus-Liebig-University Giessen

^ He, Li. INITIAL STUDIES OF GEANT and COMPARISONS with EGS. ^/vo-ffr<-y^-/^ 7. 2 Material Generation. W. Frati. September 8, 1990.

Tracking at the LHC. Pippa Wells, CERN

1.5 TeV Muon Collider background rejection in ILCroot Si VXD and Tracker (summary report)

Expected Performance of the ATLAS Inner Tracker at the High-Luminosity LHC

Pileup measurement and mitigation techniques in CMS

PoS(HEP2005)177. Status of the OPERA experiment. Francesco Di Capua. Universita Federico II and INFN.

GMp Experiment. M. Eric Christy. Hall A/C Summer Meeting For the GMp Collaboration

Simulation Results for CLAS12 From gemc

LHCb: Reoptimized Detector & Tracking Performance

Threshold photoproduction of J/y with the GlueX experiment. Lubomir Pentchev Jefferson Lab for the GlueX collaboration

Event Builder Status. N. Baltzell CLAS Collaboration Meeting November 13, 2018

CMS Simulation Software

Di-muon electroproduction with CLAS12

NA62: Ultra-Rare Kaon Decays

HASPECT in action: CLAS12 analysis of

PERFORMANCE OF THE CELLULAR AUTOMATON (CA) SEED FINDER IN TPC TRACKING. Tracking Focus Group. Abstract

DVCS with CLAS. Elton S. Smith. Jefferson Lab. Conference on Intersections of Particle and Nuclear Physics New York, Elton S.

FATRAS. A Novel Fast Track Simulation Engine for the ATLAS Experiment. Sebastian Fleischmann on behalf of the ATLAS Collaboration

Fermilab Experiments. Daniel Wicke (Bergische Universität Wuppertal) Outline. (Accelerator, Experiments and Physics) Computing Concepts

Status of the LHCb Experiment. Ueli Strauman, University of Zurich, Switzerland. Sept. 13, 2001

Measuring very forward (backward) at the LHeC

Stathes D. Paganis Nevis Laboratories, Columbia University, Irvington NY, 10533, USA (On behalf of the ZEUS Collaboration)

HL-LHC Physics with CMS Paolo Giacomelli (INFN Bologna) Plenary ECFA meeting Friday, November 23rd, 2012

LHCb: From the detector to the first physics results

Status report on the showering of Alpgen events with Herwig++ for ATLAS

Using Geant4 in the BABAR Simulation

Higgs Factory Magnet Protection and Machine-Detector Interface

Developments in EMT Simulation

Top Quark Mass Reconstruction from High Pt Jets at LHC

Alexei Safonov Lecture #18

The rejection of background to the H γγ process using isolation criteria based on information from the electromagnetic calorimeter and tracker.

The Madgraph/MadEvent generator: an update.

Towards a public analysis database for LHC new physics searches using MadAnalysis 5

ATLAS EXPERIMENT : HOW THE DATA FLOWS. (Trigger, Computing, and Data Analysis)

Searching for at Jefferson Lab. Holly Szumila-Vance On behalf of the HPS, APEX, DarkLight, and BDX 2017 JLab User s Group Meeting 20 June 2017

Preliminary comparison between GEANT4, Fluka and the TileCal 2002 Test Beam data

Biasing. Beginners FLUKA Course

b Physics Prospects For The LHCb Experiment Thomas Ruf for the LHCb Collaboration Introduction Detector Status Physics Program

The Hermes Recoil Silicon Detector

Contents. What Are We Looking For? Predicted D

THE ATLAS TRIGGER SYSTEM UPGRADE AND PERFORMANCE IN RUN 2

Measurement of the associated production of direct photons and jets with the Atlas experiment at LHC. Michele Cascella

Forward Tagger Status

Granularity of ATLAS Tile Calorimeter studied through simulations

Beauty jet production at HERA with ZEUS

Hadronic Exotica Searches at CMS

Light Dark Matter experiment

Absolute D Hadronic Branching Fractions at CLEO-c

Dr. Andrea Bocci. Using GPUs to Accelerate Online Event Reconstruction. at the Large Hadron Collider. Applied Physicist

Lepton and Photon reconstruction and identification performance in CMS and ATLAS

Future Prospects. BTeV at Fermilab: -Physics Expectations Will Johns Vanderbilt University. HCP2004, MSU East Lansing MI June 16, 2004 W.

Flavor Physics beyond the SM. FCNC Processes in the SM

GAS TARGET BACKGROUND SUBTRACTION FOR TRITIUM/ARGON CONFIGURATION SHUJIE LI HALL A/C ANALYSIS WORKSHOP JUNE, 2017

Future prospects for the measurement of direct photons at the LHC

Particle detection 1

Study of the LHC Luminosity at the ATLAS Experiment using Scintillating Counters

Calibration of the BABAR CsI (Tl) calorimeter

Study of the Electromagnetic Dalitz decay of J/ψ e + e - π 0

Tau-neutrino production study at CERN SPS: Novel approach by the DsTau experiment

Hall A Compton Calorimeter G. B. Franklin Carnegie Mellon University

B-Tagging in ATLAS: expected performance and and its calibration in data

OLYMPUS GEM LUMINOSITY MONITORS ÖZGÜR ATES HAMPTON UNIVERSITY

Measuring η π+ π- e+ e- with WASA at COSY. Daniel Coderre Hirschegg 2010

Scintillation efficiency measurement of Na recoils in NaI(Tl) below the DAMA/LIBRA energy threshold

Search for New and Unusual Strangeonia States Using γp pφη with GlueX at Thomas Jefferson National Accelerator Facility

The HL-LHC physics program

The CMS ECAL Laser Monitoring System

ATLAS NOTE. September 26, 2016

EM Energy Spectrum from 17.6 MeV photons. Eduardo do Couto e Silva and Xin Chen Feb 13, 2002

Intro to Nuclear and Particle Physics (5110)

(I)LC Software and the grid

Ridge correlation structure in high multiplicity pp collisions with CMS

The reaction p(e,e'p)π 0 to calibrate the Forward and the Large Angle Electromagnetic Shower Calorimeters

Recent Results of + c + X and + b + X Production Cross Sections at DØ

Multi Lepton events at HERA

Track reconstruction for the Mu3e experiment Alexandr Kozlinskiy (Mainz, KPH) for the Mu3e collaboration DPG Würzburg (.03.22, T85.

Calorimetry in particle physics experiments

Level 3 Trigger. First Joint Belle-BaBar Workshop on Detector Issues TRIUMF, Vancouver. Feburary 15, Rainer Bartoldus. The University of Iowa

Studies of the diffractive photoproduction of isolated photons at HERA

Geant4 electromagnetic physics for the LHC and other HEP applications

Muon reconstruction performance in ATLAS at Run-2

Status report on parity violation in the (1232) resonance

Measurement of the Inclusive Isolated Prompt Photon Cross Section at CDF

Transcription:

Monte Carlo Status Bradley Yale Spring 2017 Collaboration Meeting 05/04/2017

MC Status Summary MadGraph5 is now used for all tridents A more efficient background ( tritrig-wab-beam ) is available for acceptance/reach studies, made by artificially raising the trident rate Tuples for FEE, Mollers, and tridents are now being generated at recon, along with the output slcio/dst files The most recent Monte Carlo (all detectors) is in production/rotationfix, named for a tweak in the event processing before SLIC Scripts and software needed to run Monte Carlo are now in a git repository

MC Generator types Monte Carlo events come from several different generators: Egs5 (scattered beam, Mollers) Events are generated only using egs5 HPS target parameters are set (thickness, current) MadGraph (tri, tritrig, wab, ap, TM) Events are generated with MadGraph Scattering within the HPS target is then handled using egs5 MadGraph cross sections used to mix events with egs5 beam events Geant4 (hadrons) A macro is set up and run using an xml script: /u/group/hps/production/mc/engrun2015scripts/stdhep/hadrons.xml

MC Components from egs5 (egs5 generation ->.stdhep output) Scattered Beam (egs5, beam_v5) Saves all events passing the following cuts: Photon theta_y > 4 mrad Electron energy > Ebeam*0.005 Electron energy < Ebeam*0.6 and Electron theta > 15 mrad Mollers (egs5, moller_v3) Saves after-target events from Moller subroutine if: Electron energy > 10 MeV Electron theta > 5 mrad May also save photons/positrons from the event

2 versions of MadGraph MadGraph5 (all tridents) Tritrig (full diagram. Unbiased tridents without sum cut is unstable) ESum cut > ~Ebeam/2 RAD (radiative only, no exchange term) BH (Bethe-Heitler only, no exchange term) MadGraph4 wab (wide-angle bremsstrahlung) A signal (and anything else made using this generator)

MC Production Chain After generation and any further processing with egs5, the remaining simulation steps are: SLIC The background mixing using MadGraph cross sections, and the 30.5 mrad beam offset happens BEFORE this step This is also when most.lhe events get converted to.stdhep (via egs5) Scattering of lhe events is simulated within a target volume by egs5 before offsets are applied Scripts that perform the things in this step are in hps-mc/mc_scripts/slic/ Readout Non-XS-mixed pure signals (tritrig, A ) are spaced out by 250 blank events to avoid pileup before this step (org.hps.users.meeg.filtermcbunches) Standard Clustering + Triggering procedures are then applied via HPS-java Scripts that perform this step are in hps-mc/mc_scripts/readout/ Recon Standard track Finding + Fitting + Vertexing in HPS-java Scripts that perform this step are in hps-mc/mc_scripts/recon/

Mixing Procedure before SLIC (wab-beam-tri) All.lhe (MadGraph) events are Processed through egs5 (.lhe ->.stdhep) Target thickness and beam current are set, as it is for scattered beam generation After this, any tridents without a parent are given a 622 ( stdhep/add_mother ) Rotated about y, and moved in z by -5mm (stdhep/beam_coords) vtx_x = vtx_x cos(θ) + vtx_z sin(θ) vtx_z = vtx_z cos(θ) vtx_x sin(θ) px = px cos(θ) + pz sin(θ) pz = pz cos(θ) px sin(θ) 30.5 mrad Vertex positions are then sampled within a beamspot of user-defined Gaussian widths: σ x = 0.3 mm σ y = 0.03 mm "Poissonized (stdhep/merge_poisson) Events sampled from a Poisson distribution, based on MadGraph integrated cross section (must be correct!)

Recent MC Change: rotationfix Recent change in Pre-SLIC rotation/translation order (correct) (old way) Before offset apply offset Shift in z Shift in z AND x After offset Will avoid a slight beamspot shift in x

Mixing Procedure before SLIC (wab-beam-tri) Poisson Sampling procedure Takes an input stdhep file, and writes a random # of events into a new stdhep file, sampled from a Poisson distribution. These events get merged with beam events This Poisson distribution is weighted according to the MadGraph integrated cross section and calculated luminosity # of sampled events = gsl_ran_poisson r, μ μ r e μ r! μ = mean #events per sampled event = luminosity σ = density thickness bunchsize σ 1 bunch = 2ns of beamtime 500k bunches per background file => 1ms per file density = 6.306 10 2 atoms/(cm barns) thickness = 0.0004062 cm bunchsize(i) = 625 50nA, 2500 200nA Typical wab-beam-tri sample (10k SLIC files): 5 Billion bunches = 10 sec.

Mixing Procedure before SLIC (wab-beam-tri) Each beam file is randomly sampled into 100 files using 100 different seeds /hps_soft/stdhep/src/random_sample.cc For the beam s Poisson distribution, μ = # of generated events 500k After sampling, each beam file contains 500k events ~1.4 Each signal file is also sampled into 100 files (according to cross section), and each of these 100 files are merged with sampled beam files 1-to-1 hps-mc/stdhep/src/merge_files.cc Each mixed file contains 500k events to be run through SLIC After SLIC, each of these 100 files are readout at the same time where the 100to1 tag comes from

sampled Mixing Procedure before SLIC (wab-beam-tri) beam 500k events wab σ~590 mbarns sampled tri σ~1.31 mbarns wab-beam-tri

After SLIC Files are readout, either 10-to-1 or 100-to-1 (explicitly labelled) /org/hps/steering/readout/engineeringrun2015trigpairs1_pass2.lcsim /org/hps/steering/readout/engineeringrun2015trigsingles1_pass2.lcsim Then reconstructed /org/hps/steering/recon/engineeringrun2015fullreconmc.lcsim The latest MC (output from every step + DSTs + tuples) is in /mss/hallb/hps/production/rotationfix

MC chain for wab-beam-tri (flowchart) Beam background (one record per bunch) EGS5 (stdhep) (rotate) Trident MG5 (lhe) EGS5 (stdhep) (rotate) WAB MG4 (lhe) EGS5 (stdhep) (rotate) Hadrons Geant 4 (stdhep) (rotate) 500K bunches/job 5 10-5 bunches trigger (stdhep) SLIC Readout Recon Generated events sampled 100 times 100 SLIC 1 Readout Saved permanently CPU Time: 10% 3% 84% 3% few days / 10 sec long beam time (5 billion bunches) + overhead for job failures Disk space: 5 TB / (10sec beam time) dominated in the SLIC-Readout step 10 more statistics is doable, but 100 is the effective limit (months of production). However, in an effort to help increase statistics

New MC type: tritrig-wab-beam A MG5 updated version of tritrig-beam-tri Mixing tridents by cross section before SLIC (WBT) is very inefficient ~270,000 triggered events per 5,000,000,000 bunches Instead, mix tridents into wab-beam after SLIC, but before readout Space tridents by 250 bunches (~4 trigger windows) and insert into beam Each readout event is approximately a trident event ~8.7 million triggered events per 5,000,000,000 bunches (32x increase!) A much more efficient way to increase statistics However, the trigger rate is artificially increased to ~2 MHz Please be aware of this when normalizing wabtrig-beam-tri can be made the same way to study wab backgrounds

New MC type: tritrig-wab-beam Full MadGraph5 tridents are only tritrig (tridents with an ESum cut) Unbiased (uncut) MG5 tridents below ESum~Ebeam/2 give an unstable cross section across files Since there is a trident event inserted in each trigger window, unbiased ones are left out from pre-slic mixing for now. MG4 tri would need to be used for this (but probably shouldn t). Tridents are inserted at 2 MHz (20k events per 10 ms of beam), so this may be difficult to normalize. More of a hack to get events with background.

New MC repository to house framework https://github.com/jeffersonlab/hps-mc.git Contains everything needed to run the MC chain: EGS5 + HPS-specific configs Madraph4 + Madgraph5 generators Stdhep programs needed for pre-slic processing Scripts to submit MC jobs to a batch farm Jeremy has been tweaking the layout and creating wrappers to build everything more easily

For more information on how to run MC or what the files contain, https://confluence.slac.stanford.edu/display/hpsg/mc+production How to run: 2015 MC Production using a Command Line 2015 MC Production Using Scripts Normalizations: https://confluence.slac.stanford.edu/display/hpsg/mc+generated+cros s+sections If you need something, or run into issues, please email Takashi and me

MC Tasklist (discussion) At least 100 sec. of Nominal/L0 tritrig-wab-beam (all energies) 2.3 GeV everything Wabtrig-beam-tri More 1.056 GeV A 1.5mm Rough Priority? (Publications/upgrade -> who s graduating next?)

Backup

Les Houches Events (.lhe->.stdhep) MadGraph generation + Egs5 Scattering Unbiased Tridents ( tri, e- N+ > e- N+ e+ e-) MadGraph cuts: 50 MeV< e+ energy < 100 GeV 10 mrad < e+ theta_y < 100 rad No additional cuts in egs5 (lhe_v1) Preselected Tridents ( tritrig, same diagram) MadGraph cuts: 50 MeV < e+, e- energy < 100 GeV 10 mrad < e+, e- theta_y < 100 rad 10 MeV < invariant mass < 100 GeV ESum > 500 MeV (for 1.056 GeV beam) No additional cuts in egs5 (lhe_v1)

Les Houches Events (.lhe->.stdhep) MadGraph generation + Egs5 Scattering Unbiased Tridents ( tri, e- N+ > e- N+ e+ e-) MadGraph cuts: 50 MeV< e+ energy < 100 GeV 10 mrad < e+ theta_y < 100 rad No additional cuts in egs5 (lhe_v1) Preselected Tridents ( tritrig, same diagram) MadGraph cuts: 50 MeV < e+, e- energy < 100 GeV 10 mrad < e+, e- theta_y < 100 rad 10 MeV < invariant mass < 100 GeV ESum > 500 MeV (for 1.056 GeV beam) No additional cuts in egs5 (lhe_v1) e- N+ > e- N+ f+ f- e- N+ > e- N+ f+ f- @3 (RAD) @2 (BH) RAD and BH can also be generated separately, and have distinguishable electrons

Les Houches Events (.lhe->.stdhep) MadGraph generation + Egs5 Scattering WAB ( wab, f- N+ > f- N+ x) MadGraph cuts (similar for unbiased tridents) 50 MeV< e+, e- energy < 100 GeV 10 mrad < e+, e- theta_y < 100 rad No additional cuts in egs5 (lhe_v1) A ( ap, e- N+ > e- N+ ( x > f+ f- )) MadGraph cuts (virtually none) e+, e- energy < 100 GeV e+, e- theta_x,y < 100 rad Invariant mass < 100 GeV No additional cuts in egs5 (lhe_v1)

Les Houches Events (.lhe->.stdhep) MadGraph generation + Egs5 Scattering WAB ( wab, f- N+ > f- N+ x) MadGraph cuts (similar for unbiased tridents) 50 MeV< e+, e- energy < 100 GeV 10 mrad < e+, e- theta_y < 100 rad No additional cuts in egs5 (lhe_v1) A ( ap, e- N+ > e- N+ ( x > f+ f- )) MadGraph cuts (virtually none) e+, e- energy < 100 GeV e+, e- theta_x,y < 100 rad Invariant mass < 100 GeV No additional cuts in egs5 (lhe_v1) No egs5 scattering for A s Decay length is applied during stdhep conversion ( stdhep/lhe_tridents )

MadGraph Generator Scripts Scripts that run MadGraph: /u/group/hps/production/mc/engrun2015scripts/lhe/ The generators and run cards can be found here: /u/group/hps/production/mc/madgraph/

To Calculate Expected Tridents in a WBT File # of trident events per 500k bunches = (0.14566 barns)*(6.306*^-2 nuclei/barn-cm)*(0.0004062 cm) *(625 electrons/bunch)*(500000 bunches) = 1166

MC directory naming (/mss/hallb/hps/production/***/ ) posttrisummitfixes : Incorporates the following fixes/improvements that took effect after the Trident Summit: WAB events are now unweighted (labelled 'wabv2') The WAB process is now suppressed in egs5, since it was not being handled correctly (the electron was not being scattered). This also prevents double-counting the MadGraph WABs. (files labelled egsv5 ) Updated target thickness (now 4.062 um from 4.375 um). Calculated from Clive's Note MC events are shifted 5mm along the z-axis to account for a discrepancy in target position New detector geometry that removes extraneous material (EngRun2015-Nominal-v5-0-fieldmap) The carbon fiber volume in the L1-3 half-modules was previously too large, obstructing the beam. 1.5mm SVT version is also available GEANT4/SLIC has been updated to 10.01.p03/REL, from 10.01.p02/HEAD. Additional 'wab-beam-tri' tags within the 'posttrisummitfixes' directory: 500kBunches: Enough WABs were guaranteed to be generated in order to make 500k bunches (1ms) of mixed background per SLIC file, 10ms per recon file. Corrects the overall normalization of wab-beam-tri in analysis. zipfix: 500kBunches + fixes another small error which potentially prevented photons from being handled correctly T0Offset: Recon used the same steering file as for data recon, which sets 'correctt0shift' and 'correctchant0' flags to 'true' in RawTrackerHitFitterDriver (determined to not be the correct way to process MC) The "most correct" 2015 wab-beam-tri files are currently labelled 'zipfix (NOT T0Offset!)

Other 2015 MC directories (/mss/hallb/hps/production/***/ ) Pass # Uses a jar (also tagged in the file name) that matches an 'official' data pass of the same number DBGainsPass Database runtime gains used for readout LucaTri Luca s various Vegas trident generator tests (labeled by date) Layer0Studies (older L0 studies, rotationfix is updated) A pass using the new Layer-0 detectors will go here