In [33]:
%run 'lib.ipynb'
In [34]:
chain = R.TChain( "vpd" )
chain.Add( "vpd.root" )

R.gStyle.SetOptStat(0)
trigOnly = "fastChEast != 0 && fastChEast != 6 && fastChEast != 10 && fastChEast != 15 && fastChEast != 5 && fastChEast != 13 && fastChEast != 14 && fastChWest != 5 && fastChWest != 13 && fastChWest != 14 && fastChWest != 0 && fastChWest != 6 && fastChWest != 10 && fastChWest != 11"
In [ ]:
chain.Draw( "(fastLeEast - fastLeWest)*0.5 * 29.979 - vertexZ >> hVz( 30, -7.5, 7.5 )", "fastLeEast > 2 && fastLeWest > 2 && " + trigOnly )
hVz = rget( "hVz" )
hVz.SetTitle( "Earliest East and Earliest West;vZ_{VPD} - vZ_{TPC} [cm]" )
hVz.Fit("gaus", "R", "",  -2, 2)

Offline Slew corrected vertex resolution using only earliest hit on east or west

  • Only the same tubes as in the trigger
In [36]:
c1
Out[36]:

Figure 1. vZ$_{VPD}$ - vZ$_{TPC}$ using only the earliest signal on each side





In [ ]:
chain.Draw( "(avgLeEast - avgLeWest)*0.5 * 29.979 - vertexZ >> hVzAvg( 120, -7.5, 7.5 )", "" )
hVzAvg = rget( "hVzAvg" )
hVzAvg.SetTitle( "<East> and <West>;vZ_{VPD} - vZ_{TPC} [cm]" )
hVzAvg.Fit("gaus", "R", "",  -2, 2)

Offline slew corrected vertex using average east and west

In [38]:
c1
Out[38]:

Figure 2. vZ$_{VPD}$ - vZ$_{TPC}$ using the average time from the east and the average time from the west





In [ ]: