Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tracking, Computing & other Stuff. Correlation of detector hits The track segments of inner and outer MDCs are matched on Cluster level The track segments.

Similar presentations


Presentation on theme: "Tracking, Computing & other Stuff. Correlation of detector hits The track segments of inner and outer MDCs are matched on Cluster level The track segments."— Presentation transcript:

1 Tracking, Computing & other Stuff

2 Correlation of detector hits The track segments of inner and outer MDCs are matched on Cluster level The track segments of inner and outer MDCs are matched on Cluster level Outer segments are matched with META hitsOuter segments are matched with META hits Inner segments are matched to RICH hitsInner segments are matched to RICH hits RICHMDCI+IIMDCIII+IVMETA BEAM MAGNETIC FIELD

3 Tracking in MDCs step 1 : projection of drift cells with respect to the target provides Cluster in inner segmentstep 1 : projection of drift cells with respect to the target provides Cluster in inner segment step 2 : projection of outer drift cells with respect to hit point of inner segment on the kickplane defines Cluster in outer segmentstep 2 : projection of outer drift cells with respect to hit point of inner segment on the kickplane defines Cluster in outer segment step 3 : Fitting of inner and outer Cluster by a straight line model function using the measured drift times (Least square minimization of the functional below)step 3 : Fitting of inner and outer Cluster by a straight line model function using the measured drift times (Least square minimization of the functional below)

4 Correlation of detector hits HMetaMatchF task matches the detector hits of RICH,MDC and META HMetaMatchF task matches the detector hits of RICH,MDC and META The matched objects provide input to the momentum reconstruction algorithms The matched objects provide input to the momentum reconstruction algorithms Rings in the RICH and track segments in the inner MDCs are spatial correlated inside a matching window given by Rings in the RICH and track segments in the inner MDCs are spatial correlated inside a matching window given by Outer segments are matched with META hits using straight lines (neglecting the curvature of the track in magnetic field). From the difference of the propagated hit position of the segment on the META and the measured Hits position a quality factor (normalized by the errors) is calculated. Outer segments are matched with META hits using straight lines (neglecting the curvature of the track in magnetic field). From the difference of the propagated hit position of the segment on the META and the measured Hits position a quality factor (normalized by the errors) is calculated.

5 Momentum reconstruction KickPlane: KickPlane: use inner segment + META hit to define the deflection angle and momentum use inner segment + META hit to define the deflection angle and momentum low resolution, very fast low resolution, very fast Spline : Spline : use 5th order spline to emulate a track in the field region use 5th order spline to emulate a track in the field region use inner and outer segments use inner and outer segments the segment directions are not touched by the algorithm the segment directions are not touched by the algorithm good resolution, fast good resolution, fast Runge Kutta: Runge Kutta: propagates particle through magnetic field propagates particle through magnetic field uses inner and outer segments uses inner and outer segments modifies the segments direction and position modifies the segments direction and position best resolution, computing intensive best resolution, computing intensive MDCI+IIMETA BEAM MAGNETIC FIELD MDCI+IIMDCIII+IVMETA BEAM MAGNETIC FIELD MDCI+IIMDCIII+IVMETA BEAM MAGNETIC FIELD MDCI+IIMDCIII+IVMETA Kickplane Spline Runge Kutta

