TQAF Recipes

Complete: 5

CMSSW_7_4_X

ssh lxplus.cern.ch
cmsrel CMSSW_7_4_6
cd CMSSW_7_4_6/src
cmsenv
git cms-addpkg TopQuarkAnalysis/TopEventProducers
scram b -j 20
To check out the complete TQAF, you also need:
git cms-addpkg AnalysisDataFormats/TopObjects
git cms-addpkg TopQuarkAnalysis/Configuration
git cms-addpkg TopQuarkAnalysis/Examples
git cms-addpkg TopQuarkAnalysis/TopEventSelection
git cms-addpkg TopQuarkAnalysis/TopHitFit
git cms-addpkg TopQuarkAnalysis/TopJetCombination
git cms-addpkg TopQuarkAnalysis/TopKinFitter
git cms-addpkg TopQuarkAnalysis/TopObjectResolutions
scram b -j 20

ALERT! The installation of the TopQuarkAnalysis/Configuration might also require additional packages. Please check on the Top PAG Reference Selection Configurations TWiki.


CMSSW_7_2_X

ssh lxplus.cern.ch
cmsrel CMSSW_7_2_2_patch2
cd CMSSW_7_2_2_patch2/src
cmsenv
git cms-addpkg TopQuarkAnalysis/TopEventProducers
scram b -j 20
To check out the complete TQAF, you also need:
git cms-addpkg AnalysisDataFormats/TopObjects
git cms-addpkg TopQuarkAnalysis/Configuration
git cms-addpkg TopQuarkAnalysis/Examples
git cms-addpkg TopQuarkAnalysis/TopEventSelection
git cms-addpkg TopQuarkAnalysis/TopHitFit
git cms-addpkg TopQuarkAnalysis/TopJetCombination
git cms-addpkg TopQuarkAnalysis/TopKinFitter
git cms-addpkg TopQuarkAnalysis/TopObjectResolutions
scram b -j 20

ALERT! The installation of the TopQuarkAnalysis/Configuration might also require additional packages. Please check on the Top PAG Reference Selection Configurations TWiki.


CMSSW_5_3_X

ssh lxplus.cern.ch
cmsrel CMSSW_5_3_23
cd CMSSW_5_3_23/src
cmsenv
git cms-addpkg TopQuarkAnalysis/TopEventProducers
scram b -j 20
To check out the complete TQAF, you also need:
git cms-addpkg AnalysisDataFormats/TopObjects
git cms-addpkg TopQuarkAnalysis/Configuration
git cms-addpkg TopQuarkAnalysis/Examples
git cms-addpkg TopQuarkAnalysis/TopEventSelection
git cms-addpkg TopQuarkAnalysis/TopHitFit
git cms-addpkg TopQuarkAnalysis/TopJetCombination
git cms-addpkg TopQuarkAnalysis/TopKinFitter
git cms-addpkg TopQuarkAnalysis/TopObjectResolutions
scram b -j 20

ALERT! The installation of the TopQuarkAnalysis/Configuration might also require additional packages. Please check on the Top PAG Reference Selection Configurations TWiki.


Runtests

The TQAF code is thoroughly tested before a new CVS tag is made and published. Following any of the above recipes for one of the "latest tags", all test sequences should run out-of-the-box and demonstrate how to use the different TQAF packages. If you run into troubles, please send a detailed problem description to the Top CMS.HyperNews.

With the CVS head, in contrast, you have no guarantee for the code to compile or run. Using the CVS head is therefore only recommended for developers. Developers are asked to check the integrity of the TQAF after committing changes to the repository. They can use the runtests as decribed in the following.

The standard TQAF test sequences can be run using the option runtests of scram. The sequences that will be run are listed in the script runtests.sh in the test directories of the respective packages. To run the tests for all TQAF packages do:

cd $CMSSW_BASE/src/TopQuarkAnalysis/
scram b -j 20 runtests

Running the tests will take some time (which can be reduced by using several cores in parallel with the -j option of scram) and while the tests for one package are run you will get no printout to the screen, it will be dumped every time when all tests for one package are finished. The output is also written to the log file $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log. Unfortunately there is no summary provided yet by scram which would help you to evaluate the tests. Of course, you could scan the whole log file by eye. Alternatively the following lines might be useful to check if everything went fine:

grep -i exception $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log
grep -i failure   $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log
grep -i error     $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log
grep -i warning   $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log
grep -i status    $CMSSW_BASE/logs/$SCRAM_ARCH/testing.log

The TQAF unit-tests are also run in every CMSSW integration build and the results can be found in the corresponding log files.

Edit | Attach | Watch | Print version | History: r234 < r233 < r232 < r231 < r230 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r234 - 2016-06-20 - LukasKreczko
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback