FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version: 2010-11-24.

Slides:



Advertisements
Similar presentations
Review on initial conditions that allow for a successful description of the RHIC data on spectra, V2, (as)HBT, etc… Tom Humanic Ohio State University WPCF.
Advertisements

First look at mass constraint [How simple can it be?] Two decays: i) pi 0 -> g g ii) K 0 -> pi+ pi- - Mother particle momenta: P = 1, 2, 4, 8, 16 GeV -
Quark Compositeness Search with γ +Jet Final State at the LHC Satyaki Bhattacharya, Sushil S. Chauhan, Brajesh Choudhary, Debajyoti Choudhury Department.
Strangeness analysis in ALICE o genuine p+p physics o PbPb physics o analysis status, studies in PPR2 o prospects K0s and hyperons Ludovic Gaudichet, INFN.
1 Reconstruction of Non-Prompt Tracks Using a Standalone Barrel Tracking Algorithm.
1 In the meantime Varied p T cut (1.5 GeV, 1 GeV, 500 MeV) 2. Allowed for events with 2 good tracks only (+  ), originally 4 good tracks where required,
Muon Identification Antoine Cazes Laboratoire de l’ Accelerateur Lineaire OPERA Collaboration Meeting in Frascatti Physics coordination meeting. October.
Introduction to Analysis Example tutorial D. Greenwood For P. Skubic 8/21-22/20141ASP2014 Grid School.
Simulation of Z->jets in CMS Outline –Introduction –Technique –Results –Conclusion.
Alessandro Fois Detection of  particles in B meson decay.
1 N. Davidson E/p single hadron energy scale check with minimum bias events Jet Note 8 Meeting 15 th May 2007.
1 Vertex fitting Zeus student seminar May 9, 2003 Erik Maddox NIKHEF/UvA.
Event Generators Norman Graf (SLAC) May 20, 2003 May 20, 2003.
B-Production in PYTHIA Nick Brook University of Bristol Review of current use Review of current use Comparisons Comparisons B-asymmetries B-asymmetries.
Final state study Jaewon Park University of Rochester MINERvA/Jupiter Group Meeting, Jan 31, 2007.
1 W’  tb  lnubb: the first read. 2 introduction sample: W’  tb  lnubb generator: PYTHIA number of events: 5000 will only use events in the good run.
A simulation study of the rapidity distributions of leptons from W boson decays at ATLAS Laura Gilbert.
Study of the semileptonic decays at 4170 MeV Koloina Randrianarivony Marina Artuso (Syracuse University)
Analysis Meeting – April 17 '07 Status and plan update for single hadron scale check with minimum bias events N. Davidson.
My work PAST WORKS: 1) (Madrid) Data Analysis in L3, LEP: - Measurement of the Mass, Width and Cross Section of the W boson production at LEP, Study.
Jet Reconstruction and Calibration in Athena US ATLAS Software Workshop BNL, 27/08/03 Ambreesh Gupta, for the JetRec Group University of Chicago Outline:
CDF Joint Physics Group June 27, 2003 Rick FieldPage 1 PYTHIA Tune A versus Run 2 Data  Compare PYTHIA Tune A with Run 2 data on the “underlying event”.
LCWS 2004, ParisSonja Hillert, University of Oxfordp. 1 Flavour tagging performance analysis for vertex detectors LCWS 2004, Paris Sonja Hillert (Oxford)
2004 Xmas MeetingSarah Allwood WW Scattering at ATLAS.
Matching between charged tracks and electromagnetic calorimeter (EMCAL) clusters in ALICE Alberto Pulvirenti University & INFN Catania ACAT 2007 Conference.
Event Generator Event Generators Information needed Event Generator Information Event Kinematic Information Generated Event Structure – generated particles.
Olivier RavatLes Houches/June 3rd Higgs associated production at LHC : Thecase Olivier Ravat, Morgan Lethuillier IPN Lyon Les Houches 2003 : Physics.
Sayfa 1 May 2012 Sheffield. Sayfa 2 Content 1.Introduction 2.Particle Reconstruction 3.Mass Constraint 4.Iterative Methods for the Mass Constraint 5.Non-Iterative.
Z boson mass reconstruction Caroline Steiblin Prof. Al Goshaw Dr. Andrea Bocci Duke University 1.
Preliminary analysis of p-Pb data update n. 6 Lorenzo Bonechi LHCf Catania meeting – 19 December 2013.
1 Scan of DCA resolution - run 7 MinBias Production2 Issues Improvement for DCA resolution estimation : Dependence with η Dependence with particle Id.
4 th International Workshop on VHMP, Alushta 2 June 2003 Carmine Elvezio Pagliarone A j u m p i n t o t h e F u t u r e !
LHCb production experience with Geant4 LCG Applications Area Meeting October F.Ranjard/ CERN.
Fermilab Energy Scaling Workshop April 29, 2009 Rick Field – Florida/CDF/CMSPage 1 1 st Workshop on Energy Scaling in Hadron-Hadron Collisions Rick Field.
Java Physics Generator and Analysis Modules Mike Ronan LBNL (presented by Tony Johnson)
C2CR07-Lake Tahoe February 28, 2007 Rick Field – Florida/CDFPage 1 C2CR07 Rick Field University of Florida (for the CDF Collaboration) CDF Run 2 Min-Bias.
Update on Diffractive Dijet Production Search Hardeep Bansil University of Birmingham Birmingham ATLAS Weekly Meeting 13/09/2012.
05/04/06Predrag Krstonosic - Cambridge True particle flow and performance of recent particle flow algorithms.
ArXiv: v1 Shuichi KUNORI Bayram TALI UPDATE MonoJet Weekly Meeting 23/06/2013 Inelastic Dark Matter Analysis.
STAR STAR MC Filter V. Perevoztchikov Brookhaven National Laboratory,USA.
Roberto Barbera (Alberto Pulvirenti) University of Catania and INFN ACAT 2003 – Tsukuba – Combined tracking in the ALICE detector.
D 0 reconstruction: 15 AGeV – 25 AGeV – 35 AGeV M.Deveaux, C.Dritsa, F.Rami IPHC Strasbourg / GSI Darmstadt Outline Motivation Simulation Tools Results.
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
Using Track based missing Et tools to reject fake MET background Muhammad Firdaus Mohd Soberi UMichigan-CERN Semester Program Thursday, 12 th February.
Electron physics object tutorial C. Charlot / LLR Automn08 tutorials, 14 oct
A. Pulvirenti - Resonances measurement in pp and PbPb with ALICE 1 Outline The Study of Short-Lived Resonances with the ALICE Experiment at the LHC Ayben.
Jet reconstruction with Deterministic Annealing Davide Perrino Dipartimento di Fisica – INFN di Bari Terzo Convegno Nazionale sulla Fisica di Alice – 13/11/2007.
FRANCESCO NOFERINI (INFN CNAF – INFN BOLOGNA) 08/12/2009 ALICE TOF - general meeting - F. Noferini - GRID and resonances GRID and  analysis in pp 1.
A. SarratILC TPC meeting, DESY, 15/02/06 Simulation Of a TPC For T2K Near Detector Using Geant 4 Antony Sarrat CEA Saclay, Dapnia.
Study of Charged Hadrons in Au-Au Collisions at with the PHENIX Time Expansion Chamber Dmitri Kotchetkov for the PHENIX Collaboration Department of Physics,
Search for a 4 th generation t’ quark in p-p collision at ATLAS -Suyog Shrestha, Iowa State University.
Introduction to FCC Software FCC Istanbul 11 March, 2016 Alice Robson (CERN/UNIGE) on behalf of / with thanks to the FCC software group.
Photon Reconstruction Efficiencies in Higgs → γγ Events Neil Cooper-Smith RHUL ATLAS UK Higgs Meeting - Durham 11/01/07.
September , HEP meeting ICN-UNAM Quality Assurance for High pT Tracks at ALICE Pedro Podesta ICN UNAM.
The Generator Phase in Gauss
W – boson Helicity of top quark decay
M. Kuhn, P. Hopchev, M. Ferro-Luzzi
Measurement of track length and time-of-flight hypothesis
T2 Jet Reconstruction Studies
Individual Particle Reconstruction
Linear Collider Simulation Tools
The “Underlying Event” in Run 2 (CDF)
Reddy Pratap Gandrajula (University of Iowa) on behalf of CMS
Modeling Min-Bias and Pile-Up University of Oregon February 24, 2009
Chapter V Linear Momentum
USCMS Hans Wenzel and Nick Leioatts
Prospects for quarkonium studies at LHCb
XXXIV International Meeting on Fundamental Physics
Linear Collider Simulation Tools
Gluon Gluon to jpsi jpsi
Presentation transcript:

FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:

What’s new? As of 06/11/2010 Add truth vertex vectors vx[], vy[], vz[] myNewParticle() now includes a list id (see later) The path is now /home/hep/fawp/ As of 10/11/2010: Vector mid[] is now renamed as mtrk[] It is the mother’s track number. id in Pythia is the pdg! Added vectors mmtrk[] and mmpdg[] The mother’s mother track number and pdg. As of 22/11/2010: A track’s properties is now a struct! This changes how you access a variable (see later). What you need to do: * Replace your copy of fawp.h and fawp.cpp/cc with the new version. * Replace your copy of data files with the new ones! * Fix your code for the path, myNewParticle() and mtrk[] changes.

Introduction FAWP provides a fast environment for looping over Pythia final state objects. With FAWP we can: - Investigate basic properties of LHC collisions - Study basic analysis techniques - Develop analysis techniques - Investigating event rates and perform trial analyses.

FAWP data files [Pythia] FAWP data files are generated using the Pythia event generator. FAWP algorithms run on data files, i.e. FAWP does not run Pythia, hence FAWP is very fast. Currently one file is available: minbias_10M_S dat (6.5 GB) 10 million minimum-bias events p-p collisions at 7 TeV center of mass. (other event types can be added where required) pythia.init( 2212, 2212, ); pythia.readString("SoftQCD:minBias = on"); pythia.readString("Random:setSeed = on"); pythia.readString("Random:seed = ");

Data file - particle selection [Pythia] FAWP data files contain final state charged tracks and photons subject to the following cuts (designed to reduce file size): - pseudo-rapidity range |  | < charged transverse momentum > 1 GeV/c - photon energy > 1 GeV if ( pythia.event[i].isFinal() && abs(pythia.event[i].eta()) < 2.5 && ( ( pythia.event[i].isCharged() && pythia.event[i].pT()>1.0 ) || ( pythia.event[i].id() == 22 && pythia.event[i].e() >1.0 ) ) ) { write the particle information } Too hard?

Particle information [Pythia] The data file contains only generator-level information, one particle per line: pythia.event[i].px() Particle pythia.event[i].py() three- pythia.event[i].pz() momentum (GeV) pythia.event[i].id() Pdg code pythia.event[i].mother1() Mother track number pythia.event[pythia.event[i].mother1()].id() and pdg code and again for the mother of the mother. pythia.event[i].charge() Particle charge (e) pythia.event[i].xProd() Particle pythia.event[i].yProd() production pythia.event[i].zProd() vertex (mm)

Particle information (reconstructed level) After FAWP reads generator-level information from the data file, reconstructed-level information is constructed by applying a very simple model of the ATLAS detector resolution effects (see smearTrack.h ): For charged tracks, transverse momentum (GeV/c) is Gaussian smeared with  pT given by:  pT / pT = 0.05% pT  1% For photons, energy (GeV) is Gaussian smeared with  E given by :  E / E = 10% / E 1/2  1% Vertex resolution is not implemented yet!

FAWP particle vectors Particle information is stored in a vector: vector tracks; An event of particles can be looped over as follows: for (int i=0; i<nTracks; i++) { } The i ’th particle of vector tracks has the following information: tracks[i].tpx Truth-level x-momenta ( double ) tracks[i].tpy Truth-level y-momenta ( double ) tracks[i].tpz Truth-level z-momenta ( double ) tracks[i].px Reconstructed-level x-momenta ( double ) tracks[i].py Reconstructed-level y-momenta ( double ) tracks[i].pz Reconstructed-level z-momenta ( double ) tracks[i].tvx Truth-level x-vertex ( double ) tracks[i].tvy Truth-level y-vertex ( double ) tracks[i].tvz Truth-level z-vertex ( double ) tracks[i].chg Charge ( int ) tracks[i].pdg Pdg code ( int ) tracks[i].mtrk Mother track number ( int ) tracks[i].mpdg Mother pdg code ( int ) tracks[i].mmtrk Mother’s mother track number ( int ) tracks[i].mmpdg Mother’s mother pdg code ( int ) tracks[i].flag User flag [initially zero] ( int )

