How to run the TauAnalysis software for the Z --> e + tau-jet channel

In the PAT v2 workflow, the analysis of the Z --> e + tau-jet channel proceeds in three steps:

  • submission of analysis jobs for histogram filling and computation of FilterStatisticsTables
  • submission of "harvesting" jobs that sum the histograms and FilterStatisticsTables contained in different .root files
  • execution on lxplus of a draw job that displays the summed histograms and prints-out the summed FilterStatisticsTables

The .root files containing the histograms and FilterStatisticsTables will be copied to castor. For this reason, you need to replace the parameters

  • outputDirectory: in TauAnalysis/Configuration/test/submitAnalysisZtoElecTau.py and TauAnalysis/Configuration/test/submitHarvestingZtoElecTau.py
  • plotDirectoryName: in TauAnalysis/Configuration/python/recoSampleDefinitionsZtoElecTau_cfi.py
before starting with the submission of batch jobs.

In order to submit the analysis jobs for histogram filling and computation of FilterStatisticsTables, please execute:

cd TauAnalysis/Configuration/test
cmsenv
./submitAnalysisZtoElecTau.py

The jobs will take a few hours to run.

You can check the status of the jobs by executing

bjobs -w

For further batch commands, please see https://twiki.cern.ch/twiki/bin/view/CMS/CMSUKCMSSWBatch .

Once the bjobs command does not list any pending or running analysis jobs anymore, you can proceed with the second step, the submission of DQM harvesting jobs. Please execute:

./submitHarvestingZtoElecTau.py

Once started, the harvesting jobs should take no more than about 15 minutes of processing time.

After all harvesting jobs have finished, you can proceed with the third and final step, the draw job that displays the summed histograms and prints-out the summed FilterStatisticsTables. Please execute:

limit vmem unlim
rm makeZtoElecTauPlots.out ; cmsRun makeZtoElecTauPlots_cfg.py >& makeZtoElecTauPlots.out
(The 'limit vmem unlim' increases the amount of memory available to cmsRun.)

After about 15 minutes, you will find plots of the summed histograms as PNG graphics files in the directoryin TauAnalysis/Configuration/test/plots . You can view the graphics files e.g. with gimp by executing:

gimp ./plots/plotZtoElecTau_finalSamplePlots_mVisible.png
which should give you the following plot (made with the TauAnalysis tag globalV00-00-04):

visible invariant mass of e + tau-jet

You can find the print-out the summed FilterStatisticsTables in TauAnalysis/Configuration/test/makeZtoElecTauPlots.out .

Note that at the moment, the Z --> e + tau-jet analysis depends upon electron isolation computed for larger, non-standard, isolation cones. As a consequence, the runZtoElecTau_cfg.py configuration file includes the reconstruction of PAT objects for these enlarged isolation cones.

-- ChristianVeelken - 29 Jun 2009

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2009-08-16 - ChristianVeelken
 
    • 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