#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 LayerCollector::allLayers(), myFastSimVal::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), JetValidation::analyze(), ElectronAnalyzer::analyze(), CaloJetTesterUnCorr::analyze(), JPTJetTesterUnCorr::analyze(), PFJetTesterUnCorr::analyze(), CaloJetTester::analyze(), CaloJetTesterUnCorr_HeavyIons::analyze(), PFJetTester::analyze(), JPTJetTester::analyze(), TkAlCaRecoMonitor::analyze(), ZMuMuPerformances::analyze(), VVVValidation::analyze(), ElectronSeedAnalyzer::analyze(), HLTTrack::analyze(), QcdPhotonsDQM::analyze(), HcalCorrPFCalculation::analyze(), MCEfficiencyAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), ContainmentCorrectionAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), TauTagValidation::analyze(), HLTMuonMatchAndPlot::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), PhotonAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), ggPFClusters::BasicClusterPFCandLink(), PFRecoTauAlgorithm::buildPFTau(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), FWInvMassDialog::Calculate(), SurveyResidual::calculate(), ResolutionAnalyzer::checkDeltaR(), MuScleFit::checkDeltaR(), AlignmentGlobalTrackSelector::checkIsolation(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), EgammaSuperClusters::closestMCParticle(), TCMETAlgo::closeToElectron(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), compEcalEnergySum(), compHcalEnergySum(), CATopJetAlgorithm::decomposeJet(), pat::DiObjectProxy::deltaR(), muonisolation::PixelTrackExtractor::deposit(), PFTauExtractor::depositFromObject(), PFCandWithSuperClusterExtractor::depositFromObject(), SelectReplacementCandidates::determineMuonsToUse(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PFRecoTauDiscriminationAgainstMuon2::discriminate(), HiggsDQM::Distance(), PF_PU_AssoMapAlgos::dR(), GenericBenchmark::fill(), TopElectronHLTOfflineSource::fill(), SoftPFElectronTagInfoProducer::fillElecProperties(), GenericBenchmark::fillHistos(), EmDQM::fillHistos(), EmDQMReco::fillHistos(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), SoftPFMuonTagInfoProducer::fillMuonProperties(), JPTJetAnalyzer::fillTrackHistograms(), RecoTauDifferenceAnalyzer::filter(), pat::CaloJetSelector::filter(), HighETPhotonsFilterAlgo::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(), FlavorHistoryProducer::getClosestJet(), ConversionFinder::getConversionInfo(), ConversionFinder::getConversionInfos(), HSCParticleProducer::getHSCPSeedCollection(), EcalElectronicsMapping::GetListofFEDs(), ParticleTowerProducer::getNearestTower(), ggPFPhotons::ggPFPhotons(), HLTHcalNoiseFilter::hltFilter(), HLTDiMuonGlbTrkFilter::hltFilter(), CurrentAlignmentKFUpdator::includeCurrentAlignmentEstimate(), pftools::CaloWindow::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), PFIsolationEstimator::isChargedParticleVetoed(), ConversionSeedFilter::isCompatible(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), GoodSeedProducer::IsIsolated(), IsMuMatchedToHLTMu(), EwkMuLumiMonitorDQM::IsMuMatchedToHLTMu(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), BTagHLTOfflineSource::isMuonJet(), PFIsolationEstimator::isNeutralParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), main(), GlobalMuonTrackMatcher::match(), HLTMuonMatchAndPlot::matchByDeltaR(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), JetPlusTrackCorrector::matchElectrons(), PFIsolationEstimator::matchPFObject(), AlignmentGlobalTrackSelector::matchTracks(), MatcherUsingTracksAlgorithm::matchWithPropagation(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), TrkCalIsolationAlgo< T1, C2 >::operator()(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), PtIsolationAlgo< T, C >::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< T >::operator()(), ggPFPhotons::PhotonPFCandMatch(), L25TauAnalyzer::printInfo(), PFRootEventManager::printMCCalib(), PFJetBenchmark::process(), MuonWithPFIsoProducer::produce(), IsoTracks::produce(), IPTCorrector::produce(), IsolatedPixelTrackCandidateProducer::produce(), L3MuonCandidateProducer::produce(), ShiftedPFCandidateProducerForPFMEtMVA::produce(), AlCaHcalNoiseProducer::produce(), JetPlusTrackProducer::produce(), ConversionSeedFilterCharge::produce(), HLTJetCollectionsForLeptonPlusJets< jetType >::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), AlCaIsoTracksProducer::produce(), ObjectViewMatcher< T1, T2 >::produce(), JetPlusTrackProducerAA::produce(), ObjectViewCleaner< T >::produce(), ProduceIsolationMap::produce(), TriggerMatcherToHLTDebug::produce(), HemisphereAlgo::reconstruct(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), TauMETAlgo::run(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), ggPFPhotons::SuperClusterSize(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TtFullHadSignalSel::TtFullHadSignalSel(), and SimpleNavigableLayer::wellInside().