stuff on mpc simulations for ken/matt

8
Stuff on MPC simulations for Ken/Matt R. Seto march 29

Upload: ofira

Post on 05-Jan-2016

28 views

Category:

Documents


2 download

DESCRIPTION

Stuff on MPC simulations for Ken/Matt. R. Seto march 29. eres. med ium. bad. good. define eres=(e_prim-clus_e)/e_prim. ebad. this one must reflect mickeys thrown x and y distribution. emed. egood. this shows the edges of the MPC. define fiducial as 12

TRANSCRIPT

Page 1: Stuff on MPC simulations for Ken/Matt

Stuff on MPC simulationsfor Ken/Matt

R. Seto

march 29

Page 2: Stuff on MPC simulations for Ken/Matt

define eres=(e_prim-clus_e)/e_prim

eres

bad

good

medium

define fiducial as 12<r<18

egood

ebad

emed

this onemust reflectmickeysthrown x and ydistribution

thisshowsthe edgesof the MPC

Page 3: Stuff on MPC simulations for Ken/Matt

eres vs e for R<r_fiducial

• slice up plot into bins of e_prim and fit width

• fit the widths to • delta E/E_prim =

A+B/sqrt(E_prim)• fit for A and B• One slice fit for E_prim=25

GeV• delta E=0.03• sqrt(25)=5• B~15% if A is 0• Ken and matt should do a

full fit

eres

eorig

sliceE_prim=25

Page 4: Stuff on MPC simulations for Ken/Matt

x,y prim for e_prim 0-5 GeVand eres in “medium” area

shows leakage• to get this plot I

looked at data with e=0-5 GeV. I think this better because of the smaller radius of the showers?

Page 5: Stuff on MPC simulations for Ken/Matt

delta x =x_prim-x_clus

• For egood

• centered at 0.5, 0.5

• peak is not in center

• Shows structure of MPC modules

• RMS ~ 1cm

Page 6: Stuff on MPC simulations for Ken/Matt

same plot for emed

• peak now in center

• RMS ~ 1.5-2 (wider)

Page 7: Stuff on MPC simulations for Ken/Matt

snippet of code• float r=sqrt(prim_x*prim_x+prim_y*prim_y);• h_cluse->Fill(clus_e);• h_prime->Fill(prim_e);• h_eres->Fill((prim_e-clus_e)/prim_e);• if(r>12 && r<18)h_eres_vs_e->Fill((prim_e-clus_e)/prim_e,prim_e);

• h_xy->Fill(prim_x,prim_y);• h_clus_xy->Fill(clus_x,clus_y);• if( (prim_e-clus_e)/prim_e < 0.1){• h_xy_egood->Fill(prim_x,prim_y);• h_clus_xy_egood->Fill(clus_x,clus_y);• h_delta_xy_egood->Fill(prim_x-clus_x,prim_y-clus_y);• h_delta_x_egood_vs_e->Fill(prim_x-clus_x,prim_e);• }• if( (prim_e-clus_e)/prim_e > 0.1 && (prim_e-clus_e)/prim_e < 0.9 ){• h_xy_emed->Fill(prim_x,prim_y);• h_clus_xy_emed->Fill(clus_x,clus_y);• h_delta_xy_emed->Fill(prim_x-clus_x,prim_y-clus_y);• }

• if( (prim_e-clus_e)/prim_e > 0.9){• h_xy_ebad->Fill(prim_x,prim_y);• h_clus_xy_ebad->Fill(clus_x,clus_y);• }• }

Page 8: Stuff on MPC simulations for Ken/Matt

notes

• I made the pictures just using the output file and root

• you should read the data files from mickey as he has set up. The filelist will let you read many files – this is the fun4all mode (which is all set up for you) – the ability to read many files is something we will have to figure out (its not hard)

• In my case I used a TChain – I cheated, but it wont allow me to a access stiff if its not in the ttree