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 {
20  namespace tau {
21 
24 
26 
27  PFTau::hadronicDecayMode translateDecayMode(unsigned int nCharged, unsigned int nPiZero);
28 
31 
34 
36 
37  } // namespace tau
38 } // namespace reco
39 
40 #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:23
fixed size matrix
hadronicDecayMode
Definition: PFTau.h:38
unsigned int piZerosInDecayMode(PFTau::hadronicDecayMode mode)
unsigned int chargedHadronsInDecayMode(PFTau::hadronicDecayMode mode)
Reverse mapping of decay modes into multiplicities.