#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(), PFJetTester::analyze(), JPTJetTester::analyze(), TkAlCaRecoMonitor::analyze(), IsoTrig::analyze(), ZMuMuPerformances::analyze(), VVVValidation::analyze(), ElectronSeedAnalyzer::analyze(), HLTTrack::analyze(), QcdPhotonsDQM::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), ContainmentCorrectionAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), Rivet::CMS_EWK_11_021::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), HLTMuonMatchAndPlot::analyze(), TauTagValidation::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), PhotonAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS::analyze(), Rivet::CMS_EWK_10_012::analyze(), EgammaObjects::analyzeElectrons(), ExoticaDQM::analyzeMultiJets(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), 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(), PFHcalSuperClusterAlgo::doClusteringWorker(), 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(), HLTMuonPlotter::findMatches(), TtSemiLepHypGenMatch::findMatchingLepton(), TtFullLepHypGenMatch::findMatchingLepton(), UpdatedMuonInnerTrackRef::findNewRef(), FlavorHistoryProducer::getClosestJet(), ConversionFinder::getConversionInfo(), ConversionFinder::getConversionInfos(), HSCParticleProducer::getHSCPSeedCollection(), EcalElectronicsMapping::GetListofFEDs(), ParticleTowerProducer::getNearestTower(), HLTHcalNoiseFilter::hltFilter(), HLTDiMuonGlbTrkFilter::hltFilter(), CurrentAlignmentKFUpdator::includeCurrentAlignmentEstimate(), pftools::CaloWindow::init(), ConversionSeedFilter::isCompatible(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), GoodSeedProducer::IsIsolated(), IsMuMatchedToHLTMu(), EwkMuLumiMonitorDQM::IsMuMatchedToHLTMu(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), BTagHLTOfflineSource::isMuonJet(), main(), GlobalMuonTrackMatcher::match(), HLTMuonMatchAndPlot::matchByDeltaR(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), JetPlusTrackCorrector::matchElectrons(), 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()(), 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(), MuonPFAnalyzer::recoToGenMatch(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TtFullHadSignalSel::TtFullHadSignalSel(), and SimpleNavigableLayer::wellInside().