Tau HLT

Complete: 3

Goal of this page

This page provides instructions for running the tau High Level Trigger.

Tau triggers

The following trigger paths have been implemented:
  • HLT1Tau: single Tau trigger
  • HLT1Tau1MET: Single Tau plus MET trigger (as the above one but with lower thresholds due to the presence of a MET selection even at L1)
  • HLT2Tau: Double Tau trigger (uses pixel tracks for isolation).
  • HLTXElectronTau: Electron+Tau trigger.
  • HLTXMuonTau: Muon+Tau trigger (uses pixel tracks for isolation).

On how to use the trigger bits to select events in the output module, please look at: EDM Paths SWGuide

Instructions for running the Tau HLT with CMSSW_1_3_1_HLT6

scramv1 project CMSSW CMSSW_1_3_1_HLT6
cd CMSSW_1_3_1_HLT6/src
eval `scramv1 runtime -csh`
project CMSSW
cvs co -r V_HLT6 HLTrigger/btau/test
cd HLTrigger/btau/test

Run the cfg file named hlt_tau_1_3_1_HLT6.cfg (see it in the code browser). All the tau triggers will be run. The output is written in the test.root file in the local area.

For samples with two tau leptons in the final states (as Z->tautau and qqH->tautau) the TauJetMCFilter module can be used to select only desired tau decays and apply MC fiducial cuts:

module tauHadrFilter = TauJetMCFilter{
 InputTag GenParticles = VtxSmeared
        double EtTau = 0.0
        double EtaTauMin = 0.0
        double EtaTauMax = 2.5
        double EtaElecMax=2.5
        double EtaMuonMax=2.5
        double PtElec =0.
        double PtMuon=0.
        vstring includeList ={"tautau"}
#        vstring includeList ={"etau"}
#        vstring includeList ={"mutau"}
}

Instructions for running the Tau HLT with CMSSW_1_6_0

scramv1 project CMSSW CMSSW_1_6_0
cd CMSSW_1_6_0/src
eval `scramv1 runtime -csh`
project CMSSW
cvs co -r V00-00-02 RecoTauTag/HLTAnalyzers
cvs co -r V_1_6_0 HLTrigger/btau/test
scramv1 b
cd HLTrigger/btau/test

Run the cfg file named hlt_tau.cfg (see it in the code browser). All the tau triggers will be run. The output is written in the test.root file in the local area.

For samples with two tau leptons in the final states (as Z->tautau and qqH->tautau) the TauJetMCFilter module can be used to select only desired tau decays and apply MC fiducial cuts:

module tauHadrFilter = TauJetMCFilter{
 InputTag GenParticles = source
        double EtTau = 0.0
        double EtaTauMin = 0.0
        double EtaTauMax = 2.5
        double EtaElecMax=2.5
        double EtaMuonMax=2.5
        double PtElec =0.
        double PtMuon=0.
        vstring includeList ={"tautau"}
#        vstring includeList ={"etau"}
#        vstring includeList ={"mutau"}
}
Both cases 1 and 2 in HLTSetup (under HLTrigger/Configuration/data/common) are currently working, corresponding to running off a normal digi file or a raw (+L1) file.

ATTENTION: the default is case 2 in HLTSetup - running off Raw files as will be standard procedure. Thus you need to provide a file containing Raw (e.g., look at the catalog DBS2) or create a Raw file yourself (using RelVal _Digi_DigiToRaw.cfg), and then run HLTtable.cfg or RelVal _HLTFromRaw.cfg off that file. Alternatively, edit HLTrigger/Configuration/data/common/HLTSetup.cff to switch to case 1 and run off a digi file, but this works only for a 152 (or higher) data/digi file. If the digi file is older, then run RelVal _Digi_DigiToRaw.cfg first to make a Raw file, and run the HLT in its default setting (case 2) from that Raw file. In any case, 13x or older files can't be used as they can't be read by 16x.

Instructions for analysing the Tau HLT with CMSSW_1_6_0

In order to analyze HLT ouput, the following code is a good skeleton to start with:

scramv1 project CMSSW CMSSW_1_6_0
 cd CMSSW_1_6_0/src
 eval `scramv1 runtime -csh`
project CMSSW
 cvs co -r v00-01-05 RecoTauTag/HLTAnalyzers 
scramv1 b -j 4 BUILDVERBOSE=''
cd RecoTauTag/HLTAnalyzers/test 
cmsRun RunHLTTauAnalyzer.cfg

Tau-trigger paths and different collections as well as monte-carlo tau decays can be tuned from the RunHLTTauAnalyzer.cfg file. RecoTauTag/HLTAnalyzers/HLTTauAnalyzer.cc is extensively commented for trigger/CMSSW beginners

Review Status

Reviewer/Editor and Date (copy from screen) Comments
SimoneGennai - 02 Apr 2007 last content editor
JennyWilliams - 10 Apr 2007 non-twiki word tidying

Responsible: SimoneGennai
Last reviewed by: Reviewer

Topic attachments
I Attachment History Action Size Date Who Comment
PowerPointppt TwikiTauHLT.ppt r2 r1 manage 33.0 K 2007-03-06 - 11:54 SimoneGennai  
Edit | Attach | Watch | Print version | History: r32 < r31 < r30 < r29 < r28 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r32 - 2007-10-05 - SebastienGreder



 
    • 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