Namespace Smear {…} Michael Savastio. Tree Format Original Tree Event KS=1 Particles E,p,theta,phi KS!=1 Particles Smeared Tree EventS particlesS E,p,theta,phi.

Slides:



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

FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:
Ozgur Ates Hampton University HUGS 2009-JLAB TREK Experiment “Tracking and Baseline Design”
PHENIX Decadal Plan o Midterm upgrades until 2015 o Long term evolution after 2015 Dynamical origins of spin- dependent interactions New probes of longitudinal.
1 Reconstruction of Non-Prompt Tracks Using a Standalone Barrel Tracking Algorithm.
Ricardo GoncaloZEUS Week - London June Neutral Current 99/00 e + p Analysis Status Ken Long Matthias Moritz Henning Scnurbusch Ricardo Gonçalo Thanks.
Search for Θ + Pentaquark by looking at missing mass spectrum in reaction γ * D Λ(1520)X in HERMES data Grigor Aslanyan Yerevan State University September.
Tracking Efficiency and Momentum Resolution Analysis Chris Meyer UCSC ILC Simulation Reconstruction Meeting March 13, 2007.
A Comparison of Three-jet Events in p Collisions to Predictions from a NLO QCD Calculation Sally Seidel QCD’04 July 2004.
SIMULATION STUDIES AT SANTA CRUZ Bruce Schumm University of California at Santa Cruz ALCPG Workshop, Vancouver July 19-22, 2006 Special Recognition: Eric.
The LiC Detector Toy M. Valentan, M. Regler, R. Frühwirth Austrian Academy of Sciences Institute of High Energy Physics, Vienna InputSimulation ReconstructionOutput.
The Design of a Detector for the Electron Relativistic Heavy Ion Collider Anders Ingo Kirleis 1, William Foreman 1, Elke-Caroline Aschenauer 2, and Matthew.
1 News from eRHIC Matt Lamont, Thomas Ullrich, William Foreman, Anders Kirleis, Michael Savastio, Elke Aschenauer and the CAD-eRHIC Team E.C. AschenauerEIC-Convener.
Software Overview David Lawrence, JLab Oct. 26, 2007 David Lawrence, JLab Oct. 26, 2007.
The Normal Distribution Chapter 3 College of Education and Health Professions.
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.
SoLID simulation Zhiwen Zhao Uva SoLID Collaboration Meeting 2011/6/2 1.
Event generator comparison Zhiwen Zhao 2013/12/03 original 2014/02/12 update 2014/11/04 update.
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.
August, 7ILC1 Kudzanayi Munetsi-Mugomba supervised by Dr. Caroline Milstene Software Infrastructure for the Charged Particles Reconstruction at the International.
Victor Ryabov (PNPI) for the PHENIX Collaboration QM2005 Budapest Aug,06, First measurement of the  - meson production with PHENIX experiment at.
Simulation and Analysis of VTX03 and Upgrades to LASS Ryan Page.
EIC Monte Carlo and the Question of Jets Joseph Seele University of Colorado at Boulder Second Electron-Ion Collider Workshop -
Beam MC activity A.K.Ichikawa for beam group For more details,
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
Anders Kirleis Stony Brook University The Design Of A Detector For The Electron Ion Collider.
ILC-ECFA Workshop Valencia November 2006 Four-fermion processes as a background in the ILC luminosity calorimeter for the FCAL Collaboration I. Božović-Jelisavčić,
Programming with Java © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 1 McGraw-Hill/Irwin Chapter 5 Creating Classes.
V.Petracek TU Prague, UNI Heidelberg GSI Detection of D +/- hadronic 3-body decays in the CBM experiment ● D +/- K  B. R. 
Jin Huang BNL.  GEANT4 customary code  PHENIX simulation/analysis  EICROOT by EIC taskforce at BNL (learning) RICH Discussions J. Huang 2.
E.C. AschenauerFebruary Inclusive Structure functions in eA or why momentum resolutions are important E.C. Aschenauer February How to extract.
CBM ECAL simulation status Prokudin Mikhail ITEP.
PFA on sidloi3: update Ron Cassell 4/27/10. 2 Proposed changes Calibration Tracking Extrapolation Subcluster finding Muon finding Structure.
Software offline tutorial, CERN, Dec 7 th Electrons and photons in ATHENA Frédéric DERUE – LPNHE Paris ATLAS offline software tutorial Detectors.
ESTAR Upgrade Ming Shao USTC. eRHIC – the future of RHIC STAR Regional Meeting, Weihai, /24/2012.
E.C. AschenauerEIC INT Program, Seattle Week 51.
Search for High-Mass Resonances in e + e - Jia Liu Madelyne Greene, Lana Muniz, Jane Nachtman Goal for the summer Searching for new particle Z’ --- a massive.
Beam-Beam interaction SIMulation: GUINEA-PIG C. Rimbault, LAL Orsay CARE 05, Geneva, November 2005.
07/24/07 Francisco Carrion OPTIMIZING THE TRACK DETECTOR Francisco Javier Carrión Ruiz Mentor: Hans Wenzel 07/08/09 SID CONCEPT FOR THE INTERNATIONAL LINEAR.
SoLID Background Update Zhiwen Zhao UVa 2013/11/08 1.
Detector Here, we will only discuss a multi-purpose high-luminosity ep detector, not a dedicated lower-luminosity ep/eA detector as.
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
1 Jets in PHENIX Jiangyong Jia, Columbia Univerisity How to measure jet properties using two particle correlation method (In PHENIX)? Discuss formula for.
LDRD (1)Calculation Code is given by M. Dec/02 Dec.11, 2013 K. Park 1 (1)Discussion with Christian to understand physics variable in the code.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Abstract Deep inelastic scattering (DIS) and diffractive scattering are used to probe the internal structure of hadrons in accelerator physics. During.
1 DIS 2007, Munich, April 19, 2007 Aram Kotzinian Beyond Collins and Sivers: further measurements of the target transverse spin-dependent azimuthal asymmetries.
Hadron production in C+C at 2 A GeV measured by the HADES spectrometer Nov02 gen3 analysis and results for spline tracks (shown in Dubna) changes - removing.
Stephen Wood, Jlab FNAL, March 14, 2003 Neutrino/Electron scattering comparison Similarities and differences between electron on neutrino scattering Comparing.
1 Exotic States 2005 E.C. Aschenauer The search for Pentaquarks at on behalf of the HERMES Collaboration E.C. Aschenauer DESY.
Some thoughts to stimulate Discussion E.C. Stony Brook, January
FCAL Krakow meeting, 6. May LumiCal concept including the tracker R. Ingbir, P.Růžička, V. Vrba.
Progress on Simulation Software Hai-Ping Peng(USTC) Xiao-Shuai Qin(IHEP) Xiao-Rong Zhou(USTC) Yu Hu(IHEP) 2014 STC Workshop (ITP) Hai-Ping Peng.
Feasibility studies for DVCS and first results on exclusive  at COMPASS DVCS studies Physics impact Experimental issues Recoil detector prototype Exclusive.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
David Lange Lawrence Livermore National Laboratory
Radiative Corrections for Heavy Nuclei
Jin Huang Los Alamos National Lab
Testbeam comparisons arXiv:
Charged Particle Multiplicity in DIS
The LHC collider in Geneva
Charged Particle Multiplicity in DIS
JLEIC Detector Simulation Forward Ion Detection
New Results for Transverse Spin Effects at COMPASS
Mokka vs. LCDG4 Comparison
Charged Particle Multiplicity in DIS
Backgrounds using v7 Mask in 9 Si Layers at a Muon Higgs Factory
Physics event timing Use Pythia to generate hadronic decays at 125 GeV
EIC SOFTWARE TOOLS AND NEEDS
Presentation transcript:

