PM Software Review.

Slides:



Advertisements
Similar presentations
Hadron production in hard scattering Event GeneratorGEANT.
Advertisements

NDVCS measurement with BoNuS RTPC M. Osipenko December 2, 2009, CLAS12 Central Detector Collaboration meeting.
CBM Calorimeter System CBM collaboration meeting, October 2008 I.Korolko(ITEP, Moscow)
VETO Analysis Update Michael Wood University of Massachusetts, Amherst Outline Introduction and basics Reconstruction packages Efficiencies Simulation.
HARP Anselmo Cervera Villanueva University of Geneva (Switzerland) K2K Neutrino CH Meeting Neuchâtel, June 21-22, 2004.
Hall D Photon Beam Simulation and Rates Part 1: photon beam line Part 2: tagger Richard Jones, University of Connecticut Hall D Beam Line and Tagger Review.
July 2001 Snowmass A New Measurement of  from KTeV Introduction The KTeV Detector  Analysis of 1997 Data Update of Previous Result Conclusions.
30 March Global Mice Particle Identification Steve Kahn 30 March 2004 Mice Collaboration Meeting.
Study of two pion channel from photoproduction on the deuteron Lewis Graham Proposal Phys 745 Class May 6, 2009.
1 EMCal design MICE collaboration meeting Fermilab Rikard Sandström.
Zhihong Ye Hampton University Feb. 16 th 2010, APS Meeting, Washington DC Data Analysis Strategy to Obtain High Precision Missing Mass Spectra For E
Proton polarization measurements in π° photo-production --On behalf of the Jefferson Lab Hall C GEp-III and GEp-2γ collaboration Wei Luo Lanzhou University.
LBNE R&D Briefing May 12, 2014 LBNE R&D Briefing May 12, 2014 LArIAT and LBNE Jim Stewart LArIAT EPAG Chair BNL LBNE LARIAT-EPAG J. Stewart BNL T. Junk.
PPR meeting - January 23, 2003 Andrea Dainese 1 TPC tracking parameterization: a useful tool for simulation studies with large statistics Motivation Implementation.
Status of Hall C 6 GeV Analysis Software Robust Fortran/CERNLIB code, “ENGINE”, for analysis of HMS/SOS coincidence and single arm experiments that has.
A Reconstruction Algorithm for a RICH detector for CLAS12 Ahmed El Alaoui RICH Workchop, Jefferson Lab, newport News, VA November th 2011.
Medium heavy Λ hyper nuclear spectroscopic experiment by the (e,e’K + ) reaction Graduate school of science, Tohoku University Toshiyuki Gogami for HES-HKS.
Measurements of F 2 and R=σ L /σ T on Deuteron and Nuclei in the Nucleon Resonance Region Ya Li January 31, 2009 Jlab E02-109/E (Jan05)
Status of Hall C 6 GeV Analysis Software Robust Fortran/CERNLIB code, “ENGINE”, for analysis of HMS/SOS coincidence and single arm experiments that has.
SHMS Optics and Background Studies Tanja Horn Hall C Summer Meeting 5 August 2008.
Jin Huang M.I.T. For Transversity Collaboration Meeting Sept 24, JLab.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
26 Jan, MEG Software Status Framework for MEG MC, Unification of LargePrototype/beam test, Schedule and DC reconstruction MEG Software Group.
Jin Huang M.I.T. Hall A Analysis Workshop Dec 14, JLab.
Thomas Jefferson National Accelerator Facility Page 1 EC / PCAL ENERGY CALIBRATION Cole Smith UVA PCAL EC Outline Why 2 calorimeters? Requirements Using.
SHMS Optics Studies Tanja Horn JLab JLab Hall C meeting 18 January 2008.
1 Calorimeter in G4MICE Berkeley 10 Feb 2005 Rikard Sandström Geneva University.
CEBAF The Continuous Electron Beam Accelerating Facility(CEBAF) is the central particle accelerator at JLab. CEBAF is capable of producing electron beams.
BigCal Reconstruction and Elastic Event Selection for GEp-III Andrew Puckett, MIT on behalf of the GEp-III Collaboration.
PREX Mtg, July 2008R. Michaels, JLab Hall A Monte Carlo -- HAMC Similar to A. Deur’s ``Single Arm Monte Carlo’’ “Fast” Monte Carlo -- not Geant ROOT /
Update on the Hall C Monte Carlo simulation for 12 GeV Mark Jones.
Latifa Elouadrhiri Jefferson Lab Hall B 12 GeV Upgrade Drift Chamber Review Jefferson Lab March 6- 8, 2007 CLAS12 Drift Chambers Simulation and Event Reconstruction.
Measurement of Vus. Recent NA48 results on semileptonic and rare Kaon decays Leandar Litov, CERN On behalf of the NA48 Collaboration.
Thomas Jefferson National Accelerator Facility Page Hall B:User Software Contributions Gerard Gilfoyle University of Richmond 12 GeV Upgrade Software Review.
1 A first look at the KEK tracker data with G4MICE Malcolm Ellis 2 nd December 2005.
CBM ECAL simulation status Prokudin Mikhail ITEP.
M. Muniruzzaman University of California Riverside For PHENIX Collaboration Reconstruction of  Mesons in K + K - Channel for Au-Au Collisions at  s NN.
Particle Identification at BESIII Kanglin He April 23, 2007, Amsterdam.
PID simulations Rikard Sandström University of Geneva MICE collaboration meeting RAL.
Magnetized hadronic calorimeter and muon veto for the K +   +  experiment L. DiLella, May 25, 2004 Purpose:  Provide pion – muon separation (muon veto)
Inclusive Measurements of inelastic electron/positron scattering on unpolarized H and D targets at Lara De Nardo for the HERMES COLLABORATION.
The Q Weak Experiment Event tracking, luminosity monitors, and backgrounds John Leacock Virginia Tech on behalf of the Q Weak collaboration Hall C Users.
26 Oct 2010PC Physics Requirements of Software from Chris R ~19 Oct. My.
00 Cooler CSB Direct or Extra Photons in d+d  0 Andrew Bacher for the CSB Cooler Collaboration ECT Trento, June 2005.
1 OO Muon Reconstruction in ATLAS Michela Biglietti Univ. of Naples INFN/Naples Atlas offline software MuonSpectrometer reconstruction (Moore) Atlas combined.
L/T separation in the 3 He(e,e’p) reaction at parallel kinematics Freija Descamps Supervisors: Ron Gilman Eric Voutier Co-supervisor: Jean Mougey.
SANE Collaboration ( E07-003) Anusha Liyanage Hampton University January 12, 2010 Measurement Of the Proton Form Factor Ratio at High Q 2 by Using The.
Experiment Rosen07: Measurement of R =  L /  T on Deuterium in the Nucleon Resonance Region.  Physics  Data Analysis  Cross Section calculation 
Status of Hall C 6 GeV Analysis Software Robust Fortran/CERNLIB code, “ENGINE”, for analysis of HMS/SOS coincidence and single arm experiments that has.
1 Simulations Purpose of the simulation codes Structure of the E866 simulation codes Issues of simulations for E906 Jen-Chieh Peng University of Illinois.
Yet another approach to the ToF-based PID at PANDA
The MiniBooNE Little Muon Counter Detector
Status Report Fenfen An
Tracking results from Au+Au test Beam
Particle detection and reconstruction at the LHC (IV)
CLAS12 Analysis and First Experiment Organization
What do you want? What are you willing to do to get it?
User Documents and Examples I
Kaons Propagation Through Nuclei
OO Muon Reconstruction in ATLAS
Overview of CLAS12 Calibration
Pure  exposure for e/ separation
Data Analysis in Particle Physics
Hall C KPP Demonstration March 10, 2017.
Special Considerations for SIDIS
CLAS Simulations for the E5 Data Set
Hall C Users Meeting 31 January 2009
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
COMPTON SCATTERING IN FORWARD DIRECTION
Status of the cross section analysis in e! e
Presentation transcript:

