CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PFCandIsolatorFromDeposits::SingleDeposit Class Reference

Public Member Functions

void cleanup ()
 
double compute (const reco::CandidateBaseRef &cand)
 
const reco::IsoDepositMapmap ()
 
void open (const edm::Event &iEvent, const edm::EventSetup &iSetup)
 
 SingleDeposit (const edm::ParameterSet &, edm::ConsumesCollector &&iC)
 

Private Member Functions

bool isNumber (const std::string &str) const
 
double toNumber (const std::string &str) const
 

Private Attributes

reco::isodeposit::AbsVetos barrelVetos_
 
double deltaR_
 
reco::isodeposit::AbsVetos endcapVetos_
 
reco::isodeposit::EventDependentAbsVetos evdepVetos_
 
edm::Handle< reco::IsoDepositMaphDeps_
 
Mode mode_
 
bool skipDefaultVeto_
 
edm::EDGetTokenT
< reco::IsoDepositMap
srcToken_
 
bool usePivotForBarrelEndcaps_
 
bool usesFunction_
 
double weight_
 
StringObjectFunction
< reco::Candidate
weightExpr_
 

Detailed Description

Definition at line 36 of file PFCandIsolatorFromDeposit.h.

Constructor & Destructor Documentation

PFCandIsolatorFromDeposits::SingleDeposit::SingleDeposit ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 40 of file PFCandIsolatorFromDeposit.cc.

Member Function Documentation

void PFCandIsolatorFromDeposits::SingleDeposit::cleanup ( )

Definition at line 104 of file PFCandIsolatorFromDeposit.cc.

double PFCandIsolatorFromDeposits::SingleDeposit::compute ( const reco::CandidateBaseRef cand)

Definition at line 123 of file PFCandIsolatorFromDeposit.cc.

bool PFCandIsolatorFromDeposits::SingleDeposit::isNumber ( const std::string &  str) const
private

Definition at line 32 of file PFCandIsolatorFromDeposit.cc.

const reco::IsoDepositMap& PFCandIsolatorFromDeposits::SingleDeposit::map ( )
inline

Definition at line 42 of file PFCandIsolatorFromDeposit.h.

References hDeps_.

42 { return *hDeps_; }
edm::Handle< reco::IsoDepositMap > hDeps_
void PFCandIsolatorFromDeposits::SingleDeposit::open ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)

Definition at line 116 of file PFCandIsolatorFromDeposit.cc.

double PFCandIsolatorFromDeposits::SingleDeposit::toNumber ( const std::string &  str) const
private

Definition at line 36 of file PFCandIsolatorFromDeposit.cc.

Member Data Documentation

reco::isodeposit::AbsVetos PFCandIsolatorFromDeposits::SingleDeposit::barrelVetos_
private

Definition at line 51 of file PFCandIsolatorFromDeposit.h.

double PFCandIsolatorFromDeposits::SingleDeposit::deltaR_
private

Definition at line 46 of file PFCandIsolatorFromDeposit.h.

reco::isodeposit::AbsVetos PFCandIsolatorFromDeposits::SingleDeposit::endcapVetos_
private

Definition at line 52 of file PFCandIsolatorFromDeposit.h.

reco::isodeposit::EventDependentAbsVetos PFCandIsolatorFromDeposits::SingleDeposit::evdepVetos_
private

Definition at line 53 of file PFCandIsolatorFromDeposit.h.

edm::Handle<reco::IsoDepositMap> PFCandIsolatorFromDeposits::SingleDeposit::hDeps_
private

Definition at line 56 of file PFCandIsolatorFromDeposit.h.

Referenced by map().

Mode PFCandIsolatorFromDeposits::SingleDeposit::mode_
private

Definition at line 44 of file PFCandIsolatorFromDeposit.h.

bool PFCandIsolatorFromDeposits::SingleDeposit::skipDefaultVeto_
private

Definition at line 54 of file PFCandIsolatorFromDeposit.h.

edm::EDGetTokenT<reco::IsoDepositMap> PFCandIsolatorFromDeposits::SingleDeposit::srcToken_
private

Definition at line 45 of file PFCandIsolatorFromDeposit.h.

bool PFCandIsolatorFromDeposits::SingleDeposit::usePivotForBarrelEndcaps_
private

Definition at line 55 of file PFCandIsolatorFromDeposit.h.

bool PFCandIsolatorFromDeposits::SingleDeposit::usesFunction_
private

Definition at line 47 of file PFCandIsolatorFromDeposit.h.

double PFCandIsolatorFromDeposits::SingleDeposit::weight_
private

Definition at line 48 of file PFCandIsolatorFromDeposit.h.

StringObjectFunction<reco::Candidate> PFCandIsolatorFromDeposits::SingleDeposit::weightExpr_
private

Definition at line 50 of file PFCandIsolatorFromDeposit.h.