namespace Smear {…} Michael Savastio

Tree Format Original Tree Event KS=1 Particles E,p,theta,phi KS!=1 Particles Smeared Tree EventS particlesS E,p,theta,phi NULL* 1 to 1 Currently ParticleS stores E, p, theta, phi, pz, pT ONLY!

The Device Class Smears exactly 1 particle-wise variable (E,p,theta,phi,pz,pT) using up to 2 of these variables to parametrize the smearing. Each device has it’s own “acceptance” in (E,p,theta,phi) space. Theta P P E E p p p p E E phi IP Particles passing through here will have smeared p and theta Particles passing through here will have smeared E only These particles will be smeared only by “innermost” (last added) device EventS Will output only 1 EventS with only 1 instance of each particle.

Building a “Detector” (1) Device EMCal_front; EMCal_front.SetGenre(1); //this detects photons/leptons EMCal_front.SetSmearedKinematics(kE); //set kinematics to be smeared by device EMCal_front.SetParametrization("0.18*sqrt(E)"); //set parametrization EMCal_front.Accept.SetTheta(0.,pi/4.); //set acceptance in theta //similarly, you can do SetAcceptPhi(min,max), SetAcceptE(min,max) and SetAcceptP(min,max) Device EMCal_back; EMCal_back.SetGenre(1); EMCal_back.SetSmearedKinematics(kE); EMCal_back.SetParametrization("0.25*sqrt(E)"); EMCal_back.Accept.SetTheta(3.*pi/4.,pi); //set acceptance in theta Device HCal; HCal.SetGenre(2); //this detects hadrons HCal.SetSmearedKinematics(kE); HCal.SetParametrization("0.35*sqrt(E)");