PM Software Review

Outline hcana engine simc overview-workflow-calibration-monitoring Hall C ROOT/C++ analyzer (hcana) Hall C Fortran/F77 analyzer (engine) Analysis algorithms (tracking, pid, etc.) Workflow/Calibration/Monitoring Hall C Simulation (simc) Summary/Outlook

Rationale hcana engine simc overview-workflow-calibration-monitoring engine Hall C software: F77/Cernlib ~100,000 Lines of Code C++ is a better match for the skillset of younger collaborators Keep all the solid, documented, and proven analysis algorithms from “engine”

Approach hcana engine simc overview-workflow-calibration-monitoring Keep all analysis algorithms from engine Rewrite in C++/ROOT Built on top of Hall A’s PODD software …In publicly readable git repository

hcana engine simc overview-workflow-calibration-monitoring Current Status Reads Hall C style parameter files Reads Hall C style hardware (detector mapping) Builds engine-style raw hit lists Extracts hodoscope and drift chamber hit lists from HMS CODA files Hodoscope reconstruction/rest of milestones to follow

hcana engine simc overview-workflow-calibration-monitoring Engine Overview hcana will follow existing engine approach… Code identical for HMS and SOS. Detailed detector layout defined by position/geometry parameter files SHMS differs only by geometry; can use identical code Raw hit processing/decoding [need updates for new ADC/TDCs] Option to dump information needed for detector calibration

