30 likes | 97 Views
SMT_real2mc package Alex Koubarovski Framework package smt_real2mc is intended to produce SimSMTHitChunk from SmtDataChunk . For SMT SimTkHit li st looks like: SimTkHit* ptrtkhit = new SimTkHit (
E N D
SMT_real2mc package • Alex Koubarovski • Framework package smt_real2mc is intended to produce SimSMTHitChunk from SmtDataChunk. • For SMT SimTkHit list looks like: • SimTkHit* ptrtkhit = new SimTkHit ( • iord // hit number-999 // MC id of particleiv // volume index array0. // golbal x0. // global y0. // global z0. // global px0. // global py0. // global pz0. // step777 // g3codestripn // xin -> strip numberpulse // yin -> adc count0. // zin0. // xout0. // yout0. // zout-1000. // edep0. // tofdetid // detector id ) • Those hits are marked as fake (similar to Mike Hildreth's cft_real2mc proposal) by unique GEANT code (777), MC particle ID (-999) and negative energy deposition (-1.0 GeV). • Volume index arrayiv contains the information about the detector the hit came from (barrel, layer, ladder, view or disk, wedge, view). • SmtTkHit has encoded detector information (detid).
SmtDigiReco Loop over hits SimTkHit iv, de/dx Digitize the hit Fake hit Add noise to cluster itk = 9999 itk = -999 Add noise to the hit ladder/wedge itk = 9990 detid, stripn, pulse Create SmtDataChunk Add noise to the rest of SMT
SmtDigiReco “to do” list • rcp switch to select between noisy channel map generation and reading a real one • interface to read a noisy/dead channel maps (ascii files) • make a real noisy channels map from SmtExamine (ascii file) • realistic distribution of the noisy channel noise (from SmtExamine)