110 likes | 124 Views
Discussing long-standing issues with geometry inconsistencies in detector software, ongoing bug fixes, and testing new geometry transforms in HBD group meetings.
E N D
Hbd Software Update By Sky Rolnick 7/28/09 Hbd Group Meeting
Issues with Detector Geometry • Long standing issues with geometry …. Ugh, when will it stop. • Two classes defined HbdFinalSimSupport, hbdDetectorGeo with inconsistent geometries. • Using hbdDetectorGeo, we notice inconsistencies in matching tracks from data and what is seen in EventDisplay. • Correction introduced by Maxim back in March seems to work for event display but not for data. • It seems that bugs were introduced while trying to fix other bugs further complicating the issue. (it’s a tangled mess right now!) • This is probably because Event display introduces additional flips but this needs to be confirmed. • Took several days to understand all this mess, still don’t fully understand all issues. Sky Rolnick UC Riverside HBD Group Meeting
Testing Geometry Transforms • Generated 10GeV single electrons directed at each pad of Hbd. • Make EventDisplay animation for all 2304 events minus ones where tracks are outside acceptance. Sky Rolnick UC Riverside HBD Group Meeting
hbdDetectorGeo • Modifications to hbdDetectorGeo … • Decided to leave geom.hbd.pads database alone, ie. Store only arm, sec, padid. • Introduced additional fields in padgeom structure, ie. CenterInLocalY, CenterInLocalZ, globalX, globalY, globalZ. • Allows new methods, ie. FindNearestPad, FindNearestPanel, getPadCenter, etc. • Questions about PHPanel? Sky Rolnick UC Riverside HBD Group Meeting
hbdDetectorGeo Example Test macro to see hbdDetectorGeo is working properly. Seems to work okay, at least I get What I would expect. Sky Rolnick UC Riverside HBD Group Meeting
hbdDetectorGeo Example Using intersectionLinePanel … still gives nonsense. Is it possible that padid’s are messed up somehow in database?? Sky Rolnick UC Riverside HBD Group Meeting
Remaining Issues/Questions • How are PHPanel’s defined and are there ways I can draw them in root? • Is it the right thing to have hard coded pad_center or should this also be in the database? Sky Rolnick UC Riverside HBD Group Meeting
New HbdCluster Object • Issues regarding sort() algorithm. • Was sorting on pointer address, tried implementing sort on padnum. (found by Tom/Benji.) • Keep getting … /home/phnxbld/new/source/offline/packages/hbd/HbdCell.h:60: using virtual function, doing nothing HbdCell Offending field == padnum • Seems that HbdCell::get_padnum is virtual function. • Not sure how to implement this? Sky Rolnick UC Riverside HBD Group Meeting
HbdWisClusterizer • Separated out WisClusterizer from Ilia’s epair code. • Allowed for merging of clusters across sectors. • Created HbdWisDisplay for WisClusterizer. • Tested on run9 data for all 500 runs. • Small issue remains with cog for clusters defined across boundry. • Single/Double Rejection efficiency. Sky Rolnick UC Riverside HBD Group Meeting
HbdHnSClusterizer • Small changes to HnS Clusterizer… • Uses hbdDetectorGeo.cc for coordinate transforms now. • Modified cuts for electron identification, now see the right number of electrons in events. • Uses PHCentralTrackv24, must have latest library so that it can be used with Wis or HnS clusterizers. • Still getting many problems related to detector geometry. Hub does not match with tracks, issues with cog calculation, etc. Sky Rolnick UC Riverside HBD Group Meeting
Long Tedious road … • When I agreed to write algorithm for HnS I had no idea I would be fighting with so many issues regarding geometry. Sky Rolnick UC Riverside HBD Group Meeting