hcana engine simc overview-workflow-calibration-monitoring Engine Overview (II) Track-independent detector quantities Track-dependent reconstruction Calculate efficiencies for each detector Robust algorithms which yield reliable measure of performance. Not tuned to specific experiment (e.g. extreme rates or backgrounds may require modified approaches) Calculate ‘basic’ physics quantities for each event Heavy emphasis on experiment-independent issues

hcana engine simc overview-workflow-calibration-monitoring Engine Overview (III) Each experiment… Must provide higher-level physics reconstruction Must decide if they want to use more specialized efficiency calculations Must determine efficiency of experiment-specific cuts For most cuts/calculations there are multiple predefined (“standard”) options

hcana engine simc overview-workflow-calibration-monitoring Analysis Algorithm For each detector: Calibration: Options to dump information for diagnostic/detector calibration Some detectors have built-in calibration options “Detector reconstruction” Tracking, TOF, npes, shower energy, etc Efficiency Calculation Default efficiency calculation built in Options for experiment-specific calculations

Analysis Algorithm (II) hcana engine simc overview-workflow-calibration-monitoring Analysis Algorithm (II) For each spectrometer: Track and particle identification (at the target) Use all detector information to obtain focal plane quantities Use matrix elements to obtain target quantities Options to apply corrections (eloss, pointing, etc.)

Analysis Algorithm (III) hcana engine simc overview-workflow-calibration-monitoring Analysis Algorithm (III) If a coincidence experiment: Coincidence event reconstruction: Very Experiment-specific! The Fortran code provides subroutines for this (c_reconstruction, c_physics, etc.). The default code only provides calculation for very basic quantities Historically some/most users just produce a coincidence ntuple and use their own coincidence reconstruction software (.f, .kumac, or both)

hcana engine simc overview-workflow-calibration-monitoring HMS Detector Array

hcana engine simc overview-workflow-calibration-monitoring (S)HMS Tracking HU students building an HMS drift chamber Two drift chambers /spectrometer 6 wire planes/chamber || wires shifted by ½ cell Need scintillator hodoscope signal (common stop)

(S)HMS Tracking Tracking algorithm: Identify pairs: hits in overlapping wires (non-parallel planes) Identify combos: group pairs that are within R~1.2 cm Generate spacepoints: combine combos within R~1.2 cm Generate stubs (single-chamber tracks) for all spacepoints Find tracks: link stubs between two chambers Apply drift time offset, determine L/R Between planes where offset Best chisquared for unmatched planes Calculate track-dependent quantities for all surviving tracks Select ‘final’ (focal plane) track Various places where cuts can be applied. By default, only raw timing on DC TDC hits.

(S)HMS Tracking A. Puckett, PhD Dissertation

(S)HMS Tracking I. Albayrak, PhD Dissertation, 2011

