#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(), JetValidation::analyze(), HLTMuonMatchAndPlot::analyze(), IsoTrig::analyze(), Rivet::CMS_EWK_10_012::analyze(), GsfElectronDataAnalyzer::analyze(), TauTagValidation::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), Rivet::CMS_EWK_11_021::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(), WenuPlots::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), ZMuMuPerformances::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ContainmentCorrectionAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), ZeePlots::analyze(), ElectronSeedAnalyzer::analyze(), JPTJetTesterUnCorr::analyze(), myFastSimVal::analyze(), HLTMonHcalIsoTrack::analyze(), VVVValidation::analyze(), QcdPhotonsDQM::analyze(), PFJetTester::analyze(), CaloJetTester::analyze(), TopHLTDiMuonDQM::analyze(), MuonAlignmentAnalyzer::analyze(), DQMAnalyzer::analyze(), PFJetTesterUnCorr::analyze(), CaloJetTesterUnCorr::analyze(), HLTTrack::analyze(), GsfElectronFakeAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), ExoticaDQM::analyzeMultiJets(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), PFRecoTauAlgorithm::buildPFTau(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), SurveyResidual::calculate(), FWInvMassDialog::Calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), ResolutionAnalyzer::checkDeltaR(), MuScleFit::checkDeltaR(), AlignmentGlobalTrackSelector::checkIsolation(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), EgammaSuperClusters::closestMCParticle(), TCMETAlgo::closeToElectron(), MuRingForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), compEcalEnergySum(), compHcalEnergySum(), PileupJetIdAlgo::computeIdVariables(), PFRecoTauDiscriminationByMVAIsolation::computeIsoRings(), CATopJetAlgorithm::decomposeJet(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::JetExtractor::deposit(), muonisolation::CaloExtractor::deposit(), PFCandWithSuperClusterExtractor::depositFromObject(), PFTauExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), SelectReplacementCandidates::determineMuonsToUse(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PFRecoTauDiscriminationAgainstMuon2::discriminate(), HiggsDQM::Distance(), PFHcalSuperClusterAlgo::doClusteringWorker(), PF_PU_AssoMapAlgos::dR(), GenericBenchmark::fill(), TopElectronHLTOfflineSource::fill(), SoftPFElectronTagInfoProducer::fillElecProperties(), EmDQM::fillHistos(), EmDQMReco::fillHistos(), GenericBenchmark::fillHistos(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), SoftPFMuonTagInfoProducer::fillMuonProperties(), 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(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), 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(), PFCandidateMixer::mix(), AntiElectronIDMVA3::MVAValue(), AntiElectronIDMVA2::MVAValue(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), DeltaR< math::XYZVector, math::XYZPoint >::operator()(), PtIsolationAlgo< T, C >::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< T >::operator()(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), TrkCalIsolationAlgo< T1, C2 >::operator()(), deltaRSorter< T, U >::operator()(), L25TauAnalyzer::printInfo(), PFRootEventManager::printMCCalib(), PFJetBenchmark::process(), PFSuperClusterTreeMaker::processSuperClusterFillTree(), MuonWithPFIsoProducer::produce(), HLTJetCollectionsForLeptonPlusJets< jetType >::produce(), AlCaHcalNoiseProducer::produce(), L3MuonCandidateProducer::produce(), JetPlusTrackProducerAA::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), JetPlusTrackProducer::produce(), ObjectViewCleaner< T >::produce(), AlCaIsoTracksProducer::produce(), ShiftedPFCandidateProducerForPFMEtMVA::produce(), TriggerMatcherToHLTDebug::produce(), IsoTracks::produce(), ProduceIsolationMap::produce(), ObjectViewMatcher< T1, T2 >::produce(), IPTCorrector::produce(), IsolatedPixelTrackCandidateProducer::produce(), ElectronMatchedCandidateProducer::produce(), ConversionSeedFilterCharge::produce(), ZmumuPFEmbedder::producePFCandColl(), ZmumuPFEmbedder::produceTrackColl(), HemisphereAlgo::reconstruct(), MuonPFAnalyzer::recoToGenMatch(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), BtoCharmDecayVertexMerger::resolveBtoDchain(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TrackVertexArbitration::trackVertexArbitrator(), TtFullHadSignalSel::TtFullHadSignalSel(), SimpleNavigableLayer::wellInside(), and VirtualJetProducer::writeJets().