CMS 3D CMS Logo

PFTauDecayModeTools.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_RecoTau_PFTauDecayModeTools_h
2 #define RecoTauTag_RecoTau_PFTauDecayModeTools_h
3 
4 /*
5  * Tools to help deal with the PFTau::hadronicDecayMode
6  * defintion.
7  *
8  * Author: Evan K. Friis, UC Davis
9  *
10  */
11 
13 
14 // Forward declaration
15 namespace reco {
16  class GenJet;
17 }
18 
19 namespace reco { namespace tau {
20 
22 unsigned int chargedHadronsInDecayMode(
24 
25 unsigned int piZerosInDecayMode(
27 
29  unsigned int nCharged, unsigned int nPiZero);
30 
33  const std::string& genName);
34 
37 
39 
40 }}
41 
42 #endif
PFTau::hadronicDecayMode translateGenDecayModeToReco(const std::string &genName)
Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum.
PFTau::hadronicDecayMode translateDecayMode(unsigned int nCharged, unsigned int nPiZero)
PFTau::hadronicDecayMode getDecayMode(const reco::GenJet *genJet)
std::string translateRecoDecayModeToGen(PFTau::hadronicDecayMode decayMode)
Convert a RECO enum decay mode to a string ('oneProng0Pi0')
Jets made from MC generator particles.
Definition: GenJet.h:25
fixed size matrix
hadronicDecayMode
Definition: PFTau.h:36
unsigned int piZerosInDecayMode(PFTau::hadronicDecayMode mode)
unsigned int chargedHadronsInDecayMode(PFTau::hadronicDecayMode mode)
Reverse mapping of decay modes into multiplicities.