Beyond single event reconstruction hcana engine simc overview-workflow-calibration-monitoring Beyond single event reconstruction Sample workflow for typical Hall C experiment Programs & scripts available to the user Most scripts work “out of the box” Some will require user customization

hcana engine simc overview-workflow-calibration-monitoring HMS SHMS

Calibration (time-of-flight) hcana engine simc overview-workflow-calibration-monitoring Calibration (time-of-flight) Initial calibration Stand-alone code, significant user intervention Uses special engine (txt) output file Correct for velocity of light propagation along paddle Apply pulse-height correction Determine offset for each PMT Update calibrations Stand-alone code; both full and simplified version Keep propagation, pulse-height corrections fixed and refit offsets

Calibration (time-of-flight) hcana engine simc overview-workflow-calibration-monitoring Calibration (time-of-flight) A. Puckett, PhD Dissertation, 2010

hcana engine simc overview-workflow-calibration-monitoring Drift Chamber Time-to-Distance Calibration V. Tvaskis, PhD Dissertation

Calibration (electron PID) hcana engine simc overview-workflow-calibration-monitoring Calibration (electron PID) Cerenkov: Gain match PMTs Check position dependence of response Calorimeter Correct attenuation along blocks Gain match individual blocks with clean e- samples at multiple (S)HMS momenta Match left, right PMTs Identify e- inefficiency and pion contamination, using combination of Cerenkov and calorimeter cuts J. Arrington

Calibration (hadron PID) hcana engine simc overview-workflow-calibration-monitoring Calibration (hadron PID) Aerogel Gain match PMTs Velocity vs. Aerogel Separate pions (and e+) from heavier e-h coincidence time Separate p/K/p… Velocity vs. dE/dx Separate p/p/d at lower momentum G.N.

hcana engine simc overview-workflow-calibration-monitoring Same version for on/offline replay Replay Strategy: reconstruct events, dump info in histograms, ntuples, text files Variety of monitoring tools to help users assess the quality of the data and/or identify problems

hcana engine simc overview-workflow-calibration-monitoring Hardware ADCs, TDCs Decoding Calibration Self-Consistency Software Tracking PID Fp recon. Target recon. Coincidence Consistency Run-2-run fp, tar make sense? PIDs make sense?

hcana engine simc overview-workflow-calibration-monitoring Same HMS hodoscope raw ADC & TDC hits as b4 Done in hcana!

hcana engine simc overview-workflow-calibration-monitoring Optics

Fast Physics Monte Carlo: SIMC hcana engine simc overview-workflow-calibration-monitoring Fast Physics Monte Carlo: SIMC Standard Hall C (or A!) MC for coincidence reactions HMS/SOS/HRS/SHMS optics models (COSY) Aperture checks, detector FID cuts yield acceptance Detailed implementation of radiative corrections, multiple scattering, ionization energy loss, particle decay Simple prescriptions for some FSIs, Coulomb corrections Reactions implemented: Elastic and quasielastic H(e,e’p), A(e,e’p) Exclusive pion and kaon production H(e,e’p+)n, A(e,e’p+/-) [quasifree or coherent] H(e,e’K+)L,S, A(e,e’K+/-) [quasifree or coherent] H(e,e’p+/-)X, D(e,e’p+/-)X [semi-inclusive] H(e,e’K+/-)X, D(e,e’K+/-)X [semi-inclusive] H(e,e’rp+p-)p, D(e,e’rp+p-) [diffractive r]

Fast Physics Monte Carlo: SIMC hcana engine simc overview-workflow-calibration-monitoring Fast Physics Monte Carlo: SIMC SIMC is NOT a full detector response simulation a la GEANT Detectors implemented via impact on acceptance Efficiency corrections (generally) applied to data SIMC does NOT simulate a large class of processes simultaneously to generate backgrounds (e.g. like Pythia) SIMC is NOT a generic event generator: Processes generated over a limited phase space, based on fully populating spectrometer acceptances SIMC is NOT hard to modify Many non-standard or experiment-specific tests can easily be performed based on simulated information

SHMS simulation in SIMC hcana engine simc overview-workflow-calibration-monitoring SHMS simulation in SIMC S1 S2 T. Horn, Jlab/CUA