Building a “Detector” (2) Device ThetaD; //by default devices don't care whether hadron/lepton/gauge boson ThetaD.SetSmearedKinematics(kTheta); ThetaD.SetParametrization(”sqrt(9.e-8+pow(9.e-4/P,2))/sqrt(sin(theta))"); //can use 2d parametrizations Device Tracker; Tracker.SetSmearedKinematics(kP); Tracker.SetParametrization("0.0085*P *P*P"); Detector Test; Test.AddDevice(EMCal_front); //add the EMCal to the detector Test.AddDevice(EMCal_back); Test.AddDevice(HCal); Test.AddDevice(ThetaD); Test.AddDevice(Tracker); Test.SetPID(true); //turn on PID (still limited but works!) Test.SetEventKinematicsCalculator("NM JB DA"); //set how to calculate event kinematcs. Can use scattered electron (null momentum approximation NM), Jacquet-Blondel or Double Angle. Now in root: gSystem->Load(“BuildTree.so”);.L MyDetector.cxx SmearTree(MyDetector(),”filename”) To view in interpreter, for example: TTree t; t.AddFriend(“EICTree”,”originaltree.root”) t.AddFriend(“Smeared”,”smearedtree.smear.root”) t.Draw(“EICTree.x:Smeared.x”,”EICTree.QSquared>10”)

Currently Available Smear::Detector Setups ZEUS EMCal "0.18*sqrt(E)" HCal "0.35*sqrt(E)" Tracking "0.0085*p *p*p" Polar Angle "0.0005*p+0.003" STAR EMCal "0.015*E+0.14*sqrt(E)" Tracking "0.005*p+0.004*p*p" Polar Angle "sqrt(0.0003* (0.0009/p,2)^2)/sqrt(sin(θ))" All with default 4*pi acceptance.

E ZEUS STAR Pythia 20x250

p ZEUS STAR Pythia 20x250

θ ZEUS STAR Pythia 20x250

Event-Wise Kinematics ZEUSSTAR Methods Available: NM (using scattered electron in the Null Momentum approximation) JB (Jacquet-Blondel, using hadronic system) DA (Double Angle, using hadronic system) Pythia 20x250

Particle ID p+ K+ K- unidentified π+π+ π-π- PID not Generated: Momentum outside range of validity Based on HERMES RICH P-matrices (shown on grid above)

TO DO Thoroughly test event-wise kinematics (NM, JB and DA). Determine appropriate phase space cuts. Fix anomalous (but very minor) stability issues. These may be CINT memory management issues. Overhaul PID to be far more flexible. Currently based on HERMES RICH format. Software-wise, this is the most labor intensive remaining task. Improvements and testing for exception handling (especially with limited acceptance). Make more educated decisions about default conventions. Gather parametrizations (help welcome!). Electron bremsstrahlung

UPDATE Event Kinematics are fixed, all methods now work reliably (using scattered electron, or hadronic system). Improved exception handling, especially for event kinematics. Particle ID has been completely rewritten and is now much more versatile. Specialized “Devices” (tracking, calorimetry). Arbitrary acceptance cuts. Acceptance of specific particles. Smearing of arbitrary functions of particle kinematics. Many improvements to make scripting simpler.

Building a “Detector” (Update,1) EMCalorimeter EMCal(0.18); EMCal.Accept.SetTheta(0.,pi/4.); //set acceptance in theta EMCal.Accept.AddZone(); EMCal.Accept.SetTheta(3.*pi/4.,pi,1); //similarly, you can do Accept.SetPhi(min,max), Accept.SetE(min,max) and Accept.SetP(min,max) HCalorimeter HCal(0.35); //this has parametrization “0.35*sqrt(E)” Device ThetaD(kTheta,”sqrt(9.e-8+pow(9.e-4/P,2))/sqrt(sin(theta))”); Device Tracking(kP,”0.001*P+0.001*P*P”); ParticleID Ident(“Pmatrixfile.dat”); Ident.GetAcceptanceFromDevice(EMCal); //ParticleID is now declared like a device, and has its own acceptance. You can use arbitrarily many. Detector Example; Example = Example << EMCal << HCal << ThetaD << Tracking << Ident; Example = Example << “NM JB DA”; //use all 3 event methods

Some New Features Devious Arbitrary(“1./P”,”0.0085*P *P*P”); //the Devious class allows you to smear a function of kinematics. This smears 1/p Arbitrary.Accept.SetPt(0.,50.); //this cut requires p_{T}\in[0,50] GeV Arbitrary.Accept.AddCustomAcceptance(“P*sin(theta)”,0.,50.); //equivalent to the above Arbitrary.Accept.AddParticle(321); //now this accepts K^+ ONLY Arbitrary.Accept.AddParticle(-321); //now it accepts K^+ and K^- only Tracker Track; Track.SetRadii(0.01,3.); //this is a tracker with inner radius 1cm, outer radius 3m Track.SetLength(6.); //and length 6m Track.SetDimensions(0.01,2.,6.); //this is equivalent to the above two lines Device CrazyExample(kE,”0.01*E”); CrazyExample.SetDistribution("pow(sin([1]*x+[0]),2)"); //smears according to arbitrary distribution. [0] is original value of E and [1] is given by parametrization. Example = Example << Arbitrary << Track; Now with extensive documentation:

Event Kinematics: Proof of Concept

x STAR 20x100

Q2Q2 STAR 20x100

Why it’s so screwed up STAR 20x100 Smearing goes as p 2

What Now? Where does Smearing end and GEANT begin? What can Smear be used for, what can it not be used for? From now on, code will be maintained by Thomas Burton.