Skip to main content

SiC Timing Detector Simulation

Project description

RASER

RAdiation SEmiconductoR

Latest Version

Function

  • SiC Timing Detector Simulation

Dependences

Example

  • An example python code to use raser:

$ python example.py det_model=planar3D parfile=setting.json

  • example.py
import raser
args = sys.argv[1:]
dset = raser.Setting(args)

my_d = raser.R3dDetector(dset)
my_f = raser.FenicsCal(my_d, dset.fenics)
my_g4p = raser.Particles(my_d, my_f, dset)
my_current = raser.CalCurrent(my_d, my_f, my_g4p, dset)
ele_current = raser.Amplifier(my_d, dset.amplifer)
  • setting.json
[{
"steplength" : "1",
"name" : "planar3D",

"lx" : "50",
"ly" : "50",
"lz" : "10",
"doping" : "10", 
"voltage" : "-100",
"temp" : "300.0",

"mesh" : "32",
"xyscale" : "1",

"maxstep" : "10",
"g4_vis" : "0",
"par_inx" : "25",
"par_iny" : "25",
"par_inz" : "17000",
"par_outx" : "25",
"par_outy" : "25",
"par_outz" : "0",

"t_rise" : "1",
"t_fall" : "1",
"trans_imp" : "1",
"CDet" : "1",
"BBW" : "1",
"BBGain" : "10",
"BB_imp" : "1",
"OscBW" : "1"
}]
  • Example for TCT Simulation:

$ python example.py det_model=silicon_lgad2D parfile=setting.json laser_model=TPA laser_file=laser.json

  • example.py
import raser
args = sys.argv[1:]
dset = Setting(args)

my_d = R2dDetector(dset.detector)
my_f = FenicsCal2D(my_d)
my_l = TCTTracks(my_d,dset.laser)
my_l.getTrackProfile2D(0.5,0.5,0.5)
my_current = CalCurrent2DTCT(my_l,my_f,my_d)
ele_current = Amplifier(my_d, dset.amplifer)

-laser.json

[{
"laser_model" : "TPA",
"direction" : "edge",

"alpha" : 987,
"beta_2" : 1.5E-11,
"refractionIndex" : 3.51,

"wavelength" : 1.55e-6,
"tau" : 60e-15,
"power" : 5e-11,
"widthBeamWaist" : 1e-6,
"l_Rayleigh" : 15.7e-6,

"r_step" : 1,
"h_step" : 10
}]

Contribution

  • Xin Shi, IHEP, @xshi
  • Yuhang Tan, IHEP, @tanyh2018
  • Tao Yang, IHEP, @yangtaogit
  • Kai Liu, IHEP, @liukaihep
  • Ryuta Kiuchi, IHEP, @rkiuchi
  • Jianing Lin, Jilin U, @zombastar
  • Yu Zhao, Liaoning U, @zylyz18
  • Ziyi Zhao, Hunan Normal U, @zhaoziyi1
  • Jia Wang, Hunan Normal U, @wangjia0203
  • Chenxi Fu, Jilin U, @heheda2001123

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raser-2.2.0.tar.gz (27.0 kB view details)

Uploaded Source

File details

Details for the file raser-2.2.0.tar.gz.

File metadata

  • Download URL: raser-2.2.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for raser-2.2.0.tar.gz
Algorithm Hash digest
SHA256 55f5bbca76fd8510474e173c3b0c343b97866f6c4d9ee13b28e9714f56ce05c3
MD5 e5e458b510100d1325afa4afc8dbada0
BLAKE2b-256 162bb4a0ef1bbaeab79d205ebeb42c64b8f4d2d638fbff571d5a21812ed0acf8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page