|
|
Go to the documentation of this file.
71 : recoEcalCandidateProducer_(
74 countTracks_(
config.getParameter<
bool>(
"countTracks")),
75 egTrkIsoPtMin_(
config.getParameter<double>(
"egTrkIsoPtMin")),
76 egTrkIsoConeSize_(
config.getParameter<double>(
"egTrkIsoConeSize")),
77 egTrkIsoZSpan_(
config.getParameter<double>(
"egTrkIsoZSpan")),
78 egTrkIsoRSpan_(
config.getParameter<double>(
"egTrkIsoRSpan")),
79 egTrkIsoVetoConeSize_(
config.getParameter<double>(
"egTrkIsoVetoConeSize")),
80 egTrkIsoStripBarrel_(
config.getParameter<double>(
"egTrkIsoStripBarrel")),
81 egTrkIsoStripEndcap_(
config.getParameter<double>(
"egTrkIsoStripEndcap")) {
91 produces<reco::RecoEcalCandidateIsolationMap>();
100 desc.
add<
bool>((
"countTracks"),
false);
101 desc.
add<
double>((
"egTrkIsoPtMin"), 1.0);
102 desc.
add<
double>((
"egTrkIsoConeSize"), 0.29);
103 desc.
add<
double>((
"egTrkIsoZSpan"), 999999.0);
104 desc.
add<
double>((
"egTrkIsoRSpan"), 999999.0);
105 desc.
add<
double>((
"egTrkIsoVetoConeSize"), 0.06);
106 desc.
add<
double>((
"egTrkIsoStripBarrel"), 0.03);
107 desc.
add<
double>((
"egTrkIsoStripEndcap"), 0.03);
108 descriptions.
add((
"hltEgammaHLTPhotonTrackIsolationProducersRegional"), desc);
126 for (
unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
129 bool usePhotonVertex =
false;
138 isoMap.
insert(recoecalcandref, isol);
141 iEvent.put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(isoMap));
std::vector< RecoEcalCandidate > RecoEcalCandidateCollection
collectin of RecoEcalCandidate objects
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const double egTrkIsoStripBarrel_
T const * product() const
const double egTrkIsoRSpan_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~EgammaHLTPhotonTrackIsolationProducersRegional() override
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const double egTrkIsoPtMin_
int photonTrackCount(const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex)
const edm::EDGetTokenT< reco::TrackCollection > trackProducer_
EgammaHLTTrackIsolation * test_
const double egTrkIsoZSpan_
const double egTrkIsoConeSize_
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
void insert(const key_type &k, const data_type &v)
insert an association
EgammaHLTPhotonTrackIsolationProducersRegional(const edm::ParameterSet &)
const double egTrkIsoStripEndcap_
float photonPtSum(const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex)
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
std::vector< Track > TrackCollection
collection of Tracks
const double egTrkIsoVetoConeSize_