33 egTrkIsoZSpan_,egTrkIsoRSpan_,egTrkIsoVetoConeSize_,
34 egTrkIsoStripBarrel,egTrkIsoStripEndcap);
38 produces < reco::RecoEcalCandidateIsolationMap >();
48 desc.
add<
bool>((
"countTracks"),
false);
49 desc.
add<
double>((
"egTrkIsoPtMin"), 1.0);
50 desc.
add<
double>((
"egTrkIsoConeSize"), 0.29);
51 desc.
add<
double>((
"egTrkIsoZSpan"), 999999.0);
52 desc.
add<
double>((
"egTrkIsoRSpan"), 999999.0);
53 desc.
add<
double>((
"egTrkIsoVetoConeSize"), 0.06);
54 desc.
add<
double>((
"egTrkIsoStripBarrel"), 0.03);
55 desc.
add<
double>((
"egTrkIsoStripEndcap"), 0.03);
56 descriptions.
add((
"hltEgammaHLTPhotonTrackIsolationProducersRegional"), desc);
76 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
80 bool usePhotonVertex =
false;
86 isol =
test_->
photonPtSum(&(*recoecalcandref), trackCollection, usePhotonVertex);
89 isoMap.
insert(recoecalcandref, isol);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
int photonTrackCount(const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex)
EgammaHLTTrackIsolation * test_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void produce(edm::Event &, const edm::EventSetup &)
~EgammaHLTPhotonTrackIsolationProducersRegional()
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
EgammaHLTPhotonTrackIsolationProducersRegional(const edm::ParameterSet &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
void insert(const key_type &k, const data_type &v)
insert an association
void add(std::string const &label, ParameterSetDescription const &psetDescription)
double egTrkIsoVetoConeSize_
edm::EDGetTokenT< reco::TrackCollection > trackProducer_
float photonPtSum(const reco::RecoCandidate *const recocand, const reco::TrackCollection *isoTracks, bool useVertex)