ROOT logo

Group waveforms in MeasureWF object (e.g. voltage scan).

{
  Int_t k=0;
  // see Get-Scanning-TCT.C for information about the next 3 program lines
  PSTCT stct("NTypeDiode-300um_R.rtct", 11.5,2);
  stct.CorrectBaseLine();   // Baseline correction 
  stct.PrintInfo();         // Information about the read data 
  // group a set of votlages into a MeasureWF structure
  // basically this can be done for any set x,y,z,U1 and U2 parameters
  MeasureWF *wf= stct->Projection(0,3,0,0,0,0,0, stct->NU1); 
  wf->SetTemperatures(meas->T);

 TCanvas res("results","results",1200,800);
 wf.DrawMode=true;
 res.Divide(1,2);
 res.cd(1);
 wf.DrawMulti(-5,80,1, stct->NU1-1,3); //plot waveforms from -5 to 80 ns from voltage index 1 to 20 in steps of 3
 res.cd(2);
 wf.CCE(0,80); //plot current integral - charge integrated from 0 - 80 ns
 
}
 Get-TCT.C:1
 Get-TCT.C:2
 Get-TCT.C:3
 Get-TCT.C:4
 Get-TCT.C:5
 Get-TCT.C:6
 Get-TCT.C:7
 Get-TCT.C:8
 Get-TCT.C:9
 Get-TCT.C:10
 Get-TCT.C:11
 Get-TCT.C:12
 Get-TCT.C:13
 Get-TCT.C:14
 Get-TCT.C:15
 Get-TCT.C:16
 Get-TCT.C:17
 Get-TCT.C:18
 Get-TCT.C:19
 Get-TCT.C:20
 Get-TCT.C:21