FAWP program structure FAWP is maintained on gul3.bim.gantep.edu.tr You can install it elsewhere by recreating the include directory: /home/hep/fawp/include/ fawp.h fawpStd.h randFlat.h randGauss.h smearTrack.h stdB.h You can take the main program from /home/hep/fawp/common/ compile-root For compiling fawp with root fawp.cc Example fawp with root fawp.cpp Example fawp without root You also need some data (maybe a subset of this): /home/hep/fawp/data/ minbias_10M_S dat

// fawp.cpp #include "/home/hep/fawp/include/fawp.h" using namespace fawp; int main() { openData(1); while (true) { getEvent(1000); if (eof) break; // EOF for (int i=0; i<nTracks; i++) { cout << tracks[i].tpx << endl; } // track loop } // event loop closeData(); } Basic structure of a FAWP program The data file is opened for reading. Event vectors are filled. (we request 1000 events here) Tracks are looped over, track vectors are processed. Not necessary, but you get some statistics

Other FAWP functions void myNewParticle( int myid, double mypx, double mypy, double mypz, int myflag=0, double mytpx=0.0, double mytpy=0.0, double mytpz=0.0 ) Use the myNewParticle() function to create lists of new derived particles. - myid (0 to 9) is used to identify the group that your derived particle belongs to (e.g. a list of  0 s or D 0 s), this allows you to separately loop over different derived particle lists, and to create new particle lists while looping over a derived particle list. - A new (derived) particle has no pdg value or mother, charge and vertex. - The particle reconstructed 3-momenta should be given as parameters. - The user flag, and truth 3-momenta are optional and default to zero. - All FAWP functions work on derived particles created with myNewParticle() including derived particles derived from derived particles... The simplest form is myNewParticle(myid, mypx, mypy, mypz); To loop over your new particles in an event use the following loop structure: for (int i=myBegin[myid]; i<myEnd[myid]; i++) { } Note that if you wish to create a second derived particle list while looping over a first derived particle loop list then the second list myid must be greater than that of the first.

Q functions (work with track numbers) double Qp(int i) reconstructed momentum scaler for particle i double Qtp(int i) truth momentum scaler for particle i double QpT(int i) reconstructed transverse momentum scaler for particle i double QtpT(int i) truth transverse momentum scaler for particle i double Qeta(int i) reconstructed pseudo-rapidity for particle i double Qteta(int i) truth pseudo-rapidity for particle i double QtL(int i) truth vertex transverse distance from (vx=0,vy=0) for particle i double QtdL(int i, inj j) truth vertex transverse distance between particle i and j double Qm2(int i1, int i2, double m1=m_pi, double m2=m_pi) reconstructed invariant mass of particles i1 and i2. double Qtm2(int i1, int i2, double m1=m_pi, double m2=m_pi) truth invariant mass of particles i1 and i2. The third and fourth parameters are the hypotheses for the masses of particles i1 and i2 respectively; the default is m_pi. double Qm3(int i1, int i2, int i3, double m1=m_pi, double m2=m_pi, double m3=m_pi) double Qtm3(int i1, int i2, int i3, double m1=m_pi, double m2=m_pi, double m3=m_pi) as for Qm2 and Qtm2 but for three particles.

namespace fawpstd namespace fawpstd { inline double pow2(const double& x) {return x*x;} // particle properties directly from Pythia. // Masses are in GeV, mean lifelength in mm. const int id_e = 11; const double m_e = ; const int id_mu = 13; const double m_mu = , ct_mu = e+03; const int id_pi = 211; const double m_pi = , ct_pi = e+03; and so on for k, p, bs0, jpsi, phi,.... (you can request more to be added) }

// form pi0 candidates for ( i=0; i<nTracks-1; i++ ) { if ( track[i].chg==0 ) { for ( j=i+1; j<nTracks; j++ ) { if ( track[j].chg==0 ) { double qm2 = Qm2(i,j,0.0,0.0); h1->Fill( qm2 ); if ( qm2>0.110 && qm2<0.160 ) myNewParticle(0,pxi+pxj, pyi+pyj, pzi+pzj); }} for ( i=0; i<nTracks; i++ ) { if ( track[i].chg>0 ) { for ( j=0; j<nTracks; j++ ) { if ( track[j].chg<0 ) { for ( k=myBegin[0]; k<myEnd[0]; k++ ) h2->Fill( Qm3(i,j,k,m_pi,m_pi,0.135) ); }} h1 h2 END Example - Plot the invariant mass of the decay X ->  +  -  o pyi=tracks[i].py