#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(), ElectronMcFakeValidator::analyze(), ElectronAnalyzer::analyze(), Rivet::CMS_EWK_10_012::analyze(), HLTMuonMatchAndPlot::analyze(), JetValidation::analyze(), TauTagValidation::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), MCEfficiencyAnalyzer::analyze(), PFTauHLTTest::analyze(), ErsatzMEt::analyze(), JPTJetTester::analyze(), HcalCorrPFCalculation::analyze(), TkAlCaRecoMonitor::analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS::analyze(), PhotonAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), WenuPlots::analyze(), PatBJetVertexAnalyzer::analyze(), PatElectronAnalyzer::analyze(), ZMuMuPerformances::analyze(), ContainmentCorrectionAnalyzer::analyze(), ZeePlots::analyze(), ElectronSeedAnalyzer::analyze(), HLTMonHcalIsoTrack::analyze(), HLTMuonDQMSource::analyze(), myFastSimVal::analyze(), QcdPhotonsDQM::analyze(), PatBJetTrackAnalyzer::analyze(), PFJetTester::analyze(), CaloJetTester::analyze(), MuonAlignmentAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), HLTTrack::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), PFRecoTauAlgorithm::buildPFTau(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), SurveyResidual::calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), MuScleFit::checkDeltaR(), ResolutionAnalyzer::checkDeltaR(), AlignmentGlobalTrackSelector::checkIsolation(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), EgammaSuperClusters::closestMCParticle(), TCMETAlgo::closeToElectron(), MuRingForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), compEcalEnergySum(), compHcalEnergySum(), CATopJetAlgorithm::decomposeJet(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::JetExtractor::deposit(), muonisolation::CaloExtractor::deposit(), PFTauExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), PFRecoTauDiscriminationByHPSSelection::discriminate(), HiggsDQM::Distance(), GenericBenchmark::fill(), TopElectronHLTOfflineSource::fill(), EmDQMReco::fillHistos(), EmDQM::fillHistos(), GenericBenchmark::fillHistos(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), pat::helper::BasicOverlapTest::fillOverlapsForItem(), JPTJetAnalyzer::fillTrackHistograms(), muonisolation::CaloExtractor::fillVetos(), HLTHcalNoiseFilter::filter(), pat::CaloJetSelector::filter(), ZeeCandidateFilter::filter(), CSCEfficiency::filter(), MCParticlePairFilter::filter(), HSCParticleProducer::filter(), HLTDiMuonGlbTrkFilter::filter(), HeavyChHiggsToTauNuSkim::filter(), RecoTauDifferenceAnalyzer::filter(), HighETPhotonsFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), HepMCValidationHelper::findFSRPhotons(), HLTMuonValidator::findMatches(), TtSemiLepHypGenMatch::findMatchingLepton(), TtFullLepHypGenMatch::findMatchingLepton(), UpdatedMuonInnerTrackRef::findNewRef(), FlavorHistoryProducer::getClosestJet(), PileUpSubtractor::getCone(), ConversionFinder::getConversionInfo(), ConversionFinder::getConversionInfos(), HSCParticleProducer::getHSCPSeedCollection(), TtDilepEvtSolution::getJetResidual(), TtDilepEvtSolution::getLeptonResidual(), EcalElectronicsMapping::GetListofFEDs(), CurrentAlignmentKFUpdator::includeCurrentAlignmentEstimate(), pftools::CaloWindow::init(), DiskSectorBounds::inside(), SimpleDiskBounds::inside(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), ConversionSeedFilter::isCompatible(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), GoodSeedProducer::IsIsolated(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), BTagHLTOfflineSource::isMuonJet(), main(), HLTTauDQMTrkPlotter::match(), HLTMuonMatchAndPlot::matchByDeltaR(), JetPlusTrackCorrector::matchElectrons(), ConversionTools::matchesConversion(), AlignmentGlobalTrackSelector::matchTracks(), DeltaR< math::XYZVector, math::XYZPoint >::operator()(), Match::operator()(), PtIsolationAlgo< T, C >::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), TrkCalIsolationAlgo< T1, C2 >::operator()(), deltaRSorter< T, U >::operator()(), L25TauAnalyzer::printInfo(), PFRootEventManager::printMCCalib(), PFJetBenchmark::process(), HLTJetCollectionsForLeptonPlusJets::produce(), MuonWithPFIsoProducer::produce(), AlCaHcalNoiseProducer::produce(), L3MuonCandidateProducer::produce(), JetPlusTrackProducerAA::produce(), ObjectViewCleaner< T >::produce(), JetPlusTrackProducer::produce(), AlCaIsoTracksProducer::produce(), TrackVertexArbitrator::produce(), ProduceIsolationMap::produce(), ObjectViewMatcher< T1, T2 >::produce(), IPTCorrector::produce(), IsolatedPixelTrackCandidateProducer::produce(), ElectronMatchedCandidateProducer::produce(), ConversionSeedFilterCharge::produce(), HemisphereAlgo::reconstruct(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), TauMETAlgo::run(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TtFullHadSignalSel::TtFullHadSignalSel(), SimpleNavigableLayer::wellInside(), and VirtualJetProducer::writeJets().