Data vs. SIMC Hydrogen elastic: Radiative correction + fit to form factors as input NO other free parameters!

Data vs. SIMC L S0 p(e,e’K+)Y d(e,e’K+)Y Kaon electroproduction: Hydrogen hyperon cross section model + 2H (also 3,4He) spectral functions + FSI + Kaon decay + RC + Norm. Factor for L, S peaks p(e,e’K+)Y d(e,e’K+)Y L S0

Pion electroproduction Examining decay-at-target events

hcana engine simc overview-workflow-calibration-monitoring Documentation Continuously “in-progress”/improving Moving to C++/ROOT will help (doxygen, etc.) Hall C users/staff actively maintain electronic/online resources (wiki, DocDb, elog, newsletter, etc.) Provide the “Why?”, not only the “How?” Hall C wiki (general Hall C entry point) Hall C 12 GeV Software wiki Hall C software documentation Hall C PhD Theses

hcana engine simc overview-workflow-calibration-monitoring Summary/Outlook Hall C ROOT/C++ analyzer (hcana) Hall C Fortran/F77 analyzer (engine) Analysis algorithms (tracking, pid, etc.) Workflow/Calibration/Monitoring Hall C Simulation (simc) Summary/Outlook

Back-up Back-up from here on

CMOP

COSY matrix element optimization .

COSY matrix element optimization . A. Puckett, PhD Dissertation

COSY matrix element optimization . V. Tvaskis, PhD Dissertation

COSY matrix element optimization . Mean xptar +/- RMS diff (mrad) ztar (cm) Mean yptar +/- RMS diff (mrad) A. Puckett, PhD Dissertation ztar (cm)

SIMC Overview [probably backup] Initialization Choose reaction, final state (if appropriate) Disable/enable implementation of (or correction for) raster, eloss … Event generation Select vertex based on target size, position, raster size, beam spot size Determine energy, angle generation that will populate 100% of the acceptance (accounting for radiation, energy loss, …) Physics Processes Event-by-event multiple scattering, radiative corrections, particle decay, coulomb corrections

Overview [probably backup] Acceptance Can apply geometric cuts or spectrometer model. Default spec. models include target/spec. offsets, model of magnetic elements, apertures at front, back, middle of magnets, collimators, detector active area Event Reconstruction Tracks are fitted in the focal plane and reconstructed to the target. Apply average energy loss, fast raster corrections (consistent with data analysis). Calculate physics quantities for Ntuple.

Beyond single event reconstruction Internal efficiency calculations (detector, tracking…) Experiment-specific modifications (e.g. tracking efficiency vs. particle type, high-background data, singles vs. (rare) coincidences) Scalar analysis Defaults Time charts (dump of E/x/y vs. t) beam on/off Diagnostics raw detector dumps online monitoring Calibrations Internal (including continuous) Data dump for external calibrations

Beyond single event reconstruction Corrections (beam drift, FR, special[coin/cer block...]) Cuts, normalized yields in arbitrary bins. Simulation: ratio method, include all ‘physics’ event-by-event, apply global corrections (mean eloss) as in analyzer At present, Engine has robust default estimates for efficiencies, calibrations, etc… with options for specific conditions (or user-provided experiment-specific changes). New framework: may want multiple (or selectable) versions to allow simpler selection of optimized approach. Fortunately this capability already exists in PODD.

Calibration (electron PID)

Calibration (electron PID) Cerenkov: Gain match PMTs Check position dependence of response Calorimeter Correct attenuation along blocks Gain match individual blocks with clean e- samples at multiple (S)HMS momenta Match left, right PMTs Identify e- inefficiency and pion contamination, using combination of cerenkov and calorimeter cuts e e p

Drift Chamber Calibration V. Tvaskis, PhD Dissertation Drift Chamber Time-to-Distance Calibration

Drift Chamber Calibration A. Puckett, PhD Dissertation

HMS scintillator calibration A. Puckett, PhD Dissertation

hcana engine simc overview-workflow-calibration-monitoring Time to distance calibration

hcana engine simc overview-workflow-calibration-monitoring Drift chamber wire maps