ROOT logo

Strip detector example

{
 TF3 *f2=new TF3("f2","[0]",0,3000,0,3000,0,3000);
 f2->SetParameter(0,-2);

 KStrip *det=new KStrip(80,10,2,3,300);
 det->Voltage=400;
 det->SetUpVolume(2);

 det->SetUpElectrodes();
 det->SetBoundaryConditions();
 det->SetUpMaterial(0); //Silicon
 //det->SetUpMaterial(10); //diamond

 det->NeffF=f2;
 // det.Mat=10;
 det.SetDebug(0);
 det.CalField(0);
 det.CalField(1);

   
 det->SetEntryPoint(100,1,0.5);
 det->SetExitPoint(110,300,0.5);

 det.diff=1; 
 det->ShowMipIR(20);
}
 TestStripDetector_1.C:1
 TestStripDetector_1.C:2
 TestStripDetector_1.C:3
 TestStripDetector_1.C:4
 TestStripDetector_1.C:5
 TestStripDetector_1.C:6
 TestStripDetector_1.C:7
 TestStripDetector_1.C:8
 TestStripDetector_1.C:9
 TestStripDetector_1.C:10
 TestStripDetector_1.C:11
 TestStripDetector_1.C:12
 TestStripDetector_1.C:13
 TestStripDetector_1.C:14
 TestStripDetector_1.C:15
 TestStripDetector_1.C:16
 TestStripDetector_1.C:17
 TestStripDetector_1.C:18
 TestStripDetector_1.C:19
 TestStripDetector_1.C:20
 TestStripDetector_1.C:21
 TestStripDetector_1.C:22
 TestStripDetector_1.C:23
 TestStripDetector_1.C:24
 TestStripDetector_1.C:25
 TestStripDetector_1.C:26
 TestStripDetector_1.C:27