Go to the documentation of this file.
31 using namespace isodeposit;
40 void endJob()
override;
47 unsigned long selGlobal_, selSA_, totGlobal_,
totSA_;
57 dRVeto(
cfg.getParameter<double>(
"veto")),
58 dRTrk(
cfg.getParameter<double>(
"deltaRTrk")),
59 dREcal(
cfg.getParameter<double>(
"deltaREcal")),
60 dRHcal(
cfg.getParameter<double>(
"deltaRHcal")),
64 alpha(
cfg.getParameter<double>(
"alpha")),
65 beta(
cfg.getParameter<double>(
"beta")),
66 isoCut_(
cfg.getParameter<double>(
"isoCut")),
101 if (
isolated(
dir, trkIsoDep, ecalIsoDep, hcalIsoDep))
109 if (
isolated(
dir, trkIsoDep, ecalIsoDep, hcalIsoDep))
118 for (
unsigned int i = 0;
i <
dimuons->size(); ++
i) {
126 cout <<
"Isolation efficiency report:" << endl;
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
alpha
zGenParticlesMatch = cms.InputTag(""),
T get() const
get a component
Analysis-level muon class.
void evaluate(const reco::Candidate *dau)
EDGetTokenT< CandidateView > srcToken_
stand alone muon component tag
#define DEFINE_FWK_MODULE(type)
isodeposit::AbsVetos AbsVetos
ZGlobalVsSAIsolationAnalyzer(const edm::ParameterSet &cfg)
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
XYZVectorD XYZVector
spatial vector with cartesian internal representation
double sumWithin(double coneSize, const AbsVetos &vetos=AbsVetos(), bool skipDepositVeto=false) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
bool isolated(const Direction &dir, const pat::IsoDeposit *trkIsoDep, const pat::IsoDeposit *ecalIsoDep, const pat::IsoDeposit *hcalIsoDep)
virtual const CandidateBaseRef & masterClone() const =0