Solid hitprocess
From Hall A Wiki
output banks and related hitprocess in GEMC, refer to clas12 as example
- The output banks are stored in database solid_banks. The bank scripts and definition files are in svn "database_io/halla12/solid/banks/"
- "solid_hits_def.txt" defines all banks with "name, id, identifiers, minEnergy, TimeWindow(ADC integration time window or TDC windows), ProdThreshold(radiation length?), MaxStep(size)"
- run "go_hits" to update the hits in table "SDId"
- "bankdefs/*.bank" defines bank variables "name, id, type(1 double, 0 int), activated(1 on, 0 off), description"
- run "go_bank" to update all banks in individual tables
- The hit process are in are in svn "hitprocess/"
- "HitProcess_MapRegister.cc" registers all type of processes which can be assigned for different experiment.
- "halla12/solid/*_hitprocess.cc" handles actual work to get values and push to store them in banks.
- notice the "push_back" has to follow the same order where the variables are defined in banks and the way of push_back double or int type variables are different.
- To add new hitprocess
- add new_hitprocess.cc and new_hitprocess.h in "hitprocess/halla12/solid/"
- edit SConstruct and hitprocess/HitProcess_MapRegister.cc
- then recompile gemc
hit color
red: hit for which the first step Edep is above threshold
blue: hit for which the first step Edep is below threshold
green: hit for which the first step Edep zero