#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(), HLTMuonMatchAndPlot::analyze(), Rivet::CMS_EWK_10_012::analyze(), JetValidation::analyze(), TauTagValidation::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), MCEfficiencyAnalyzer::analyze(), HLTInclusiveVBFSource::analyze(), ErsatzMEt::analyze(), JPTJetTester::analyze(), TkAlCaRecoMonitor::analyze(), HcalCorrPFCalculation::analyze(), PhotonAnalyzer::analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS::analyze(), ElectronMcSignalValidator::analyze(), RPCPhiEff::analyze(), PatElectronAnalyzer::analyze(), PatBJetVertexAnalyzer::analyze(), WenuPlots::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), ZMuMuPerformances::analyze(), ContainmentCorrectionAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), ZeePlots::analyze(), ElectronSeedAnalyzer::analyze(), HLTMonHcalIsoTrack::analyze(), myFastSimVal::analyze(), PatBJetTrackAnalyzer::analyze(), QcdPhotonsDQM::analyze(), PFJetTester::analyze(), CaloJetTester::analyze(), TopHLTDiMuonDQM::analyze(), MuonAlignmentAnalyzer::analyze(), HLTTrack::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), 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(), PFCandWithSuperClusterExtractor::depositFromObject(), PFTauExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), SelectReplacementCandidates::determineMuonsToUse(), 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(), pat::CaloJetSelector::filter(), ZeeCandidateFilter::filter(), CSCEfficiency::filter(), MCParticlePairFilter::filter(), HSCParticleProducer::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(), ParticleTowerProducer::getNearestTower(), HLTHcalNoiseFilter::hltFilter(), HLTDiMuonGlbTrkFilter::hltFilter(), 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(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), main(), HLTMuonMatchAndPlot::matchByDeltaR(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), JetPlusTrackCorrector::matchElectrons(), ConversionTools::matchesConversion(), AlignmentGlobalTrackSelector::matchTracks(), MatcherUsingTracksAlgorithm::matchWithPropagation(), 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< jetType >::produce(), MuonWithPFIsoProducer::produce(), PFCandidateMixer::produce(), AlCaHcalNoiseProducer::produce(), L3MuonCandidateProducer::produce(), JetPlusTrackProducerAA::produce(), ObjectViewCleaner< T >::produce(), JetPlusTrackProducer::produce(), AlCaIsoTracksProducer::produce(), TriggerMatcherToHLTDebug::produce(), IsoTracks::produce(), ProduceIsolationMap::produce(), ObjectViewMatcher< T1, T2 >::produce(), IPTCorrector::produce(), ElectronMatchedCandidateProducer::produce(), IsolatedPixelTrackCandidateProducer::produce(), ConversionSeedFilterCharge::produce(), ZmumuPFEmbedder::producePFCandColl(), ZmumuPFEmbedder::produceTrackColl(), 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(), TrackVertexArbitration::trackVertexArbitrator(), TtFullHadSignalSel::TtFullHadSignalSel(), SimpleNavigableLayer::wellInside(), and VirtualJetProducer::writeJets().