#include "RecoParticleFlow/PFClusterTools/interface/TreeUtility.h"
#include "TBranch.h"
#include "TTree.h"
#include "DataFormats/ParticleFlowReco/interface/Calibratable.h"
#include <cmath>
#include <fstream>
#include <iostream>
#include <TF1.h>
Go to the source code of this file.
Functions | |
double | deltaR (double eta1, double eta2, double phi1, double phi2) |
double deltaR | ( | double | eta1, |
double | eta2, | ||
double | phi1, | ||
double | phi2 | ||
) |
Definition at line 17 of file TreeUtility.cc.
References funct::pow(), and mathSSE::sqrt().
Referenced by Muon.Muon::absIsoWithFSR(), Electron.Electron::absIsoWithFSR(), LayerCollector::allLayers(), myFastSimVal::analyze(), JetValidation::analyze(), PatElectronAnalyzer::analyze(), TrackTypeMonitor::analyze(), TkAlCaRecoMonitor::analyze(), PatBJetTrackAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), QcdPhotonsDQM::analyze(), PatBJetVertexAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), ElectronAnalyzer::analyze(), ZMuMuPerformances::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), JetTester::analyze(), MuonAlignmentAnalyzer::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), ContainmentCorrectionAnalyzer::analyze(), DQMExample_Step1::analyze(), METplusTrackMonitor::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), TopMonitor::analyze(), HLTMuonMatchAndPlot::analyze(), PhotonValidator::analyze(), JetTester_HeavyIons::analyze(), TauTagValidation::analyze(), JetAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), PhotonAnalyzer::analyze(), HLTObjectsMonitor::analyze(), ExoticaDQM::analyzeDiElectrons(), ExoticaDQM::analyzeDiJets(), ExoticaDQM::analyzeDiMuons(), ExoticaDQM::analyzeDiPhotons(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), badGlobalMuonTaggerFWLite.BadGlobalMuonTagger::badMuons(), PFRecoTauAlgorithm::buildPFTau(), FWInvMassDialog::Calculate(), PFBlockBasedIsolation::calculate(), SurveyResidual::calculate(), LeptonJetVarProducer< T >::calculatePtRatioRel(), PrimaryVertexAssignment::chargedHadronVertex(), ResolutionAnalyzer::checkDeltaR(), MuScleFit::checkDeltaR(), AlignmentGlobalTrackSelector::checkIsolation(), objects.PhotonAnalyzer.PhotonAnalyzer::checkMatch(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), IsoTrig::chgIsolation(), GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), EgammaSuperClusters::closestMCParticle(), TCMETAlgo::closeToElectron(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), pat::MuonMvaEstimator::computeMva(), objects.PhotonAnalyzer.PhotonAnalyzer::computeRandomCone(), CATopJetAlgorithm::decomposeJet(), pat::DiObjectProxy::deltaR(), muonisolation::PixelTrackExtractor::deposit(), PFTauExtractor::depositFromObject(), PFCandWithSuperClusterExtractor::depositFromObject(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PATTauDiscriminationAgainstElectronMVA6::discriminate(), HiggsDQM::Distance(), DQMExample_Step1::Distance(), PF_PU_AssoMapAlgos::dR(), HLTObjectMonitor::dxyFinder(), HLTObjectsMonitor::dxyFinder(), HLTObjectsMonitor::dzFinder(), IsolatedGenParticles::endJob(), GenericBenchmark::fill(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), CombinedSVComputer::fillCommonVariables(), L1TEGammaOffline::fillElectrons(), HistoFillerReco< T >::fillHistos(), HistoFiller< T >::fillHistos(), GenericBenchmark::fillHistos(), L1TStage2CaloLayer2Offline::fillJets(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), L1TEGammaOffline::fillPhotons(), RecoTauDifferenceAnalyzer::filter(), HighETPhotonsFilterAlgo::filter(), pat::CaloJetSelector::filter(), HeavyChHiggsToTauNuSkim::filter(), MCParticlePairFilter::filter(), HSCParticleProducer::filter(), CSCEfficiency::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), HepMCValidationHelper::findFSRPhotons(), GenHFHadronMatcher::findHadronJets(), HLTMuonPlotter::findMatches(), TtSemiLepHypGenMatch::findMatchingLepton(), TtFullLepHypGenMatch::findMatchingLepton(), UpdatedMuonInnerTrackRef::findNewRef(), L1MuonMatcherAlgo::genericQuality(), pat::PATIsolatedTrackProducer::getCaloJetEnergy(), FlavorHistoryProducer::getClosestJet(), ConversionFinder::getConversionInfo(), ConversionFinder::getConversionInfos(), HSCParticleProducer::getHSCPSeedCollection(), pat::PATIsolatedTrackProducer::getIsolation(), EcalElectronicsMapping::GetListofFEDs(), dqmoffline::l1t::getMatchedTriggerObjects(), pat::getMiniPFIsolation(), pat::PATIsolatedTrackProducer::getNearestPCRef(), ParticleTowerProducer::getNearestTower(), pat::PATIsolatedTrackProducer::getPFLeptonOverlap(), pat::PATIsolatedTrackProducer::getPFNeutralSum(), HcalPFClusterIsolation< T1 >::getSum(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrkFilter::hltFilter(), HLTMuonTrkL1TFilter::hltFilter(), HLTHcalNoiseFilter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), pftools::CaloWindow::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), ConversionSeedFilter::isCompatible(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), IsMuMatchedToHLTMu(), EwkMuLumiMonitorDQM::IsMuMatchedToHLTMu(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), PFPhotonIsolationCalculator::isNeutralParticleVetoed(), PFIsolationEstimator::isNeutralParticleVetoed(), PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), main(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer::makeBPartons(), objects.IsoTrackAnalyzer.IsoTrackAnalyzer::makeIsoTrack(), objects.IsoTrackAnalyzer::makeNearestLeptons(), objects.TauAnalyzer.TauAnalyzer::makeTaus(), L1MuonMatcherAlgo::match(), pat::GenJetMatcher::match(), GlobalMuonTrackMatcher::match(), L1Muon2RecoTreeProducer::match_trigger(), L1MuonRecoTreeProducer::match_trigger(), HLTMuonMatchAndPlot::matchByDeltaR(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), JetPlusTrackCorrector::matchElectrons(), L1TMuonDQMOffline::matchHlt(), L1TTauOffline::matchHlt(), objects.LeptonAnalyzer.LeptonAnalyzer::matchLeptons(), PuppiPhoton::matchPFCandidate(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), objects.PhotonAnalyzer.PhotonAnalyzer::matchPhotons(), objects.LeptonAnalyzer.LeptonAnalyzer::matchToPhotons(), AlignmentGlobalTrackSelector::matchTracks(), MatcherUsingTracksAlgorithm::matchWithPropagation(), AntiElectronIDMVA5::MVAValue(), AntiElectronIDMVA6::MVAValue(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), TrkCalIsolationAlgo< T1, C2 >::operator()(), PtIsolationAlgo< T, C >::operator()(), GhostTrackComputer::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), reco::VertexFilter::operator()(), HLTmumutktkVtxProducer::overlap(), HLTmumutkVtxProducer::overlap(), ListGroups::overlayEtaReferences(), PFJetBenchmark::process(), Matcher.Matcher::process(), PseudoTopProducer::produce(), IsoTracks::produce(), MuonWithPFIsoProducer::produce(), IPTCorrector::produce(), L1THLTTauMatching::produce(), L1HLTTauMatching::produce(), JetCoreClusterSplitter::produce(), EgammaHLTPFChargedIsolationProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), EgammaHLTPFPhotonIsolationProducer::produce(), L3MuonCandidateProducer::produce(), HLTMuonTrackSelector::produce(), ConversionSeedFilterCharge::produce(), JetPlusTrackProducer::produce(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::produce(), HLTJetCollectionsForLeptonPlusJets< jetType >::produce(), HiGenCleaner< T2 >::produce(), GenJetFlavourTableProducer::produce(), AlCaHcalNoiseProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ObjectViewMatcher< T1, T2 >::produce(), PFRecoTauChargedHadronProducer::produce(), JetPlusTrackProducerAA::produce(), ObjectViewCleaner< T >::produce(), ProduceIsolationMap::produce(), TriggerMatcherToHLTDebug::produce(), HemisphereAlgo::reconstruct(), heppy::Hemisphere::Reconstruct(), RecoTauJetRegionProducer::RecoTauJetRegionProducer(), MuonPFAnalyzer::recoToGenMatch(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain(), DynamicRfilt::result(), cms::CSJetProducer::runAlgorithm(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), HepMCValidationHelper::sortByPseudoRapidity(), IsoTrig::studyIsolation(), IsoTrig::studyTiming(), IsoTrig::studyTrigger(), SoftLepton::tag(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::taggingVariables(), DiLeptonAnalyzer.DiLeptonAnalyzer::testDeltaR(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TrackVertexArbitration< VTX >::trackVertexArbitrator(), TtFullHadSignalSel::TtFullHadSignalSel(), SimpleNavigableLayer::wellInside(), and MatcherUsingTracksAlgorithm::~MatcherUsingTracksAlgorithm().