22
James Cunha Wern er [email protected] Job Submission for Babar Analysis James Werner Resources: www.hep.man.ac.uk/u/jamwer

James Cunha [email protected] Job Submission for Babar Analysis James Werner Resources:

Embed Size (px)

Citation preview

James Cunha Werner [email protected]

Job Submission for Babar Analysis

James Werner

Resources: www.hep.man.ac.uk/u/jamwer

James Cunha Werner [email protected]

USER Resources

Reliable.Robust.Efficient.Optimal use of resources.Recover from fail conditions.Supply clear information about crashes.

The ideal Job Submission System is the one users do not know it exists !!!

James Cunha Werner [email protected]

Analysis Job Submission

James Cunha Werner [email protected]

Matching MC with experiment

18,700,000 events!

James Cunha Werner [email protected]

Analysis Submission to Grid • Single command: ./easygrid dataset_name• Perform Handlers management and submission• Software based in State-machine

– Verify skimdata available:• If not available perform BbkDatasetTCL to generate

skimData. Each file will be a job.

– Verify if there are handlers pending• If not, script generation (gera.c) with edg-job-submit and

ClassAdds, and script execution. Nest for submission policy and optimisation.

• If yes, verify job status. When the all jobs ended, recover results in user folder.

(Prototype)

James Cunha Werner [email protected]

Generation and submission

[jamwer@bfb babar]$ ./easygrid SP-1005-Tau11-R14

Invalid configuration filename: /opt/edg/etc/vomses Your identity:

/C=UK/O=eScience/OU=Manchester/L=HEP/CN=james wernerEnter GRID pass phrase for this identity: Creating temporary proxy .........................................................

Done Creating proxy .................................................... Done Searching pre selected skimdata. Searching previous handlers. Handlers not found. Submiting to GRID . Wait end of process...

James Cunha Werner [email protected]

Job Status

[jamwer@bfb babar]$ ./easygrid SP-1005-Tau11-R14

Invalid configuration filename: /opt/edg/etc/vomses Your identity: /C=UK/O=eScience/OU=Manchester/L=HEP/CN=james werner Enter GRID pass phrase for this identity: Creating temporary proxy ............................ Done Creating proxy ............................... Done Searching pre selected skimdata. Searching previous handlers. Checking if jobs finished.### Handle ->

https://lcgrb01.gridpp.rl.ac.uk:9000/foRHhWyeDBnbqA9JkDADLg Current Status: Scheduled https://lcgrb01.gridpp.rl.ac.uk:9000/foRHhWyeDBnbqA9JkDADLg still

pendent. ### Handle -> https://lxn1188.cern.ch:9000/8DdK3xruxtevNpei3zZbaA Current Status: Scheduled https://lxn1188.cern.ch:9000/8DdK3xruxtevNpei3zZbaA still pendent. 4 jobs did not finished ! Try again later.

James Cunha Werner [email protected]

Job Status and recovery

[jamwer@bfb babar]$ ./easygrid SP-1005-Tau11-R14

Invalid configuration filename: /opt/edg/etc/vomses Your identity: /C=UK/O=eScience/OU=Manchester/L=HEP/CN=james werner Enter GRID pass phrase for this identity: Creating temporary proxy .......................................... Done Creating proxy ........................................................... Done Searching pre selected skimdata. Searching previous handlers. Checking if jobs finished. ### Handle -> https://lcgrb01.gridpp.rl.ac.uk:9000/foRHhWyeDBnbqA9JkDADLg Current Status: Done Exit code: 0 ### Handle -> https://lxn1188.cern.ch:9000/8DdK3xruxtevNpei3zZbaA Current Status: Done Exit code: 0 0 jobs did not finished ! Try again later. All jobs done. Recovering results in your folder. Results in the following folders:

/home/jamwer/grid_sub/babar/jamwer_foRHhWyeDBnbqA9JkDADLg /home/jamwer/grid_sub/babar/jamwer_8DdK3xruxtevNpei3zZbaA

James Cunha Werner [email protected]

Event Reconstruction using Monte Carlo simulation

Obtain instable particles from combination of stables particles measured by Babar detector/MC.

Recursive algorithm, easy to use and recurrent.

The “background” effect due wrong combinations.

James Cunha Werner [email protected]

Combination 2 particles/gammas

Monte Carlo “Experiment”

James Cunha Werner [email protected]

Combination 3 particles/gammas

Monte Carlo “Experiment”

James Cunha Werner [email protected]

Combination 4 particles/gammas

Monte Carlo “Experiment”

James Cunha Werner [email protected]

Event Reconstruction from Experimental data

Pi0!

James Cunha Werner [email protected]

80,000,000 events !!!

Pi0

James Cunha Werner [email protected]

Why EMC does not works for Charged Particles???

It is difficult to discriminate Pions (>90% of particles) from Kaons in the

Electromagnetic Calorimeter.Why?

James Cunha Werner [email protected]

Energy x Momentum from MC data

Detector Transfer Function change mass hyperboles!

James Cunha Werner [email protected]

Only Pions

James Cunha Werner [email protected]

Only Kaons

James Cunha Werner [email protected]

Could Artificial Intelligence…

• Obtain a non-linear discriminate function able to classify kaons / pions?

• Recover “not good” events (80% of the Database)?

e.g. Tau11 80,000,000 events of 440,000,000.

James Cunha Werner [email protected]

James Cunha Werner [email protected]

Goals of Pi0-roject

• Develop elementary programs and generate the documentation for future students.

• Study Pi0 annihilation and quarks interaction.

• Quark energy spectroscopy from energy histogram.

James Cunha Werner [email protected]

My goals are…

• develop a submission system fail proof.• write web pages with all elementary tasks in

HEP/Babar, to help students and newbie.• Understand q-qbar interaction through Pi0.

I am looking for partners to study Pi-zeros from Tau decays.