Particle Flow Algorithm test bench for the electron team. More...
#include <PFAlgoTestBenchElectrons.h>
Public Member Functions | |
PFAlgoTestBenchElectrons () | |
constructor More... | |
virtual | ~PFAlgoTestBenchElectrons () |
destructor More... | |
Public Member Functions inherited from PFAlgo | |
void | checkCleaning (const reco::PFRecHitCollection &cleanedHF) |
Check HF Cleaning. More... | |
PFAlgo () | |
constructor More... | |
const std::auto_ptr < reco::PFCandidateCollection > & | pfCandidates () const |
void | postMuonCleaning (const edm::Handle< reco::MuonCollection > &muonh, const reco::VertexCollection &primaryVertices) |
void | reconstructParticles (const reco::PFBlockHandle &blockHandle) |
virtual void | reconstructParticles (const reco::PFBlockCollection &blocks) |
reconstruct particles More... | |
void | setAlgo (int algo) |
void | setCandConnectorParameters (const edm::ParameterSet &iCfgCandConnector) |
void | setCandConnectorParameters (bool bCorrect, bool bCalibPrimary, double dptRel_PrimaryTrack, double dptRel_MergedTrack, double ptErrorSecondary, std::vector< double > nuclCalibFactors) |
void | setDebug (bool debug) |
void | setDisplacedVerticesParameters (bool rejectTracks_Bad, bool rejectTracks_Step45, bool usePFNuclearInteractions, bool usePFConversions, bool usePFDecays, double dptRel_DispVtx) |
void | setEGElectronCollection (const reco::GsfElectronCollection &egelectrons) |
void | setElectronExtraRef (const edm::OrphanHandle< reco::PFCandidateElectronExtraCollection > &extrah) |
void | setHOTag (bool ho) |
void | setParameters (double nSigmaECAL, double nSigmaHCAL, const boost::shared_ptr< PFEnergyCalibration > &calibration, const boost::shared_ptr< PFEnergyCalibrationHF > &thepfEnergyCalibrationHF) |
void | setPFEleParameters (double mvaEleCut, std::string mvaWeightFileEleID, bool usePFElectrons, const boost::shared_ptr< PFSCEnergyCalibration > &thePFSCEnergyCalibration, const boost::shared_ptr< PFEnergyCalibration > &thePFEnergyCalibration, double sumEtEcalIsoForEgammaSC_barrel, double sumEtEcalIsoForEgammaSC_endcap, double coneEcalIsoForEgammaSC, double sumPtTrackIsoForEgammaSC_barrel, double sumPtTrackIsoForEgammaSC_endcap, unsigned int nTrackIsoForEgammaSC, double coneTrackIsoForEgammaSC, bool applyCrackCorrections=false, bool usePFSCEleCalib=true, bool useEGElectrons=false, bool useEGammaSupercluster=true) |
void | setPFMuonAndFakeParameters (std::vector< double > muonHCAL, std::vector< double > muonECAL, std::vector< double > muonHO, double nSigmaTRACK, double ptError, std::vector< double > factors45, bool usePFMuonMomAssign, bool useBestMuonTrack) |
void | setPFPhotonParameters (bool usePFPhoton, std::string mvaWeightFileConvID, double mvaConvCut, bool useReg, std::string X0_Map, const boost::shared_ptr< PFEnergyCalibration > &thePFEnergyCalibration, double sumPtTrackIsoForPhoton, double sumPtTrackIsoSlopeForPhoton) |
void | setPFPhotonRegWeights (const GBRForest *LCorrForestEB, const GBRForest *LCorrForestEE, const GBRForest *GCorrForestBarrel, const GBRForest *GCorrForestEndcapHr9, const GBRForest *GCorrForestEndcapLr9, const GBRForest *PFEcalResolution) |
void | setPFVertexParameters (bool useVertex, const reco::VertexCollection &primaryVertices) |
void | setPhotonExtraRef (const edm::OrphanHandle< reco::PFCandidatePhotonExtraCollection > &pf_extrah) |
void | setPostHFCleaningParameters (bool postHFCleaning, double minHFCleaningPt, double minSignificance, double maxSignificance, double minSignificanceReduction, double maxDeltaPhiPt, double minDeltaMet) |
boost::shared_ptr < PFEnergyCalibration > | thePFEnergyCalibration () |
return the pointer to the calibration function More... | |
std::auto_ptr < reco::PFCandidateCollection > | transferAddedMuonCandidates () |
std::auto_ptr < reco::PFCandidateCollection > | transferCandidates () |
std::auto_ptr < reco::PFCandidateCollection > & | transferCleanedCandidates () |
std::auto_ptr < reco::PFCandidateCollection > | transferCleanedTrackerAndGlobalMuonCandidates () |
std::auto_ptr < reco::PFCandidateCollection > | transferCosmicsMuonCleanedCandidates () |
std::auto_ptr < reco::PFCandidateCollection > | transferElectronCandidates () |
std::auto_ptr < reco::PFCandidateElectronExtraCollection > | transferElectronExtra () |
std::auto_ptr < reco::PFCandidateCollection > | transferFakeMuonCleanedCandidates () |
std::auto_ptr < reco::PFCandidatePhotonExtraCollection > | transferPhotonExtra () |
std::auto_ptr < reco::PFCandidateCollection > | transferPunchThroughHadronCleanedCandidates () |
std::auto_ptr < reco::PFCandidateCollection > | transferPunchThroughMuonCleanedCandidates () |
virtual | ~PFAlgo () |
destructor More... | |
Protected Member Functions | |
virtual void | processBlock (const reco::PFBlockRef &blockref, std::list< reco::PFBlockRef > &hcalBlockRefs, std::list< reco::PFBlockRef > &ecalBlockRefs) |
Protected Member Functions inherited from PFAlgo | |
void | associatePSClusters (unsigned iEcal, reco::PFBlockElement::Type psElementType, const reco::PFBlock &block, const edm::OwnVector< reco::PFBlockElement > &elements, const reco::PFBlock::LinkData &linkData, std::vector< bool > &active, std::vector< double > &psEne) |
Associate PS clusters to a given ECAL cluster, and return their energy. More... | |
bool | isFromSecInt (const reco::PFBlockElement &eTrack, std::string order) const |
double | neutralHadronEnergyResolution (double clusterEnergy, double clusterEta) const |
todo: use PFClusterTools for this More... | |
double | nSigmaHCAL (double clusterEnergy, double clusterEta) const |
void | postCleaning () |
unsigned | reconstructCluster (const reco::PFCluster &cluster, double particleEnergy, bool useDirection=false, double particleX=0., double particleY=0., double particleZ=0.) |
unsigned | reconstructTrack (const reco::PFBlockElement &elt) |
Additional Inherited Members | |
Protected Attributes inherited from PFAlgo | |
std::auto_ptr < reco::PFCandidateCollection > | pfAddedMuonCandidates_ |
the collection of added muon candidates More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfCandidates_ |
std::auto_ptr < reco::PFCandidateCollection > | pfCleanedCandidates_ |
std::auto_ptr < reco::PFCandidateCollection > | pfCleanedTrackerAndGlobalMuonCandidates_ |
the collection of tracker/global cleaned muon candidates More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfCosmicsMuonCleanedCandidates_ |
the collection of cosmics cleaned muon candidates More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfElectronCandidates_ |
the unfiltered electron collection More... | |
reco::PFCandidateElectronExtraCollection | pfElectronExtra_ |
the unfiltered electron collection More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfFakeMuonCleanedCandidates_ |
the collection of fake cleaned muon candidates More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfPhotonCandidates_ |
the unfiltered photon collection More... | |
reco::PFCandidatePhotonExtraCollection | pfPhotonExtra_ |
the extra photon collection More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfPunchThroughHadronCleanedCandidates_ |
the collection of punch-through cleaned neutral hadron candidates More... | |
std::auto_ptr < reco::PFCandidateCollection > | pfPunchThroughMuonCleanedCandidates_ |
the collection of punch-through cleaned muon candidates More... | |
Particle Flow Algorithm test bench for the electron team.
Definition at line 18 of file PFAlgoTestBenchElectrons.h.
|
inline |
|
inlinevirtual |
|
protectedvirtual |
process one block. can be reimplemented in more sophisticated algorithms
Reimplemented from PFAlgo.
Definition at line 11 of file PFAlgoTestBenchElectrons.cc.
References reco::PFBlock::associatedElements(), createPayload::block, reco::PFBlockElement::BREM, reco::PFBlockElement::ECAL, reco::PFBlock::elements(), asciidump::elements, first, reco::PFBlockElement::GSF, getHLTprescales::index, reco::PFBlock::linkData(), edm::OwnVector< T, P >::push_back(), edm::second(), edm::OwnVector< T, P >::size(), and funct::true.