6 HParticleTrackSorter After the tracking procedure (hit reconstruction, Hit matching, momentum reconstruction still tracks are inside the sample of candidates which share the same detector hits After the tracking procedure (hit reconstruction, Hit matching, momentum reconstruction still tracks are inside the sample of candidates which share the same detector hits To get rid of such candidates a cleaning procedure is applied To get rid of such candidates a cleaning procedure is applied All track candidates are inspected and flagged according certain properties All track candidates are inspected and flagged according certain properties Two select functions (selectLeptons,selectHadrons) are performed to apply conditions on the candidates Two select functions (selectLeptons,selectHadrons) are performed to apply conditions on the candidates Candidates which have passed the select functions are inserted in a list which is sorted by track quality Candidates which have passed the select functions are inserted in a list which is sorted by track quality Starting from the best candidate a list of used detector hits is build and each following candidate which reuses an hit is discarded Starting from the best candidate a list of used detector hits is build and each following candidate which reuses an hit is discarded Candidates which survives the selecting are marked with kIsUsed Candidates which survives the selecting are marked with kIsUsed Candidates selected by the selectLepton function are marked in addition as kIsLepton Candidates selected by the selectLepton function are marked in addition as kIsLepton

7 HParticleTrackSorter

8 Helper functions static TObjArray* HParticleTool::getMdcCal1Cluster(Int_t segind) static TObjArray* HParticleTool::getMdcCal1Seg(Int_t segind) static HMdcClus* HParticleTool::getMdcClus(Int_t segind) static HMdcClusFit* HParticleTool::getMdcClusFit(Int_t segind) static HMdcClusInf* HParticleTool::getMdcClusInf(Int_t segind, Int_t nhit = 0) static HMdcHit* HParticleTool::getMdcHit(Int_t segind, Int_t nhit = 0) static HMdcSeg* HParticleTool::getMdcSeg(Int_t segind) static HMdcTrkCand* HParticleTool::getMdcTrkCand(Int_t metaind) static TObjArray* HParticleTool::getMdcWireFitSeg(Int_t segind) static HMetaMatch2* HParticleTool::getMetaMatch(Int_t metaind) static HRichHit* HParticleTool::getRichHit(Int_t richind) static HRpcCluster* HParticleTool::getRpcCluster(Int_t rpcind) static HShowerHit* HParticleTool::getShowerHit(Int_t showerind) static HTofCluster* HParticleTool::getTofCluster(Int_t tofind) static HTofHit* HParticleTool::getTofHit(Int_t tofind)

9 Things which are obvious how to use... HMdcSeg HMdcHit HMdcClusInf HMdcClusFit HMdcWireFit TObjArray* HParticleTool::getMdcWireFitSeg(Int_t segind)

10 New Batch farm In spring 2012 a new batch farm will go into operation (see Walter’s talk) In spring 2012 a new batch farm will go into operation (see Walter’s talk) The new farm will have new features The new farm will have new features The operating system will be 64bit The operating system will be 64bit 32bit execution is not supported any more 32bit execution is not supported any more No user file systems will be mounted, only /lustre  stability reason No user file systems will be mounted, only /lustre  stability reason The user have to copy their scripts, parameter files etc to /lustre before submitting the job The user have to copy their scripts, parameter files etc to /lustre before submitting the job The software will be distributed experiment specific using CVMFS  avoid bottle neck of parallel access The software will be distributed experiment specific using CVMFS  avoid bottle neck of parallel access LSF will be replaced by Sun grid engine (SGE): batch scripts have to be adapted LSF will be replaced by Sun grid engine (SGE): batch scripts have to be adapted

11 New Batch farm Installation of the HADES software: Installation of the HADES software: The software is build on lxbuild02.gsi.de and stored local /cvmfs/hades.gsi.de The software is build on lxbuild02.gsi.de and stored local /cvmfs/hades.gsi.de After installation the software has to be published to enable the user access it After installation the software has to be published to enable the user access it The publish command runs basically a rsync to the cvmfs server The publish command runs basically a rsync to the cvmfs server From the server the software will be distributed to all hosts and seen as /cvmfs/hades.gsi.de From the server the software will be distributed to all hosts and seen as /cvmfs/hades.gsi.de lxbuild02.gsi.de /cvmfs/hades.gsi.de Cvmfs server lxb320.gsi.de lxb321.gsi.de lxb322.gsi.de lxb323.gsi.de lxb324.gsi.de publish distribute

12 Old Batch farm Debian etch (current system) Debian etch (current system) Very old Very old Out of support  security issue Out of support  security issue switched off at GSI January 2012 switched off at GSI January 2012 Our situation: Our situation: Hydra2/HGeant2 will run on any new system Hydra2/HGeant2 will run on any new system Old analyses of data taken 2005 and before requires old software versions Old analyses of data taken 2005 and before requires old software versions Solution: Solution: Old batch farm will be switched to lenny64 Old batch farm will be switched to lenny64 Old binaries (32bit compiled) will run without change Old binaries (32bit compiled) will run without change Programs can be recompiled under lenny32 (lennylust32.gsi.de) Programs can be recompiled under lenny32 (lennylust32.gsi.de) Tests have been successful  we are ready to switch Tests have been successful  we are ready to switch

13 Extended Event Display Based on TEve of ROOT Based on TEve of ROOT OpenGL OpenGL Display Detector geometry taken from ROOT TGeomModeller Display Detector geometry taken from ROOT TGeomModeller Helper classes implemented in libEventdisplay Helper classes implemented in libEventdisplay User can easily modify displayed content by changing macros User can easily modify displayed content by changing macros Full event display for REAL and SIM Data Full event display for REAL and SIM Data Display of HGEANT particles Display of HGEANT particles Runge-Kutta tracking trough Detector using a magnetic Field map. Fit to reference points given by HGeant Runge-Kutta tracking trough Detector using a magnetic Field map. Fit to reference points given by HGeant TODO: TODO: Pluto particles Pluto particles ??? Requests welcome ??? Requests welcome

14 As easy as this …edit nextEvent.C HParticleCandSim* cand; HParticleCandSim* cand; Int_t size = particleCandCat->getEntries(); Int_t size = particleCandCat->getEntries(); for(Int_t i = 0; i < size; i ++){ for(Int_t i = 0; i < size; i ++){ cand = HCategoryManager::getObject(cand,particleCandCat,i); cand = HCategoryManager::getObject(cand,particleCandCat,i); if(cand){ if(cand){ HEDParticleCand* edcand = 0; HEDParticleCand* edcand = 0; Int_t s = cand->getSector(); Int_t s = cand->getSector(); // Fill all objects. Group them into different lists // Fill all objects. Group them into different lists // Groups get different colors or line styles // Groups get different colors or line styles //--------------------------------------------------------- //--------------------------------------------------------- // Candidates accepted as leptons by HParticleTrackSorter // Candidates accepted as leptons by HParticleTrackSorter // Full tracks with RICH and accepted after sorting // Full tracks with RICH and accepted after sorting if(cand->isFlagBit(kIsLepton)){ if(cand->isFlagBit(kIsLepton)){ edcand = new HEDParticleCand(cand); edcand = new HEDParticleCand(cand); edcand->SetLineColor(kRed); edcand->SetLineColor(kRed); particlecandLep->AddElement(s,edcand); particlecandLep->AddElement(s,edcand); } //--------------------------------------------------------- //--------------------------------------------------------- // Ghost tracks get dashed lines // Ghost tracks get dashed lines if(edcand && cand->isGhostTrack()) edcand->SetLineStyle(7); if(edcand && cand->isGhostTrack()) edcand->SetLineStyle(7); //--------------------------------------------------------- //--------------------------------------------------------- } } // end loop particlecand } // end loop particlecand

15

16

17

18 Geometry display options can be modified via GUI The event scene of the event display is defined inside a macro an be easily adopted to the user needs by non experts

19 Geometry display options can be modified via GUI Geometry display options can be modified via GUI The event scene of the event display is defined inside a macro an be easily adopted to the user needs by non experts The event scene of the event display is defined inside a macro an be easily adopted to the user needs by non experts

20 Thanks to the flexible event scene the user can easily modify the displayed contents Thanks to the flexible event scene the user can easily modify the displayed contents

21 Important Infos about LSF look to the man pages of: bsubbjobs bjobs -u all bjobs -u all bjobs -u all -q hades bjobs -u all -q hades bjobs -r bjobs -r bjobs -w bjobs -wbpeekbkill bkill id bkill id bkill 0 bkill 0 bhostsbqueueslsrunxlsbatch


Download ppt "Tracking, Computing & other Stuff. Correlation of detector hits The track segments of inner and outer MDCs are matched on Cluster level The track segments."

Similar presentations


Ads by Google