TPC Drift Velocity history

This post is a simple follow-up to this previously shown plot...

 West side drift velocities [cm/μs] vs. time [year], as recorded in the offline database:
(notes: laser drift velocities in red, cathode drift velocities in blue; image is displayed at half resolution - open image in new tab/window for better resolution)



  Ratio of East/West drift velocities vs. time:
(same notes)




Code:
mysql -h dbx.star.bnl.gov -P 3316 -C Calibrations_tpc -N -e \
"SELECT UNIX_TIMESTAMP(beginTime),laserDriftVelocityEast,laserDriftVelocityWest,\
cathodeDriftVelocityEast,cathodeDriftVelocityWest FROM tpcDriftVelocity \
WHERE deactive=0 ORDER BY beginTime ASC" >& dvs

...

TNtupleD dv("dv","dv","t:dve:dvw:cdve:cdvw");
dv.ReadFile("dvs");
dv.SetAlias("year","(t-946684800)/(3600*24*365)+2000");
gStyle->SetPalette(1);gStyle->SetGridColor(kGray);
gStyle->SetOptDate(0);gStyle->SetOptStat(0);
dv.SetMarkerStyle(7);

dv.SetMarkerColor(2);
dv.Draw("dvw:year","dvw>5.40&&year>2000");
dv.SetMarkerColor(4);
dv.Draw("cdvw:year","","same");

dv.SetMarkerColor(2);
dv.Draw("dve/dvw:year","dvw>5.48&&dve>5.48&&year>2000");
dv.SetMarkerColor(4);
dv.Draw("cdve/cdvw:year","cdvw>5.40&&cdve>5.40&&year>2000","same");

-Gene