Namespaces | |
cone | |
disc | |
helpers | |
qcuts | |
xclean | |
Typedefs | |
typedef tau::CombinatoricGenerator< ChargedHadronList > | ChargedHadronCombo |
typedef std::vector< reco::PFRecoTauChargedHadron > | ChargedHadronList |
typedef tau::CombinatoricGenerator< PiZeroList > | PiZeroCombo |
typedef std::vector< RecoTauPiZero > | PiZeroList |
Enumerations | |
enum | { kOldDMwoLT, kOldDMwLT, kNewDMwoLT, kNewDMwLT, kDBoldDMwLT, kDBnewDMwLT, kPWoldDMwLT, kPWnewDMwLT, kDBoldDMwLTwGJ, kDBnewDMwLTwGJ } |
Functions | |
template<typename RefVectorType , typename BaseView > | |
RefVectorType | castView (const edm::Handle< BaseView > &view) |
Convert a BaseView (View<T>) to a TRefVector. More... | |
unsigned int | chargedHadronsInDecayMode (PFTau::hadronicDecayMode mode) |
Reverse mapping of decay modes into multiplicities. More... | |
template<typename Container , class OverlapFunction > | |
Container | cleanOverlaps (const Container &dirty) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPThetaPhi (double, double, double) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPxPyPz (double, double, double) |
std::string | discPluginName (const std::string &mvaName) |
float | eratio (const reco::PFTau &tau) |
return ratio of energy in ECAL over sum of energy in ECAL and HCAL More... | |
float | eratio (const pat::Tau &tau) |
std::pair< edm::ParameterSet, edm::ParameterSet > | factorizePUQCuts (const edm::ParameterSet &inputSet) |
bool | fillIsoMVARun2Inputs (float *mvaInput, const pat::Tau &tau, int mvaOpt, const std::string &nameCharged, const std::string &nameNeutral, const std::string &namePu, const std::string &nameOutside, const std::string &nameFootprint) |
template<typename Iterator > | |
std::vector< PFCandidatePtr > | filterPFCandidates (const Iterator &begin, const Iterator &end, int particleId, bool sort=true) |
std::vector< PFCandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero >::const_iterator &, const std::vector< RecoTauPiZero >::const_iterator &) |
Flatten a list of pi zeros into a list of there constituent PFCandidates. More... | |
std::vector< PFCandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero > &) |
PFTau::hadronicDecayMode | getDecayMode (const reco::GenJet *genJet) |
float | lead_track_chi2 (const reco::PFTau &tau) |
return chi2 of the leading track ==> deprecated? <== More... | |
template<typename InputIterator > | |
InputIterator | leadPFCand (InputIterator begin, InputIterator end) |
unsigned int | n_photons_total (const reco::PFTau &tau) |
return total number of pf photon candidates with pT>500 MeV, which are associated to signal More... | |
unsigned int | n_photons_total (const pat::Tau &tau) |
std::vector< PFCandidatePtr > | pfCandidates (const PFJet &jet, int particleId, bool sort=true) |
std::vector< PFCandidatePtr > | pfCandidates (const PFJet &jet, const std::vector< int > &particleIds, bool sort=true) |
Extract pfCandidates of a that match a list of particle Ids from a PFJet. More... | |
std::vector< PFCandidatePtr > | pfChargedCands (const PFJet &jet, bool sort=true) |
Extract all non-neutral candidates from a PFJet. More... | |
std::vector< PFCandidatePtr > | pfGammas (const PFJet &jet, bool sort=true) |
Extract all pfGammas from a PFJet. More... | |
unsigned int | piZerosInDecayMode (PFTau::hadronicDecayMode mode) |
float | pt_weighted_deta_strip (const reco::PFTau &tau, int dm) |
float | pt_weighted_deta_strip (const pat::Tau &tau, int dm) |
float | pt_weighted_dphi_strip (const reco::PFTau &tau, int dm) |
float | pt_weighted_dphi_strip (const pat::Tau &tau, int dm) |
float | pt_weighted_dr_iso (const reco::PFTau &tau, int dm) |
float | pt_weighted_dr_iso (const pat::Tau &tau, int dm) |
float | pt_weighted_dr_signal (const reco::PFTau &tau, int dm) |
float | pt_weighted_dr_signal (const pat::Tau &tau, int dm) |
float | pt_weighted_dx (const reco::PFTau &tau, int mode=0, int var=0, int decaymode=-1) |
float | pt_weighted_dx (const pat::Tau &tau, int mode=0, int var=0, int decaymode=-1) |
template<typename T > | |
float | pt_weighted_dx_T (const typename T::Tau_t &tau, int mode, int var, int decaymode) |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PATTauDiscriminationByMVAIsolationRun2 > > | s_filler__LINE__ ("PATTauDiscriminationByMVAIsolationRun2") |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PFRecoTauDiscriminationByMVAIsolationRun2 > > | s_filler__LINE__ ("PFRecoTauDiscriminationByMVAIsolationRun2") |
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PATTauDiscriminationByMVAIsolationRun2 > > | s_maker__LINE__ ("PATTauDiscriminationByMVAIsolationRun2") |
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PFRecoTauDiscriminationByMVAIsolationRun2 > > | s_maker__LINE__ ("PFRecoTauDiscriminationByMVAIsolationRun2") |
void | setChargedHadronP4 (reco::PFRecoTauChargedHadron &chargedHadron, double scaleFactor_neutralPFCands=1.0) |
template<typename InputIterator > | |
int | sumPFCandCharge (InputIterator begin, InputIterator end) |
Sum the charge of a collection of PFCandidates. More... | |
template<typename InputIterator > | |
reco::Candidate::LorentzVector | sumPFCandP4 (InputIterator begin, InputIterator end) |
template<typename InputIterator > | |
double | sumPFCandPt (InputIterator begin, InputIterator end) |
Sum the pT of a collection of PFCandidates. More... | |
template<typename InputIterator , typename FunctionPtr , typename ReturnType > | |
ReturnType | sumPFVector (InputIterator begin, InputIterator end, FunctionPtr func, ReturnType init) |
Sum the four vectors in a collection of PFCandidates. More... | |
template<typename InputIterator > | |
InputIterator | takeNElements (const InputIterator &begin, const InputIterator &end, size_t N) |
PFTau::hadronicDecayMode | translateDecayMode (unsigned int nCharged, unsigned int nPiZero) |
PFTau::hadronicDecayMode | translateGenDecayModeToReco (const std::string &genName) |
Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum. More... | |
std::string | translateRecoDecayModeToGen (PFTau::hadronicDecayMode decayMode) |
Convert a RECO enum decay mode to a string ('oneProng0Pi0') More... | |
Definition at line 24 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector<reco::PFRecoTauChargedHadron> reco::tau::ChargedHadronList |
Definition at line 23 of file RecoTauBuilderCombinatoricPlugin.cc.
Definition at line 26 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector< RecoTauPiZero > reco::tau::PiZeroList |
Definition at line 25 of file RecoTauBuilderCombinatoricPlugin.cc.
anonymous enum |
Enumerator | |
---|---|
kOldDMwoLT | |
kOldDMwLT | |
kNewDMwoLT | |
kNewDMwLT | |
kDBoldDMwLT | |
kDBnewDMwLT | |
kPWoldDMwLT | |
kPWnewDMwLT | |
kDBoldDMwLTwGJ | |
kDBnewDMwLTwGJ |
Definition at line 65 of file PFRecoTauClusterVariables.h.
RefVectorType reco::tau::castView | ( | const edm::Handle< BaseView > & | view | ) |
Convert a BaseView (View<T>) to a TRefVector.
Definition at line 73 of file RecoTauCommonUtilities.h.
References mps_fire::i, and convertSQLitetoXML_cfg::output.
unsigned int reco::tau::chargedHadronsInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Reverse mapping of decay modes into multiplicities.
Definition at line 45 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and mode.
Container reco::tau::cleanOverlaps | ( | const Container & | dirty | ) |
Definition at line 33 of file RecoTauCleaningTools.h.
References clean, and analyzePatCleaning_cfg::overlaps.
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPThetaPhi | ( | double | chargedHadronP, |
double | chargedHadronTheta, | ||
double | chargedHadronPhi | ||
) |
Definition at line 58 of file pfRecoTauChargedHadronAuxFunctions.cc.
References compChargedHadronP4fromPxPyPz().
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPxPyPz | ( | double | chargedHadronPx, |
double | chargedHadronPy, | ||
double | chargedHadronPz | ||
) |
Definition at line 50 of file pfRecoTauChargedHadronAuxFunctions.cc.
References mathSSE::sqrt().
Referenced by compChargedHadronP4fromPThetaPhi(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), and setChargedHadronP4().
|
inline |
Definition at line 23 of file RecoTauDiscriminantPlugins.h.
References taus_updatedMVAIds_cff::mvaName.
Referenced by PFTauMVAInputDiscriminantTranslator::PFTauMVAInputDiscriminantTranslator().
float reco::tau::eratio | ( | const reco::PFTau & | tau | ) |
return ratio of energy in ECAL over sum of energy in ECAL and HCAL
Definition at line 57 of file PFRecoTauClusterVariables.cc.
References reco::PFTau::signalPFCands(), and pileupDistInMC::total.
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
float reco::tau::eratio | ( | const pat::Tau & | tau | ) |
Definition at line 70 of file PFRecoTauClusterVariables.cc.
References pat::Tau::ecalEnergy(), pat::Tau::hcalEnergy(), and pileupDistInMC::total.
std::pair< edm::ParameterSet, edm::ParameterSet > reco::tau::factorizePUQCuts | ( | const edm::ParameterSet & | inputSet | ) |
Definition at line 315 of file RecoTauQualityCuts.cc.
References edm::ParameterSet::copyFrom(), TkAlMuonSelectors_cfi::cut, and edm::ParameterSet::getParameterNames().
Referenced by PFRecoTauDiscriminationByIsolation::PFRecoTauDiscriminationByIsolation().
bool reco::tau::fillIsoMVARun2Inputs | ( | float * | mvaInput, |
const pat::Tau & | tau, | ||
int | mvaOpt, | ||
const std::string & | nameCharged, | ||
const std::string & | nameNeutral, | ||
const std::string & | namePu, | ||
const std::string & | nameOutside, | ||
const std::string & | nameFootprint | ||
) |
Definition at line 158 of file PFRecoTauClusterVariables.cc.
References funct::abs(), tauProducer_cfi::chargedIsoPtSum, pat::Tau::decayMode(), pat::Tau::dxy(), pat::Tau::dxy_Sig(), MillePedeFileConverter_cfg::e, eratio(), reco::LeafCandidate::eta(), f, pat::Tau::flightLength(), pat::Tau::flightLengthSig(), tauProducer_cfi::footprintCorrection, pat::Tau::hasSecondaryVertex(), pat::Tau::ip3d(), pat::Tau::ip3d_Sig(), kDBnewDMwLT, kDBnewDMwLTwGJ, kDBoldDMwLT, kDBoldDMwLTwGJ, kNewDMwLT, kNewDMwoLT, kOldDMwLT, kOldDMwoLT, kPWnewDMwLT, kPWoldDMwLT, pat::Tau::leadingTrackNormChi2(), cmsBatch::log, SiStripPI::max, min(), n_photons_total(), tauProducer_cfi::neutralIsoPtSum, reco::LeafCandidate::p(), reco::LeafCandidate::p4(), tauProducer_cfi::photonPtSumOutsideSignalCone, funct::pow(), reco::LeafCandidate::pt(), pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), pt_weighted_dr_signal(), tauProducer_cfi::puCorrPtSum, mathSSE::sqrt(), and pat::Tau::tauID().
Referenced by reco::tau::PATTauDiscriminationByMVAIsolationRun2::discriminate().
std::vector<PFCandidatePtr> reco::tau::filterPFCandidates | ( | const Iterator & | begin, |
const Iterator & | end, | ||
int | particleId, | ||
bool | sort = true |
||
) |
Filter a collection of objects that are convertible to PFCandidatePtrs by PFCandidate ID
Definition at line 39 of file RecoTauCommonUtilities.h.
References end, flattenPiZeros(), metsig::jet, convertSQLitetoXML_cfg::output, pfCandidates(), pfChargedCands(), and pfGammas().
Referenced by pfCandidates(), and pfChargedCands().
std::vector< PFCandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero >::const_iterator & | piZerosBegin, |
const std::vector< RecoTauPiZero >::const_iterator & | piZerosEnd | ||
) |
Flatten a list of pi zeros into a list of there constituent PFCandidates.
Definition at line 16 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output.
Referenced by filterPFCandidates(), flattenPiZeros(), reco::tau::xclean::CrossCleanPtrs< PtrIter >::initialize(), and reco::tau::RecoTauPhotonFilter::operator()().
std::vector< PFCandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero > & | piZeros | ) |
Definition at line 30 of file RecoTauCommonUtilities.cc.
References flattenPiZeros().
PFTau::hadronicDecayMode reco::tau::getDecayMode | ( | const reco::GenJet * | genJet | ) |
Definition at line 80 of file PFTauDecayModeTools.cc.
References JetMCTagUtils::genTauDecayMode(), reco::PFTau::kNull, and translateGenDecayModeToReco().
Referenced by tautools::RecoTauDecayModeTruthMatchPlugin::operator()().
float reco::tau::lead_track_chi2 | ( | const reco::PFTau & | tau | ) |
return chi2 of the leading track ==> deprecated? <==
Definition at line 45 of file PFRecoTauClusterVariables.cc.
References objects.autophobj::float, edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), and reco::PFTau::leadPFChargedHadrCand().
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate().
InputIterator reco::tau::leadPFCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 131 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauConstructor::get(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), pat::Tau::leadPFChargedHadrCandsignedSipt(), reco::tau::RecoTauBuilderConePlugin::operator()(), reco::operator<<(), and reco::PFTau::~PFTau().
unsigned int reco::tau::n_photons_total | ( | const reco::PFTau & | tau | ) |
return total number of pf photon candidates with pT>500 MeV, which are associated to signal
Definition at line 133 of file PFRecoTauClusterVariables.cc.
References reco::PFTau::isolationPFGammaCands(), and reco::PFTau::signalPFGammaCands().
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), fillIsoMVARun2Inputs(), and pt_weighted_dr_iso().
unsigned int reco::tau::n_photons_total | ( | const pat::Tau & | tau | ) |
Definition at line 145 of file PFRecoTauClusterVariables.cc.
References pat::Tau::isolationGammaCands(), and pat::Tau::signalGammaCands().
std::vector< reco::PFCandidatePtr > reco::tau::pfCandidates | ( | const PFJet & | jet, |
int | particleId, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a given particle Id from a PFJet. If sort is true, candidates will be sorted by descending PT
Definition at line 34 of file RecoTauCommonUtilities.cc.
References filterPFCandidates(), and reco::PFJet::getPFConstituents().
Referenced by filterPFCandidates(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), and pfGammas().
std::vector< reco::PFCandidatePtr > reco::tau::pfCandidates | ( | const PFJet & | jet, |
const std::vector< int > & | particleIds, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a that match a list of particle Ids from a PFJet.
Definition at line 42 of file RecoTauCommonUtilities.cc.
References filterPFCandidates(), reco::PFJet::getPFConstituents(), and convertSQLitetoXML_cfg::output.
std::vector< reco::PFCandidatePtr > reco::tau::pfChargedCands | ( | const PFJet & | jet, |
bool | sort = true |
||
) |
Extract all non-neutral candidates from a PFJet.
Definition at line 60 of file RecoTauCommonUtilities.cc.
References reco::PFCandidate::e, filterPFCandidates(), reco::PFJet::getPFConstituents(), reco::PFCandidate::h, reco::PFCandidate::mu, and convertSQLitetoXML_cfg::output.
Referenced by filterPFCandidates(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), and reco::tau::RecoTauBuilderConePlugin::operator()().
std::vector< reco::PFCandidatePtr > reco::tau::pfGammas | ( | const PFJet & | jet, |
bool | sort = true |
||
) |
Extract all pfGammas from a PFJet.
Definition at line 56 of file RecoTauCommonUtilities.cc.
References reco::PFCandidate::gamma, and pfCandidates().
Referenced by filterPFCandidates(), reco::tau::RecoTauPiZeroTrivialPlugin::operator()(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), and reco::tau::RecoTauConstructor::reserveTauChargedHadron().
unsigned int reco::tau::piZerosInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Definition at line 50 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and mode.
|
inline |
return sum of pt weighted values of deta relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 39 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 42 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
|
inline |
return sum of pt weighted values of dphi relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 47 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 50 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
|
inline |
return sum of pt weighted values of dr relative to tau candidate for all pf photon candidates, which are inside an isolation conde but not associated to signal
Definition at line 55 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 58 of file PFRecoTauClusterVariables.h.
References n_photons_total(), pt_weighted_dx(), and metsig::tau.
|
inline |
return sum of pt weighted values of dr relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 31 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 34 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
float reco::tau::pt_weighted_dx | ( | const reco::PFTau & | tau, |
int | mode = 0 , |
||
int | var = 0 , |
||
int | decaymode = -1 |
||
) |
return sum of pt weighted values of distance to tau candidate for all pf photon candidates, which are associated to signal; depending on var the distance is in 0=:dr, 1=:deta, 2=:dphi
Definition at line 126 of file PFRecoTauClusterVariables.cc.
References runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and JetChargeProducer_cfi::var.
Referenced by pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), and pt_weighted_dr_signal().
float reco::tau::pt_weighted_dx | ( | const pat::Tau & | tau, |
int | mode = 0 , |
||
int | var = 0 , |
||
int | decaymode = -1 |
||
) |
Definition at line 129 of file PFRecoTauClusterVariables.cc.
References runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and JetChargeProducer_cfi::var.
float reco::tau::pt_weighted_dx_T | ( | const typename T::Tau_t & | tau, |
int | mode, | ||
int | var, | ||
int | decaymode | ||
) |
return sum of pt weighted values of distance to tau candidate for all pf photon candidates, which are associated to signal; depending on var the distance is in 0=:dr, 1=:deta, 2=:dphi
Definition at line 82 of file PFRecoTauClusterVariables.cc.
References funct::abs(), egammaForCoreTracking_cff::cands, reco::deltaPhi(), reco::deltaR(), runTauDisplay::dr, RemoveAddSevLevel::flag, SiStripPI::max, min(), EnergyCorrector::pt, and metsig::tau.
|
static |
|
static |
|
static |
|
static |
void reco::tau::setChargedHadronP4 | ( | reco::PFRecoTauChargedHadron & | chargedHadron, |
double | scaleFactor_neutralPFCands = 1.0 |
||
) |
Definition at line 10 of file pfRecoTauChargedHadronAuxFunctions.cc.
References reco::PFRecoTauChargedHadron::algoIs(), compChargedHadronP4fromPxPyPz(), reco::PFRecoTauChargedHadron::getChargedPFCandidate(), reco::PFRecoTauChargedHadron::getNeutralPFCandidates(), reco::PFRecoTauChargedHadron::getTrack(), edm::Ptr< T >::isNonnull(), reco::PFRecoTauChargedHadron::kChargedPFCandidate, reco::PFRecoTauChargedHadron::kPFNeutralHadron, reco::PFRecoTauChargedHadron::kTrack, electrons_cff::ptRatio, reco::LeafCandidate::setP4(), and HiIsolationCommonParameters_cff::track.
Referenced by reco::tau::RecoTauConstructor::addTauChargedHadron(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), and PFRecoTauChargedHadronProducer::produce().
int reco::tau::sumPFCandCharge | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the charge of a collection of PFCandidates.
Definition at line 126 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::charge(), and sumPFVector().
reco::Candidate::LorentzVector reco::tau::sumPFCandP4 | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 113 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::p4(), and sumPFVector().
double reco::tau::sumPFCandPt | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the pT of a collection of PFCandidates.
Definition at line 120 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::pt(), and sumPFVector().
Referenced by reco::tau::RecoTauConstructor::get().
ReturnType reco::tau::sumPFVector | ( | InputIterator | begin, |
InputIterator | end, | ||
FunctionPtr | func, | ||
ReturnType | init | ||
) |
Sum the four vectors in a collection of PFCandidates.
Definition at line 103 of file RecoTauCommonUtilities.h.
References end, patCandidates_cff::func, init, and convertSQLitetoXML_cfg::output.
Referenced by sumPFCandCharge(), sumPFCandP4(), and sumPFCandPt().
InputIterator reco::tau::takeNElements | ( | const InputIterator & | begin, |
const InputIterator & | end, | ||
size_t | N | ||
) |
Definition at line 95 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), and reco::tau::RecoTauPiZeroStripPlugin3::operator()().
PFTau::hadronicDecayMode reco::tau::translateDecayMode | ( | unsigned int | nCharged, |
unsigned int | nPiZero | ||
) |
Definition at line 55 of file PFTauDecayModeTools.cc.
References reco::PFTau::kNull, reco::PFTau::kOneProngNPiZero, reco::PFTau::kRareDecayMode, RecoTauCombinatoricProducer_cfi::maxPiZeros, and hpstanc_transforms::nPiZeros.
Referenced by reco::tau::RecoTauObjectEmbedder< T >::operator()(), reco::tau::RecoTauDiscriminantInvariantWidth::RecoTauDiscriminantInvariantWidth(), and RecoTauMVATransform::RecoTauMVATransform().
PFTau::hadronicDecayMode reco::tau::translateGenDecayModeToReco | ( | const std::string & | genName | ) |
Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum.
Definition at line 70 of file PFTauDecayModeTools.cc.
Referenced by getDecayMode().
std::string reco::tau::translateRecoDecayModeToGen | ( | PFTau::hadronicDecayMode | decayMode | ) |
Convert a RECO enum decay mode to a string ('oneProng0Pi0')
Definition at line 75 of file PFTauDecayModeTools.cc.