|
||||
File indexing completed on 2024-04-06 11:58:32
0001 #!/bin/sh 0002 0003 if [ "$#" == "1" ]; then 0004 file=$1 0005 else 0006 echo "Usage: cmsbrowse [root_file]" 0007 exit 0008 fi 0009 0010 cat <<EOF >| /tmp/cmsbrowse_tmp.C 0011 { 0012 gSystem->Load("$CMSSW_RELEASE_BASE/lib/$SCRAM_ARCH/libFWCoreFWLite.so"); 0013 FWLiteEnabler::enable(); 0014 hfile = new TFile("${file}","READONLY"); 0015 new TBrowser("CMS Browser",hfile); 0016 } 0017 EOF 0018 0019 root -l /tmp/cmsbrowse_tmp.C
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |