Difference between revisions of "CDC run 2016 drift time fits"
From GlueXWiki
Line 5: | Line 5: | ||
|[[Image:cdc_run2016_tzz.png|thumb|x200px|time vs n (expanded more)]] | |[[Image:cdc_run2016_tzz.png|thumb|x200px|time vs n (expanded more)]] | ||
|} | |} | ||
+ | |||
+ | The early channels are from HVB C8: roc 28, slot 15, channels 48-71; ring 8 straws 53-60, ring 9 straws 62-69 and ring straws 61-68; the time difference is ~ 5 samples (40ns). | ||
Latest revision as of 13:51, 8 January 2015
The early channels are from HVB C8: roc 28, slot 15, channels 48-71; ring 8 straws 53-60, ring 9 straws 62-69 and ring straws 61-68; the time difference is ~ 5 samples (40ns).
TF1 *f = new TF1("f","[0]*(1+[1]*exp(([3]-x)/[2])+[7]*exp(([3]-x)/[8]))/((1+exp(([3]-x)/[5]))*(1+exp((x-[4])/[6])))",400,1400); f->SetParameter(0,20); //overall height f->SetParameter(1,20); //amplitude of first exp contrib to peak f->SetParameter(2,10); //first exp fall-off f->SetParameter(3,550); //t0 f->SetParameter(4,1200); //tmax f->SetParameter(5,2); //slope up of t0 edge f->SetParameter(6,5); //slope down of tmax edge f->SetParameter(7,3); //amplitude of first second contrib to peak f->SetParameter(8,100); //second exp fall-off