#include "DataFormats/Common/interface/AssociationVector.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "DataFormats/Candidate/interface/CandMatchMap.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "DataFormats/Candidate/interface/Particle.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "DataFormats/Candidate/interface/CandidateFwd.h"
#include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "DataFormats/Candidate/interface/OverlapChecker.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "DataFormats/PatCandidates/interface/Muon.h"
#include "DataFormats/PatCandidates/interface/GenericParticle.h"
#include "DataFormats/PatCandidates/interface/TriggerObjectStandAlone.h"
#include "DataFormats/PatCandidates/interface/PATObject.h"
#include "DataFormats/RecoCandidate/interface/IsoDeposit.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositFwd.h"
#include "DataFormats/PatCandidates/interface/Isolation.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositVetos.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositDirection.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include <vector>
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Candidate/interface/CandAssociation.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include <iostream>
#include <iterator>
#include <cmath>
#include "FWCore/Framework/interface/MakerMacros.h"
Go to the source code of this file.
Classes | |
class | ZMuMu_MCanalyzer |
Typedefs | |
typedef edm::ValueMap< float > | IsolationCollection |
Functions | |
double | candidateIsolation (const reco::Candidate *c, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta, bool relativeIsolation) |
DEFINE_FWK_MODULE (ZMuMu_MCanalyzer) | |
template<typename T > | |
double | isolation (const T *t, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta, bool relativeIsolation) |
typedef edm::ValueMap<float> IsolationCollection |
Definition at line 169 of file ZMuMu_MCanalyzer.cc.
double candidateIsolation | ( | const reco::Candidate * | c, |
double | ptThreshold, | ||
double | etEcalThreshold, | ||
double | etHcalThreshold, | ||
double | dRVetoTrk, | ||
double | dRTrk, | ||
double | dREcal, | ||
double | dRHcal, | ||
double | alpha, | ||
double | beta, | ||
bool | relativeIsolation | ||
) |
Definition at line 137 of file ZMuMu_MCanalyzer.cc.
References edm::hlt::Exception, edm::errors::InvalidReference, reco::Candidate::masterClone(), and RPCpg::mu.
Referenced by ZMuMu_MCanalyzer::analyze().
DEFINE_FWK_MODULE | ( | ZMuMu_MCanalyzer | ) |
double isolation | ( | const T * | t, |
double | ptThreshold, | ||
double | etEcalThreshold, | ||
double | etHcalThreshold, | ||
double | dRVetoTrk, | ||
double | dRTrk, | ||
double | dREcal, | ||
double | dRHcal, | ||
double | alpha, | ||
double | beta, | ||
bool | relativeIsolation | ||
) |
Definition at line 101 of file ZMuMu_MCanalyzer.cc.
References beta, dir, pat::EcalIso, pat::HcalIso, reco::IsoDeposit::sumWithin(), and pat::TrackIso.