Lbglimpse a glimpse for LHCb

A very usefull tool for working with source code within LHCb is

   Lbglimpse

As a remark for people moving from BaBar to LHCb, this is the tool for cmt most closely bringing the ‘srtglimps’ features. The ‘Lbglimpse’ can be found in $LHCBRELEASES/scripts. It is used as following

   Lbglimpse <string> [<project>] [<version>] [-v]

and you can run this LHCb glimpse on every paths of $CMTPATH to find all files containing <string>
if CMTPATH is not set but CMTPROJECTPATH is set then it will use <project> and <version> to built CMTPATH locally. As an example we could look for the string ‘nies’ in the Moore Trigger project to find all places where the author ‘nies’ is mentioned or what ever:

   Lbglimpse nies Moore v6r0

Have fun hacking the LHCb software stack.

Tags: , , , , , , ,

Leave a Reply