IST Sti Geometry Test

 This page describes the track test for the latest IST Sti geometry (https://drupal.star.bnl.gov/STAR/blog/ypwang/ist-sti-geometry) with the tool provided by Gene (https://drupal.star.bnl.gov/STAR/blog/genevb/track-track-comparisons-using-trackinfo-mode-spacecharge-code).

A) Test with real data

    1) Default chain option   "P2014a,btof,BEmcChkStat,Corr4,OSpaceZ2,OGridLeak3D,SCScalerCal,goptSCE100051,-hitfilt"
    2) Chain without IST geometry    "P2014a,btof,BEmcChkStat,Corr4,OSpaceZ2,OGridLeak3D,SCScalerCal,goptSCE100051,-hitfilt,-StiIst,-IstIT"

    Input Data is 19985 events in /star/data03/daq/2014/047/15047100/st_physics_15047100_raw_2500001.daq.  

********************************************************************************************
Processing match_rows.C+("/tmp/ypwang/trksA_9688","/tmp/ypwang/trksB_9688",10,"ntup_IST_15047100.root:run:evt:z:qinvpt:eta:phi:dca:dcae:e:hits",100,1,0,0,2,3,0,3,0.1,0,4,0.1,0,5,0.15,6.2832)...

Iteration :: New matches / Tot matches :: Unmatched A / Unmatched B

        1 ::      745680 /      745680 ::      483584 /      490452

AT ITERATION LIMIT (1)

(int)745680
********************************************************************************************

   Dmetric is defined in Gene's page linked above.
Δscaled ≡ ΔDCA * q * pT2 
A better view of the smaller materials can be had using another metric, which I will call "Dmetric":
Dmetric ≡ sign(Δscaled)*(6 + log10(|Δscaled|)
Dmetric is essentially a logarithmic version of Δscaled, where 0 represents a Δscaled value of ±10-6, -1 is -10-5, +1 is 10-5, +2 is 10-4, etc. 

The below plots show the DMetric vs. Z_DCA (Dmetric ~ -2.6 in sensitive volume coverage):

The below plots show the DMetric vs. Phi:

 

B) Test with simulation data

    1) Default chain option   "tpcRS,y2014,AgML,MakeEvent,tables,SimuDb,ITTF,VFMinuit,Idst,BAna,l0,Tree,logger,Sti,StiHftC,TpcHitMover,TpxClu,bbcSim,btofsim,-tags,emcY2,EEfs,evout,geantout,IdTruth,geant,big,fzin,clearmem,HftMatTree,SCScalerCal,goptSCE100051"

    2) Chain without IST geometry    "tpcRS,y2014,AgML,MakeEvent,tables,SimuDb,ITTF,VFMinuit,Idst,BAna,l0,Tree,logger,Sti,StiHftC,TpcHitMover,TpxClu,bbcSim,btofsim,-tags,emcY2,EEfs,evout,geantout,IdTruth,geant,big,fzin,clearmem,HftMatTree,SCScalerCal,goptSCE100051,-StiIst,-IstIT"

  Input data are simulation samples produced by Yifei (Simple simulation with the Y2014 geometry. 100 pions per events (0-10GeV/c in pT flat, (-1,1) in eta flat), |Vz|<5cm).)

********************************************************************************************

Processing match_rows.C+("/tmp/ypwang/trksA_15143","/tmp/ypwang/trksB_15143",10,"ntup_IST_sim.root:run:evt:z:qinvpt:eta:phi:dca:dcae:e:hits",100,1,0,0,2,3,0,3,0.1,0,4,0.1,0,5,0.15,6.2832)...

Info in <TUnixSystem::ACLiC>: creating shared library /direct/star+data01/pwg/xiao00/StiCheck_sim/./match_rows_C.so

Iteration :: New matches / Tot matches :: Unmatched A / Unmatched B

        1 ::       32170 /       32170 ::           1 /           1

AT ITERATION LIMIT (1)

(int)32170
********************************************************************************************

   The below plots show the DMetric vs. Z_DCA (left) and Phi (right): drop at around pi/2, less material ??


   Checked the phi phi distributions as below: