#include <PFConversionAlgo.h>
Public Member Functions | |
std::vector< reco::PFCandidate > | conversionCandidates () |
bool | isConversionValidCandidate (const reco::PFBlockRef &blockRef, std::vector< bool > &active) |
PFConversionAlgo () | |
~PFConversionAlgo () | |
Private Types | |
typedef std::multimap < unsigned, std::vector < unsigned > > | AssMap |
Private Member Functions | |
void | runPFConversion (const reco::PFBlockRef &blockRef, std::vector< bool > &active) |
void | setActive (const reco::PFBlockRef &blockRef, AssMap &assToConv, std::vector< bool > &active) |
void | setCandidates (const reco::PFBlockRef &blockref, AssMap &assToConv) |
bool | setLinks (const reco::PFBlockRef &blockRef, AssMap &assToConv, std::vector< bool > &active) |
Private Attributes | |
std::vector< reco::PFCandidate > | conversionCandidate_ |
bool | isvalid_ |
Definition at line 14 of file PFConversionAlgo.h.
|
private |
Definition at line 35 of file PFConversionAlgo.h.
PFConversionAlgo::PFConversionAlgo | ( | ) |
Definition at line 20 of file PFConversionAlgo.cc.
|
inline |
Definition at line 23 of file PFConversionAlgo.h.
|
inline |
Definition at line 35 of file PFConversionAlgo.h.
References conversionCandidate_.
Referenced by PFAlgo::processBlock().
|
inline |
Definition at line 26 of file PFConversionAlgo.h.
References isvalid_, and runPFConversion().
Referenced by PFAlgo::processBlock().
|
private |
Definition at line 24 of file PFConversionAlgo.cc.
References reco::PFCandidate::gamma, and reco::PFCandidate::GAMMA_TO_GAMMACONV.
Referenced by isConversionValidCandidate().
|
private |
Definition at line 352 of file PFConversionAlgo.cc.
References i, j, and findQualityFiles::size.
|
private |
Get the momentum of the parent track pair
for a first try just simple cuts
Build candidate
Definition at line 243 of file PFConversionAlgo.cc.
References abs, reco::PFCandidate::addElementInBlock(), createPayload::block, reco::PFBlockElementCluster::clusterRef(), Geom::deltaPhi(), reco::PFBlockElement::ECAL, reco::PFBlock::elements(), asciidump::elements, reco::PFCluster::energy(), reco::PFCandidate::gamma, reco::PFCandidate::GAMMA_TO_GAMMACONV, i, j, reco::PFBlock::linkData(), pi, reco::PFCandidate::setConversionRef(), reco::PFCandidate::setEcalEnergy(), reco::PFCandidate::setFlag(), reco::PFCandidate::setHcalEnergy(), reco::PFCandidate::setPs1Energy(), reco::PFCandidate::setPs2Energy(), findQualityFiles::size, reco::PFBlockElement::TRACK, and reco::PFBlockElementTrack::trackRef().
|
private |
Definition at line 58 of file PFConversionAlgo.cc.
References reco::PFBlock::associatedElements(), createPayload::block, gather_cfg::cout, reco::PFBlockElement::ECAL, reco::PFBlock::elements(), asciidump::elements, spr::find(), newFWLiteAna::found, reco::PFBlockElement::HCAL, i, getHLTprescales::index, j, reco::PFBlock::linkData(), reco::PFBlock::LINKTEST_ALL, reco::PFBlock::LINKTEST_RECHIT, edm::OwnVector< T, P >::size(), findQualityFiles::size, and reco::PFBlockElement::TRACK.
|
private |
Definition at line 52 of file PFConversionAlgo.h.
Referenced by conversionCandidates().
|
private |
Definition at line 53 of file PFConversionAlgo.h.
Referenced by isConversionValidCandidate().