#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(), JetValidation::analyze(), PatElectronAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), TrackTypeMonitor::analyze(), TkAlCaRecoMonitor::analyze(), PatBJetTrackAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), QcdPhotonsDQM::analyze(), ElectronMcFakeValidator::analyze(), PatBJetVertexAnalyzer::analyze(), HLTTrack::analyze(), ElectronAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), ZMuMuPerformances::analyze(), GsfElectronFakeAnalyzer::analyze(), DQMAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), JetTester::analyze(), MuonAlignmentAnalyzer::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), ContainmentCorrectionAnalyzer::analyze(), DQMExample_Step1::analyze(), SusyDQM< Mu, Ele, Jet, Met >::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), TauTagValidation::analyze(), JetAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), PhotonAnalyzer::analyze(), MCEmbeddingValidationAnalyzer::analyze(), ExoticaDQM::analyzeDiElectrons(), ExoticaDQM::analyzeDiJets(), ExoticaDQM::analyzeDiMuons(), ExoticaDQM::analyzeDiPhotons(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), L2MuonSeedGenerator::associateOfflineSeedToL1(), PFRecoTauAlgorithm::buildPFTau(), FWInvMassDialog::Calculate(), PFBlockBasedIsolation::calculate(), SurveyResidual::calculate(), PrimaryVertexAssignment::chargedHadronVertex(), ResolutionAnalyzer::checkDeltaR(), MuScleFit::checkDeltaR(), AlignmentGlobalTrackSelector::checkIsolation(), objects.PhotonAnalyzer.PhotonAnalyzer::checkMatch(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), IsoTrig::chgIsolation(), GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), EgammaSuperClusters::closestMCParticle(), TCMETAlgo::closeToElectron(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuonRadiationFilter::compCaloEnECAL(), MuonRadiationFilter::compPFIso_raw(), objects.PhotonAnalyzer.PhotonAnalyzer::computeRandomCone(), CATopJetAlgorithm::decomposeJet(), pat::DiObjectProxy::deltaR(), muonisolation::PixelTrackExtractor::deposit(), PFTauExtractor::depositFromObject(), PFCandWithSuperClusterExtractor::depositFromObject(), SelectReplacementCandidates::determineMuonsToUse(), PFRecoTauDiscriminationByHPSSelection::discriminate(), HiggsDQM::Distance(), DQMExample_Step1::Distance(), PF_PU_AssoMapAlgos::dR(), HLTObjectMonitor::dxyFinder(), GenericBenchmark::fill(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), CombinedSVComputer::fillCommonVariables(), PFMuonCaloCleaner::fillEnergyDepositMap(), MCEmbeddingValidationAnalyzer::leptonDistributionT< T >::fillHistograms(), MCEmbeddingValidationAnalyzer::electronDistributionExtra::fillHistograms(), MCEmbeddingValidationAnalyzer::tauDistributionExtra::fillHistograms(), MCEmbeddingValidationAnalyzer::leptonEfficiencyT< T >::fillHistograms(), MCEmbeddingValidationAnalyzer::leptonL1TriggerEfficiencyT1T2< T1, T2 >::fillHistograms(), HistoFillerReco< T >::fillHistos(), HistoFiller< T >::fillHistos(), GenericBenchmark::fillHistos(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), RecoTauDifferenceAnalyzer::filter(), HighETPhotonsFilterAlgo::filter(), pat::CaloJetSelector::filter(), MuonRadiationFilter::filter(), GenMuonRadiationFilter::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(), JetReCalibrator.Type1METCorrection::getMETCorrection(), ParticleTowerProducer::getNearestTower(), HcalPFClusterIsolation< T1 >::getSum(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrkFilter::hltFilter(), HLTHcalNoiseFilter::hltFilter(), CurrentAlignmentKFUpdator::includeCurrentAlignmentEstimate(), pftools::CaloWindow::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), ConversionSeedFilter::isCompatible(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), IsMuMatchedToHLTMu(), EwkMuLumiMonitorDQM::IsMuMatchedToHLTMu(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), PFPhotonIsolationCalculator::isNeutralParticleVetoed(), PFIsolationEstimator::isNeutralParticleVetoed(), PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), main(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer::makeBPartons(), objects.IsoTrackAnalyzer.IsoTrackAnalyzer::makeIsoTrack(), objects.IsoTrackAnalyzer::makeNearestLeptons(), objects.TauAnalyzer.TauAnalyzer::makeTaus(), GlobalMuonTrackMatcher::match(), HLTMuonMatchAndPlot::matchByDeltaR(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), JetPlusTrackCorrector::matchElectrons(), objects.LeptonAnalyzer.LeptonAnalyzer::matchLeptons(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), objects.PhotonAnalyzer.PhotonAnalyzer::matchPhotons(), AlignmentGlobalTrackSelector::matchTracks(), MatcherUsingTracksAlgorithm::matchWithPropagation(), AntiElectronIDMVA5::MVAValue(), TrkCalIsolationAlgo< T1, C2 >::operator()(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), PtIsolationAlgo< T, C >::operator()(), GhostTrackComputer::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), reco::VertexFilter::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< T >::operator()(), HLTmumutktkVtxProducer::overlap(), HLTmumutkVtxProducer::overlap(), PFJetBenchmark::process(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), L1HLTTauMatching::produce(), IsoTracks::produce(), JetCoreClusterSplitter::produce(), IPTCorrector::produce(), EgammaHLTPFChargedIsolationProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), EgammaHLTPFPhotonIsolationProducer::produce(), L3MuonCandidateProducer::produce(), ConversionSeedFilterCharge::produce(), JetPlusTrackProducer::produce(), HLTJetCollectionsForLeptonPlusJets< jetType >::produce(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::produce(), ParticleReplacerZtautau::produce(), AlCaHcalNoiseProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ElectronSeedTrackRefUpdaterAndMerger::produce(), ElectronSeedTrackRefUpdater::produce(), HiGenCleaner< T2 >::produce(), ObjectViewMatcher< T1, T2 >::produce(), PFRecoTauChargedHadronProducer::produce(), JetPlusTrackProducerAA::produce(), ObjectViewCleaner< T >::produce(), ProduceIsolationMap::produce(), TriggerMatcherToHLTDebug::produce(), HemisphereAlgo::reconstruct(), heppy::Hemisphere::Reconstruct(), RecoTauJetRegionProducer::RecoTauJetRegionProducer(), MuonPFAnalyzer::recoToGenMatch(), MuonTrackingRegionBuilder::region(), pftools::CaloWindow::relativePosition(), HepMCValidationHelper::removeIsolatedLeptons(), BtoCharmDecayVertexMerger::resolveBtoDchain(), DynamicRfilt::result(), RPCSeedPattern::SegmentAlgorithmSpecial(), SurveyResidual::sensorResidual(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), PFElToElAssMaker::SetVars(), IsoTrig::studyIsolation(), IsoTrig::studyTiming(), IsoTrig::studyTrigger(), SoftLepton::tag(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::taggingVariables(), DiLeptonAnalyzer.DiLeptonAnalyzer::testDeltaR(), EwkMuLumiMonitorDQM::tkIso(), reco::IsolatedTauTagInfo::tracksInCone(), TrackVertexArbitration< VTX >::trackVertexArbitrator(), TtFullHadSignalSel::TtFullHadSignalSel(), and SimpleNavigableLayer::wellInside().