CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
ConversionTrackCandidateProducer Class Reference
Inheritance diagram for ConversionTrackCandidateProducer:
edm::stream::EDProducer<>

Public Member Functions

void beginRun (edm::Run const &, edm::EventSetup const &es) final
 
 ConversionTrackCandidateProducer (const edm::ParameterSet &ps)
 
void produce (edm::Event &evt, const edm::EventSetup &es) override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Member Functions

void buildCollections (bool detector, const edm::Handle< edm::View< reco::CaloCluster >> &scHandle, const edm::Handle< edm::View< reco::CaloCluster >> &bcHandle, const EcalRecHitCollection &ecalRecHits, const EcalSeverityLevelAlgo *sevLev, ElectronHcalHelper const &hcalHelper, TrackCandidateCollection &outInTracks, TrackCandidateCollection &inOutTracks, std::vector< edm::Ptr< reco::CaloCluster >> &vecRecOI, std::vector< edm::Ptr< reco::CaloCluster >> &vecRecIO)
 
void setEventSetup (const edm::EventSetup &es)
 Initialize EventSetup objects at each event. More...
 

Private Attributes

edm::EDGetTokenT< EcalRecHitCollectionbarrelecalCollection_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcBarrelCollection_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcEndcapCollection_
 
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecInOut_
 
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecOutIn_
 
double ecalIsoCut_offset_
 
double ecalIsoCut_slope_
 
edm::EDGetTokenT< EcalRecHitCollectionendcapecalCollection_
 
std::vector< int > flagsexclEB_
 
std::vector< int > flagsexclEE_
 
edm::EDGetTokenT< HBHERecHitCollectionhbheRecHits_
 
std::unique_ptr< ElectronHcalHelperhcalHelper_
 
double hOverEConeSize_
 
InOutConversionSeedFinder inOutSeedFinder_
 
std::string InOutTrackCandidateCollection_
 
InOutConversionTrackFinder inOutTrackFinder_
 
std::string InOutTrackSCAssociationCollection_
 
double isoConeR_
 
double isoEMin_
 
double isoEtaSlice_
 
double isoEtMin_
 
double isoInnerConeR_
 
double maxHOverE_
 
edm::EDGetTokenT< MeasurementTrackerEventmeasurementTrkEvtToken_
 
double minSCEt_
 
OutInConversionSeedFinder outInSeedFinder_
 
std::string OutInTrackCandidateCollection_
 
OutInConversionTrackFinder outInTrackFinder_
 
std::string OutInTrackSCAssociationCollection_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scHybridBarrelProducer_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scIslandEndcapProducer_
 
std::vector< int > severitiesexclEB_
 
std::vector< int > severitiesexclEE_
 
edm::ESHandle< CaloGeometrytheCaloGeom_
 
std::unique_ptr< BaseCkfTrajectoryBuildertheTrajectoryBuilder_
 
bool useNumXtals_
 
std::vector< edm::Ref< reco::SuperClusterCollection > > vecOfSCRefForInOut
 
std::vector< edm::Ref< reco::SuperClusterCollection > > vecOfSCRefForOutIn
 
bool vetoClusteredHits_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Author
Nancy Marinelli, U. of Notre Dame, US

Definition at line 49 of file ConversionTrackCandidateProducer.cc.

Constructor & Destructor Documentation

◆ ConversionTrackCandidateProducer()

ConversionTrackCandidateProducer::ConversionTrackCandidateProducer ( const edm::ParameterSet ps)

Definition at line 134 of file ConversionTrackCandidateProducer.cc.

135  : bcBarrelCollection_{consumes(config.getParameter<edm::InputTag>("bcBarrelCollection"))},
136  bcEndcapCollection_{consumes(config.getParameter<edm::InputTag>("bcEndcapCollection"))},
137  scHybridBarrelProducer_{consumes(config.getParameter<edm::InputTag>("scHybridBarrelProducer"))},
138  scIslandEndcapProducer_{consumes(config.getParameter<edm::InputTag>("scIslandEndcapProducer"))},
139 
140  hbheRecHits_{consumes(config.getParameter<edm::InputTag>("hbheRecHits"))},
141  barrelecalCollection_{consumes(config.getParameter<edm::InputTag>("barrelEcalRecHitCollection"))},
142  endcapecalCollection_{consumes(config.getParameter<edm::InputTag>("endcapEcalRecHitCollection"))},
143  measurementTrkEvtToken_{consumes(edm::InputTag("MeasurementTrackerEvent"))},
144 
145  theTrajectoryBuilder_(createBaseCkfTrajectoryBuilder(
146  config.getParameter<edm::ParameterSet>("TrajectoryBuilderPSet"), consumesCollector())),
147  outInSeedFinder_{config, consumesCollector()},
149  inOutSeedFinder_{config, consumesCollector()},
151  OutInTrackCandidateCollection_ = config.getParameter<std::string>("outInTrackCandidateCollection");
152  InOutTrackCandidateCollection_ = config.getParameter<std::string>("inOutTrackCandidateCollection");
153 
154  OutInTrackSCAssociationCollection_ = config.getParameter<std::string>("outInTrackCandidateSCAssociationCollection");
155  InOutTrackSCAssociationCollection_ = config.getParameter<std::string>("inOutTrackCandidateSCAssociationCollection");
156 
157  hOverEConeSize_ = config.getParameter<double>("hOverEConeSize");
158  maxHOverE_ = config.getParameter<double>("maxHOverE");
159  minSCEt_ = config.getParameter<double>("minSCEt");
160  isoConeR_ = config.getParameter<double>("isoConeR");
161  isoInnerConeR_ = config.getParameter<double>("isoInnerConeR");
162  isoEtaSlice_ = config.getParameter<double>("isoEtaSlice");
163  isoEtMin_ = config.getParameter<double>("isoEtMin");
164  isoEMin_ = config.getParameter<double>("isoEMin");
165  vetoClusteredHits_ = config.getParameter<bool>("vetoClusteredHits");
166  useNumXtals_ = config.getParameter<bool>("useNumXstals");
167  ecalIsoCut_offset_ = config.getParameter<double>("ecalIsoCut_offset");
168  ecalIsoCut_slope_ = config.getParameter<double>("ecalIsoCut_slope");
169 
170  //Flags and Severities to be excluded from photon calculations
171  auto const& flagnamesEB = config.getParameter<std::vector<std::string>>("RecHitFlagToBeExcludedEB");
172  auto const& flagnamesEE = config.getParameter<std::vector<std::string>>("RecHitFlagToBeExcludedEE");
173 
174  flagsexclEB_ = StringToEnumValue<EcalRecHit::Flags>(flagnamesEB);
175  flagsexclEE_ = StringToEnumValue<EcalRecHit::Flags>(flagnamesEE);
176 
177  auto const& severitynamesEB = config.getParameter<std::vector<std::string>>("RecHitSeverityToBeExcludedEB");
178  auto const& severitynamesEE = config.getParameter<std::vector<std::string>>("RecHitSeverityToBeExcludedEE");
179 
180  severitiesexclEB_ = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynamesEB);
181  severitiesexclEE_ = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynamesEE);
182 
183  // Register the product
184  produces<TrackCandidateCollection>(OutInTrackCandidateCollection_);
185  produces<TrackCandidateCollection>(InOutTrackCandidateCollection_);
186 
187  produces<reco::TrackCandidateCaloClusterPtrAssociation>(OutInTrackSCAssociationCollection_);
188  produces<reco::TrackCandidateCaloClusterPtrAssociation>(InOutTrackSCAssociationCollection_);
189 
192  if (cfgCone.hOverEConeSize > 0) {
193  cfgCone.onlyBehindCluster = false;
194  cfgCone.checkHcalStatus = false;
195 
196  cfgCone.hbheRecHits = hbheRecHits_;
197 
198  cfgCone.eThresHB = config.getParameter<EgammaHcalIsolation::arrayHB>("recHitEThresholdHB");
199  cfgCone.maxSeverityHB = config.getParameter<int>("maxHcalRecHitSeverity");
200  cfgCone.eThresHE = config.getParameter<EgammaHcalIsolation::arrayHE>("recHitEThresholdHE");
201  cfgCone.maxSeverityHE = cfgCone.maxSeverityHB;
202  }
203 
204  hcalHelper_ = std::make_unique<ElectronHcalHelper>(cfgCone, consumesCollector());
205 }

Member Function Documentation

◆ beginRun()

void ConversionTrackCandidateProducer::beginRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
final

Definition at line 214 of file ConversionTrackCandidateProducer.cc.

214  {
216  theEventSetup.get<NavigationSchoolRecord>().get("SimpleNavigationSchool", nav);
217  const NavigationSchool* navigation = nav.product();
218  theTrajectoryBuilder_->setNavigationSchool(navigation);
221 }

References edm::EventSetup::get(), get, inOutSeedFinder_, outInSeedFinder_, edm::ESHandle< T >::product(), ConversionSeedFinder::setNavigationSchool(), and theTrajectoryBuilder_.

◆ buildCollections()

void ConversionTrackCandidateProducer::buildCollections ( bool  detector,
const edm::Handle< edm::View< reco::CaloCluster >> &  scHandle,
const edm::Handle< edm::View< reco::CaloCluster >> &  bcHandle,
const EcalRecHitCollection ecalRecHits,
const EcalSeverityLevelAlgo sevLev,
ElectronHcalHelper const &  hcalHelper,
TrackCandidateCollection outInTracks,
TrackCandidateCollection inOutTracks,
std::vector< edm::Ptr< reco::CaloCluster >> &  vecRecOI,
std::vector< edm::Ptr< reco::CaloCluster >> &  vecRecIO 
)
private

Definition at line 347 of file ConversionTrackCandidateProducer.cc.

358 {
359  // Loop over SC in the barrel and reconstruct converted photons
360  for (auto const& aClus : scHandle->ptrs()) {
361  // preselection based in Et and H/E cut.
362  if (aClus->energy() / cosh(aClus->eta()) <= minSCEt_)
363  continue;
364  if (aClus->eta() > 1.479 && aClus->eta() < 1.556)
365  continue;
366 
367  const reco::CaloCluster* pClus = &(*aClus);
368  const reco::SuperCluster* sc = dynamic_cast<const reco::SuperCluster*>(pClus);
369  double scEt = sc->energy() / cosh(sc->eta());
370  double HoE = hcalHelper.hcalESum(*sc, 0) / sc->energy();
371  if (HoE >= maxHOverE_)
372  continue;
373 
375  EgammaRecHitIsolation ecalIso(
377 
378  ecalIso.setVetoClustered(vetoClusteredHits_);
379  ecalIso.setUseNumCrystals(useNumXtals_);
380  if (isBarrel) {
381  ecalIso.doFlagChecks(flagsexclEB_);
382  ecalIso.doSeverityChecks(&ecalRecHits, severitiesexclEB_);
383  } else {
384  ecalIso.doFlagChecks(flagsexclEE_);
385  ecalIso.doSeverityChecks(&ecalRecHits, severitiesexclEE_);
386  }
387 
388  double ecalIsolation = ecalIso.getEtSum(sc);
390  continue;
391 
392  // Now launch the seed finding
394  GlobalPoint(pClus->position().x(), pClus->position().y(), pClus->position().z()));
395  outInSeedFinder_.makeSeeds(bcHandle);
396 
397  std::vector<Trajectory> theOutInTracks = outInTrackFinder_.tracks(outInSeedFinder_.seeds(), outInTrackCandidates);
398 
400  GlobalPoint(pClus->position().x(), pClus->position().y(), pClus->position().z()));
401  inOutSeedFinder_.setTracks(theOutInTracks);
402  inOutSeedFinder_.makeSeeds(bcHandle);
403 
404  std::vector<Trajectory> theInOutTracks = inOutTrackFinder_.tracks(inOutSeedFinder_.seeds(), inOutTrackCandidates);
405 
406  // Debug
407  // std::cout << "ConversionTrackCandidateProducer theOutInTracks.size() " << theOutInTracks.size() << " theInOutTracks.size() " << theInOutTracks.size() << " Event pointer to out in track size barrel " << outInTrackCandidates.size() << " in out track size " << inOutTrackCandidates.size() << "\n";
408 
410  for (auto it = theOutInTracks.begin(); it != theOutInTracks.end(); ++it) {
411  vecRecOI.push_back(aClus);
412  // std::cout << "ConversionTrackCandidateProducer Barrel OutIn Tracks Number of hits " << (*it).foundHits() << "\n";
413  }
414 
415  for (auto it = theInOutTracks.begin(); it != theInOutTracks.end(); ++it) {
416  vecRecIO.push_back(aClus);
417  // std::cout << "ConversionTrackCandidateProducer Barrel InOut Tracks Number of hits " << (*it).foundHits() << "\n";
418  }
419  }
420 }

References EgammaRecHitIsolation::doFlagChecks(), EgammaRecHitIsolation::doSeverityChecks(), DetId::Ecal, ecalIsoCut_offset_, ecalIsoCut_slope_, RecoTauCleanerPlugins::ecalIsolation, reco::CaloCluster::energy(), reco::CaloCluster::eta(), flagsexclEB_, flagsexclEE_, EgammaRecHitIsolation::getEtSum(), ElectronHcalHelper::hcalESum(), inOutSeedFinder_, inOutTrackFinder_, PixelPluginsPhase0_cfi::isBarrel, isoConeR_, isoEMin_, isoEtaSlice_, isoEtMin_, isoInnerConeR_, OutInConversionSeedFinder::makeSeeds(), InOutConversionSeedFinder::makeSeeds(), maxHOverE_, minSCEt_, outInSeedFinder_, outInTrackFinder_, reco::CaloCluster::position(), ConversionSeedFinder::seeds(), ConversionSeedFinder::setCandidate(), InOutConversionSeedFinder::setTracks(), EgammaRecHitIsolation::setUseNumCrystals(), EgammaRecHitIsolation::setVetoClustered(), severitiesexclEB_, severitiesexclEE_, theCaloGeom_, InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), useNumXtals_, and vetoClusteredHits_.

Referenced by produce().

◆ fillDescriptions()

void ConversionTrackCandidateProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 422 of file ConversionTrackCandidateProducer.cc.

422  {
423  // conversionTrackCandidates
425 
426  desc.add<edm::InputTag>("bcBarrelCollection", {"particleFlowSuperClusterECAL", "particleFlowBasicClusterECALBarrel"});
427  desc.add<edm::InputTag>("bcEndcapCollection", {"particleFlowSuperClusterECAL", "particleFlowBasicClusterECALEndcap"});
428  desc.add<edm::InputTag>("scHybridBarrelProducer",
429  {"particleFlowSuperClusterECAL", "particleFlowSuperClusterECALBarrel"});
430  desc.add<edm::InputTag>("scIslandEndcapProducer",
431  {"particleFlowSuperClusterECAL", "particleFlowSuperClusterECALEndcapWithPreshower"});
432 
433  desc.add<std::string>("outInTrackCandidateSCAssociationCollection", "outInTrackCandidateSCAssociationCollection");
434  desc.add<std::string>("inOutTrackCandidateSCAssociationCollection", "inOutTrackCandidateSCAssociationCollection");
435  desc.add<std::string>("outInTrackCandidateCollection", "outInTracksFromConversions");
436  desc.add<std::string>("inOutTrackCandidateCollection", "inOutTracksFromConversions");
437 
438  desc.add<edm::InputTag>("barrelEcalRecHitCollection", {"ecalRecHit", "EcalRecHitsEB"});
439  desc.add<edm::InputTag>("endcapEcalRecHitCollection", {"ecalRecHit", "EcalRecHitsEE"});
440  desc.add<std::string>("MeasurementTrackerName", "");
441  desc.add<std::string>("OutInRedundantSeedCleaner", "CachingSeedCleanerBySharedInput");
442  desc.add<std::string>("InOutRedundantSeedCleaner", "CachingSeedCleanerBySharedInput");
443  desc.add<bool>("useHitsSplitting", false);
444  desc.add<int>("maxNumOfSeedsOutIn", 50);
445  desc.add<int>("maxNumOfSeedsInOut", 50);
446  desc.add<double>("bcEtCut", 1.5);
447  desc.add<double>("bcECut", 1.5);
448  desc.add<bool>("useEtCut", true);
449 
450  desc.add<edm::InputTag>("hbheRecHits", {"hbhereco"});
451  desc.add<std::vector<double>>("recHitEThresholdHB", {0., 0., 0., 0.});
452  desc.add<std::vector<double>>("recHitEThresholdHE", {0., 0., 0., 0., 0., 0., 0.});
453  desc.add<int>("maxHcalRecHitSeverity", 999999);
454 
455  desc.add<double>("minSCEt", 20.0);
456  desc.add<double>("hOverEConeSize", 0.15);
457  desc.add<double>("maxHOverE", 0.15);
458  desc.add<double>("isoInnerConeR", 3.5);
459  desc.add<double>("isoConeR", 0.4);
460  desc.add<double>("isoEtaSlice", 2.5);
461  desc.add<double>("isoEtMin", 0.0);
462  desc.add<double>("isoEMin", 0.08);
463  desc.add<bool>("vetoClusteredHits", false);
464  desc.add<bool>("useNumXstals", true);
465  desc.add<double>("ecalIsoCut_offset", 999999999); // alternative value: 4.2
466  desc.add<double>("ecalIsoCut_slope", 0.0); // alternative value: 0.003
467 
468  desc.add<std::vector<std::string>>("RecHitFlagToBeExcludedEB", {});
469  desc.add<std::vector<std::string>>("RecHitSeverityToBeExcludedEB", {});
470  desc.add<std::vector<std::string>>("RecHitFlagToBeExcludedEE", {});
471  desc.add<std::vector<std::string>>("RecHitSeverityToBeExcludedEE", {});
472 
473  desc.add<double>("fractionShared", 0.5);
474  desc.add<std::string>("TrajectoryBuilder", "TrajectoryBuilderForConversions");
475  {
477  psd0.setUnknown();
478  desc.add<edm::ParameterSetDescription>("TrajectoryBuilderPSet", psd0);
479  }
480  {
482  psd0.add<std::string>("propagatorAlongTISE", "alongMomElePropagator");
483  psd0.add<int>("numberMeasurementsForFit", 4);
484  psd0.add<std::string>("propagatorOppositeTISE", "oppositeToMomElePropagator");
485  desc.add<edm::ParameterSetDescription>("TransientInitialStateEstimatorParameters", psd0);
486  }
487  desc.add<bool>("allowSharedFirstHit", true);
488  desc.add<double>("ValidHitBonus", 5.0);
489  desc.add<double>("MissingHitPenalty", 20.0);
490 
491  descriptions.add("conversionTrackCandidatesDefault", desc);
492  // or use the following to generate the label from the module's C++ type
493  //descriptions.addWithDefaultLabel(desc);
494 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::setUnknown(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

void ConversionTrackCandidateProducer::produce ( edm::Event evt,
const edm::EventSetup es 
)
override

Definition at line 223 of file ConversionTrackCandidateProducer.cc.

223  {
224  // get the trajectory builder and initialize it with the data
225  theTrajectoryBuilder_->setEvent(theEvent, theEventSetup, &theEvent.get(measurementTrkEvtToken_));
226 
227  // this need to be done after the initialization of the TrajectoryBuilder!
228  setEventSetup(theEventSetup);
229 
230  outInSeedFinder_.setEvent(theEvent);
231  inOutSeedFinder_.setEvent(theEvent);
232 
233  //
234  // create empty output collections
235  //
236  // Out In Track Candidates
237  auto outInTrackCandidate_p = std::make_unique<TrackCandidateCollection>();
238  // In Out Track Candidates
239  auto inOutTrackCandidate_p = std::make_unique<TrackCandidateCollection>();
240  // Track Candidate calo Cluster Association
241  auto outInAssoc_p = std::make_unique<reco::TrackCandidateCaloClusterPtrAssociation>();
242  auto inOutAssoc_p = std::make_unique<reco::TrackCandidateCaloClusterPtrAssociation>();
243 
244  // Get the basic cluster collection in the Barrel
245  bool validBarrelBCHandle = true;
246  auto bcBarrelHandle = theEvent.getHandle(bcBarrelCollection_);
247  if (!bcBarrelHandle.isValid()) {
248  edm::LogError("ConversionTrackCandidateProducer") << "Error! Can't get the Barrel Basic Clusters!";
249  validBarrelBCHandle = false;
250  }
251 
252  // Get the basic cluster collection in the Endcap
253  bool validEndcapBCHandle = true;
254  auto bcEndcapHandle = theEvent.getHandle(bcEndcapCollection_);
255  if (!bcEndcapHandle.isValid()) {
256  edm::LogError("CoonversionTrackCandidateProducer") << "Error! Can't get the Endcap Basic Clusters";
257  validEndcapBCHandle = false;
258  }
259 
260  // Get the Super Cluster collection in the Barrel
261  bool validBarrelSCHandle = true;
262  auto scBarrelHandle = theEvent.getHandle(scHybridBarrelProducer_);
263  if (!scBarrelHandle.isValid()) {
264  edm::LogError("CoonversionTrackCandidateProducer") << "Error! Can't get the barrel superclusters!";
265  validBarrelSCHandle = false;
266  }
267 
268  // Get the Super Cluster collection in the Endcap
269  bool validEndcapSCHandle = true;
270  auto scEndcapHandle = theEvent.getHandle(scIslandEndcapProducer_);
271  if (!scEndcapHandle.isValid()) {
272  edm::LogError("CoonversionTrackCandidateProducer") << "Error! Can't get the endcap superclusters!";
273  validEndcapSCHandle = false;
274  }
275 
276  // get the geometry from the event setup:
277  theEventSetup.get<CaloGeometryRecord>().get(theCaloGeom_);
278 
279  hcalHelper_->beginEvent(theEvent, theEventSetup);
280 
281  auto const& ecalhitsCollEB = theEvent.get(barrelecalCollection_);
282  auto const& ecalhitsCollEE = theEvent.get(endcapecalCollection_);
283 
285  theEventSetup.get<EcalSeverityLevelAlgoRcd>().get(sevlv);
286  const EcalSeverityLevelAlgo* sevLevel = sevlv.product();
287 
288  caloPtrVecOutIn_.clear();
289  caloPtrVecInOut_.clear();
290 
291  bool isBarrel = true;
292  if (validBarrelBCHandle && validBarrelSCHandle)
294  scBarrelHandle,
295  bcBarrelHandle,
296  ecalhitsCollEB,
297  sevLevel,
298  *hcalHelper_,
299  *outInTrackCandidate_p,
300  *inOutTrackCandidate_p,
303 
304  if (validEndcapBCHandle && validEndcapSCHandle) {
305  isBarrel = false;
307  scEndcapHandle,
308  bcEndcapHandle,
309  ecalhitsCollEE,
310  sevLevel,
311  *hcalHelper_,
312  *outInTrackCandidate_p,
313  *inOutTrackCandidate_p,
316  }
317 
318  // std::cout << " ConversionTrackCandidateProducer caloPtrVecOutIn_ size " << caloPtrVecOutIn_.size() << " caloPtrVecInOut_ size " << caloPtrVecInOut_.size() << "\n";
319 
320  // put all products in the event
321  // Barrel
322  //std::cout << "ConversionTrackCandidateProducer Putting in the event " << (*outInTrackCandidate_p).size() << " Out In track Candidates " << "\n";
323  auto const refprodOutInTrackC = theEvent.put(std::move(outInTrackCandidate_p), OutInTrackCandidateCollection_);
324  //std::cout << "ConversionTrackCandidateProducer refprodOutInTrackC size " << (*(refprodOutInTrackC.product())).size() << "\n";
325  //
326  //std::cout << "ConversionTrackCandidateProducer Putting in the event " << (*inOutTrackCandidate_p).size() << " In Out track Candidates " << "\n";
327  auto const refprodInOutTrackC = theEvent.put(std::move(inOutTrackCandidate_p), InOutTrackCandidateCollection_);
328  //std::cout << "ConversionTrackCandidateProducer refprodInOutTrackC size " << (*(refprodInOutTrackC.product())).size() << "\n";
329 
330  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerOI(*outInAssoc_p);
331  fillerOI.insert(refprodOutInTrackC, caloPtrVecOutIn_.begin(), caloPtrVecOutIn_.end());
332  fillerOI.fill();
333  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerIO(*inOutAssoc_p);
334  fillerIO.insert(refprodInOutTrackC, caloPtrVecInOut_.begin(), caloPtrVecInOut_.end());
335  fillerIO.fill();
336 
337  // std::cout << "ConversionTrackCandidateProducer Putting in the event OutIn track - SC association: size " << (*outInAssoc_p).size() << "\n";
338  theEvent.put(std::move(outInAssoc_p), OutInTrackSCAssociationCollection_);
339 
340  // std::cout << "ConversionTrackCandidateProducer Putting in the event InOut track - SC association: size " << (*inOutAssoc_p).size() << "\n";
341  theEvent.put(std::move(inOutAssoc_p), InOutTrackSCAssociationCollection_);
342 
345 }

References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, buildCollections(), caloPtrVecInOut_, caloPtrVecOutIn_, ConversionSeedFinder::clear(), endcapecalCollection_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::get(), get, edm::Event::getHandle(), hcalHelper_, inOutSeedFinder_, InOutTrackCandidateCollection_, InOutTrackSCAssociationCollection_, edm::helper::Filler< Map >::insert(), PixelPluginsPhase0_cfi::isBarrel, measurementTrkEvtToken_, eostools::move(), outInSeedFinder_, OutInTrackCandidateCollection_, OutInTrackSCAssociationCollection_, edm::ESHandle< T >::product(), edm::Event::put(), scHybridBarrelProducer_, scIslandEndcapProducer_, ConversionSeedFinder::setEvent(), setEventSetup(), theCaloGeom_, and theTrajectoryBuilder_.

◆ setEventSetup()

void ConversionTrackCandidateProducer::setEventSetup ( const edm::EventSetup es)
private

Initialize EventSetup objects at each event.

Definition at line 207 of file ConversionTrackCandidateProducer.cc.

207  {
208  outInSeedFinder_.setEventSetup(theEventSetup);
209  inOutSeedFinder_.setEventSetup(theEventSetup);
210  outInTrackFinder_.setEventSetup(theEventSetup);
211  inOutTrackFinder_.setEventSetup(theEventSetup);
212 }

References inOutSeedFinder_, inOutTrackFinder_, outInSeedFinder_, outInTrackFinder_, ConversionTrackFinder::setEventSetup(), and ConversionSeedFinder::setEventSetup().

Referenced by produce().

Member Data Documentation

◆ barrelecalCollection_

edm::EDGetTokenT<EcalRecHitCollection> ConversionTrackCandidateProducer::barrelecalCollection_
private

Definition at line 73 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ bcBarrelCollection_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > ConversionTrackCandidateProducer::bcBarrelCollection_
private

Definition at line 68 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ bcEndcapCollection_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > ConversionTrackCandidateProducer::bcEndcapCollection_
private

Definition at line 69 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ caloPtrVecInOut_

std::vector<edm::Ptr<reco::CaloCluster> > ConversionTrackCandidateProducer::caloPtrVecInOut_
private

Definition at line 106 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ caloPtrVecOutIn_

std::vector<edm::Ptr<reco::CaloCluster> > ConversionTrackCandidateProducer::caloPtrVecOutIn_
private

Definition at line 105 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ ecalIsoCut_offset_

double ConversionTrackCandidateProducer::ecalIsoCut_offset_
private

Definition at line 93 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ ecalIsoCut_slope_

double ConversionTrackCandidateProducer::ecalIsoCut_slope_
private

Definition at line 94 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ endcapecalCollection_

edm::EDGetTokenT<EcalRecHitCollection> ConversionTrackCandidateProducer::endcapecalCollection_
private

Definition at line 74 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ flagsexclEB_

std::vector<int> ConversionTrackCandidateProducer::flagsexclEB_
private

Definition at line 88 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ flagsexclEE_

std::vector<int> ConversionTrackCandidateProducer::flagsexclEE_
private

Definition at line 89 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ hbheRecHits_

edm::EDGetTokenT<HBHERecHitCollection> ConversionTrackCandidateProducer::hbheRecHits_
private

Definition at line 72 of file ConversionTrackCandidateProducer.cc.

◆ hcalHelper_

std::unique_ptr<ElectronHcalHelper> ConversionTrackCandidateProducer::hcalHelper_
private

Definition at line 111 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ hOverEConeSize_

double ConversionTrackCandidateProducer::hOverEConeSize_
private

Definition at line 77 of file ConversionTrackCandidateProducer.cc.

◆ inOutSeedFinder_

InOutConversionSeedFinder ConversionTrackCandidateProducer::inOutSeedFinder_
private

◆ InOutTrackCandidateCollection_

std::string ConversionTrackCandidateProducer::InOutTrackCandidateCollection_
private

Definition at line 63 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ inOutTrackFinder_

InOutConversionTrackFinder ConversionTrackCandidateProducer::inOutTrackFinder_
private

Definition at line 103 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections(), and setEventSetup().

◆ InOutTrackSCAssociationCollection_

std::string ConversionTrackCandidateProducer::InOutTrackSCAssociationCollection_
private

Definition at line 66 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ isoConeR_

double ConversionTrackCandidateProducer::isoConeR_
private

Definition at line 80 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ isoEMin_

double ConversionTrackCandidateProducer::isoEMin_
private

Definition at line 84 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ isoEtaSlice_

double ConversionTrackCandidateProducer::isoEtaSlice_
private

Definition at line 82 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ isoEtMin_

double ConversionTrackCandidateProducer::isoEtMin_
private

Definition at line 83 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ isoInnerConeR_

double ConversionTrackCandidateProducer::isoInnerConeR_
private

Definition at line 81 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ maxHOverE_

double ConversionTrackCandidateProducer::maxHOverE_
private

Definition at line 78 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ measurementTrkEvtToken_

edm::EDGetTokenT<MeasurementTrackerEvent> ConversionTrackCandidateProducer::measurementTrkEvtToken_
private

Definition at line 75 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ minSCEt_

double ConversionTrackCandidateProducer::minSCEt_
private

Definition at line 79 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ outInSeedFinder_

OutInConversionSeedFinder ConversionTrackCandidateProducer::outInSeedFinder_
private

◆ OutInTrackCandidateCollection_

std::string ConversionTrackCandidateProducer::OutInTrackCandidateCollection_
private

Definition at line 62 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ outInTrackFinder_

OutInConversionTrackFinder ConversionTrackCandidateProducer::outInTrackFinder_
private

Definition at line 101 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections(), and setEventSetup().

◆ OutInTrackSCAssociationCollection_

std::string ConversionTrackCandidateProducer::OutInTrackSCAssociationCollection_
private

Definition at line 65 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ scHybridBarrelProducer_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > ConversionTrackCandidateProducer::scHybridBarrelProducer_
private

Definition at line 70 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ scIslandEndcapProducer_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > ConversionTrackCandidateProducer::scIslandEndcapProducer_
private

Definition at line 71 of file ConversionTrackCandidateProducer.cc.

Referenced by produce().

◆ severitiesexclEB_

std::vector<int> ConversionTrackCandidateProducer::severitiesexclEB_
private

Definition at line 90 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ severitiesexclEE_

std::vector<int> ConversionTrackCandidateProducer::severitiesexclEE_
private

Definition at line 91 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ theCaloGeom_

edm::ESHandle<CaloGeometry> ConversionTrackCandidateProducer::theCaloGeom_
private

Definition at line 96 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections(), and produce().

◆ theTrajectoryBuilder_

std::unique_ptr<BaseCkfTrajectoryBuilder> ConversionTrackCandidateProducer::theTrajectoryBuilder_
private

Definition at line 98 of file ConversionTrackCandidateProducer.cc.

Referenced by beginRun(), and produce().

◆ useNumXtals_

bool ConversionTrackCandidateProducer::useNumXtals_
private

Definition at line 86 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

◆ vecOfSCRefForInOut

std::vector<edm::Ref<reco::SuperClusterCollection> > ConversionTrackCandidateProducer::vecOfSCRefForInOut
private

Definition at line 109 of file ConversionTrackCandidateProducer.cc.

◆ vecOfSCRefForOutIn

std::vector<edm::Ref<reco::SuperClusterCollection> > ConversionTrackCandidateProducer::vecOfSCRefForOutIn
private

Definition at line 108 of file ConversionTrackCandidateProducer.cc.

◆ vetoClusteredHits_

bool ConversionTrackCandidateProducer::vetoClusteredHits_
private

Definition at line 85 of file ConversionTrackCandidateProducer.cc.

Referenced by buildCollections().

ElectronHcalHelper::Configuration::hbheRecHits
edm::EDGetTokenT< HBHERecHitCollection > hbheRecHits
Definition: ElectronHcalHelper.h:33
ConversionTrackCandidateProducer::outInSeedFinder_
OutInConversionSeedFinder outInSeedFinder_
Definition: ConversionTrackCandidateProducer.cc:100
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
ConversionSeedFinder::setEventSetup
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
Definition: ConversionSeedFinder.cc:41
InOutConversionTrackFinder::tracks
std::vector< Trajectory > tracks(const TrajectorySeedCollection &seeds, TrackCandidateCollection &candidate) const override
Definition: InOutConversionTrackFinder.cc:43
EcalSeverityLevelAlgo
Definition: EcalSeverityLevelAlgo.h:33
InOutConversionSeedFinder::setTracks
void setTracks(std::vector< Trajectory > const &in)
Definition: InOutConversionSeedFinder.h:46
ConversionTrackCandidateProducer::scIslandEndcapProducer_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scIslandEndcapProducer_
Definition: ConversionTrackCandidateProducer.cc:71
ConversionTrackCandidateProducer::inOutTrackFinder_
InOutConversionTrackFinder inOutTrackFinder_
Definition: ConversionTrackCandidateProducer.cc:103
ConversionSeedFinder::clear
void clear()
Definition: ConversionSeedFinder.h:72
ConversionTrackCandidateProducer::severitiesexclEB_
std::vector< int > severitiesexclEB_
Definition: ConversionTrackCandidateProducer.cc:90
ConversionTrackCandidateProducer::bcBarrelCollection_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcBarrelCollection_
Definition: ConversionTrackCandidateProducer.cc:68
ConversionTrackCandidateProducer::theTrajectoryBuilder_
std::unique_ptr< BaseCkfTrajectoryBuilder > theTrajectoryBuilder_
Definition: ConversionTrackCandidateProducer.cc:98
NavigationSchoolRecord
Definition: NavigationSchoolRecord.h:12
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
ConversionTrackCandidateProducer::useNumXtals_
bool useNumXtals_
Definition: ConversionTrackCandidateProducer.cc:86
ConversionTrackCandidateProducer::hOverEConeSize_
double hOverEConeSize_
Definition: ConversionTrackCandidateProducer.cc:77
ConversionTrackCandidateProducer::inOutSeedFinder_
InOutConversionSeedFinder inOutSeedFinder_
Definition: ConversionTrackCandidateProducer.cc:102
ConversionTrackCandidateProducer::OutInTrackSCAssociationCollection_
std::string OutInTrackSCAssociationCollection_
Definition: ConversionTrackCandidateProducer.cc:65
reco::SuperCluster
Definition: SuperCluster.h:18
EgammaHcalIsolation::arrayHB
std::array< double, 4 > arrayHB
Definition: EgammaHcalIsolation.h:41
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ConversionTrackCandidateProducer::OutInTrackCandidateCollection_
std::string OutInTrackCandidateCollection_
Definition: ConversionTrackCandidateProducer.cc:62
ConversionTrackCandidateProducer::severitiesexclEE_
std::vector< int > severitiesexclEE_
Definition: ConversionTrackCandidateProducer.cc:91
ConversionTrackCandidateProducer::barrelecalCollection_
edm::EDGetTokenT< EcalRecHitCollection > barrelecalCollection_
Definition: ConversionTrackCandidateProducer.cc:73
ConversionTrackCandidateProducer::isoEtMin_
double isoEtMin_
Definition: ConversionTrackCandidateProducer.cc:83
ConversionTrackCandidateProducer::endcapecalCollection_
edm::EDGetTokenT< EcalRecHitCollection > endcapecalCollection_
Definition: ConversionTrackCandidateProducer.cc:74
NavigationSchool
Definition: NavigationSchool.h:18
EgammaRecHitIsolation
Definition: EgammaRecHitIsolation.h:26
OutInConversionTrackFinder::tracks
std::vector< Trajectory > tracks(const TrajectorySeedCollection &seeds, TrackCandidateCollection &candidates) const override
Definition: OutInConversionTrackFinder.cc:43
ConversionTrackCandidateProducer::flagsexclEE_
std::vector< int > flagsexclEE_
Definition: ConversionTrackCandidateProducer.cc:89
config
Definition: config.py:1
ElectronHcalHelper::Configuration::maxSeverityHB
int maxSeverityHB
Definition: ElectronHcalHelper.h:36
ConversionTrackCandidateProducer::hcalHelper_
std::unique_ptr< ElectronHcalHelper > hcalHelper_
Definition: ConversionTrackCandidateProducer.cc:111
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
ElectronHcalHelper::Configuration::onlyBehindCluster
bool onlyBehindCluster
Definition: ElectronHcalHelper.h:30
ConversionTrackCandidateProducer::isoInnerConeR_
double isoInnerConeR_
Definition: ConversionTrackCandidateProducer.cc:81
submitPVResolutionJobs.config
config
parse the configuration file
Definition: submitPVResolutionJobs.py:281
reco::CaloCluster
Definition: CaloCluster.h:31
ConversionTrackCandidateProducer::caloPtrVecOutIn_
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecOutIn_
Definition: ConversionTrackCandidateProducer.cc:105
edm::ESHandle< NavigationSchool >
EcalSeverityLevelAlgoRcd
Definition: EcalSeverityLevelAlgoRcd.h:12
ElectronHcalHelper::Configuration::hOverEConeSize
double hOverEConeSize
Definition: ElectronHcalHelper.h:27
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
ConversionTrackCandidateProducer::maxHOverE_
double maxHOverE_
Definition: ConversionTrackCandidateProducer.cc:78
ConversionTrackFinder::setEventSetup
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
Definition: ConversionTrackFinder.cc:31
ElectronHcalHelper::Configuration
Definition: ElectronHcalHelper.h:25
ConversionTrackCandidateProducer::setEventSetup
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
Definition: ConversionTrackCandidateProducer.cc:207
ConversionTrackCandidateProducer::InOutTrackCandidateCollection_
std::string InOutTrackCandidateCollection_
Definition: ConversionTrackCandidateProducer.cc:63
PixelPluginsPhase0_cfi.isBarrel
isBarrel
Definition: PixelPluginsPhase0_cfi.py:17
ConversionTrackCandidateProducer::caloPtrVecInOut_
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecInOut_
Definition: ConversionTrackCandidateProducer.cc:106
InOutConversionSeedFinder::makeSeeds
void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) override
Definition: InOutConversionSeedFinder.cc:36
ConversionTrackCandidateProducer::vetoClusteredHits_
bool vetoClusteredHits_
Definition: ConversionTrackCandidateProducer.cc:85
ConversionSeedFinder::setNavigationSchool
void setNavigationSchool(const NavigationSchool *navigation)
Definition: ConversionSeedFinder.h:69
edm::ParameterSet
Definition: ParameterSet.h:47
ConversionTrackCandidateProducer::isoConeR_
double isoConeR_
Definition: ConversionTrackCandidateProducer.cc:80
ConversionTrackCandidateProducer::InOutTrackSCAssociationCollection_
std::string InOutTrackSCAssociationCollection_
Definition: ConversionTrackCandidateProducer.cc:66
ConversionTrackCandidateProducer::ecalIsoCut_offset_
double ecalIsoCut_offset_
Definition: ConversionTrackCandidateProducer.cc:93
ConversionTrackCandidateProducer::measurementTrkEvtToken_
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkEvtToken_
Definition: ConversionTrackCandidateProducer.cc:75
reco::CaloCluster::eta
double eta() const
pseudorapidity of cluster centroid
Definition: CaloCluster.h:181
ConversionTrackCandidateProducer::outInTrackFinder_
OutInConversionTrackFinder outInTrackFinder_
Definition: ConversionTrackCandidateProducer.cc:101
ConversionSeedFinder::seeds
TrajectorySeedCollection & seeds()
Definition: ConversionSeedFinder.h:57
ElectronHcalHelper::Configuration::maxSeverityHE
int maxSeverityHE
Definition: ElectronHcalHelper.h:38
edm::ParameterSetDescription::setUnknown
void setUnknown()
Definition: ParameterSetDescription.cc:39
ConversionSeedFinder::setCandidate
virtual void setCandidate(float e, GlobalPoint pos)
Definition: ConversionSeedFinder.h:58
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
DetId::Ecal
Definition: DetId.h:27
get
#define get
OutInConversionSeedFinder::makeSeeds
void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) override
Definition: OutInConversionSeedFinder.cc:54
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
reco::CaloCluster::position
const math::XYZPoint & position() const
cluster centroid position
Definition: CaloCluster.h:154
ConversionTrackCandidateProducer::minSCEt_
double minSCEt_
Definition: ConversionTrackCandidateProducer.cc:79
ConversionTrackCandidateProducer::isoEMin_
double isoEMin_
Definition: ConversionTrackCandidateProducer.cc:84
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
ConversionSeedFinder::setEvent
void setEvent(const edm::Event &e)
Definition: ConversionSeedFinder.cc:30
eostools.move
def move(src, dest)
Definition: eostools.py:511
ElectronHcalHelper::Configuration::eThresHB
EgammaHcalIsolation::arrayHB eThresHB
Definition: ElectronHcalHelper.h:35
ElectronHcalHelper::Configuration::checkHcalStatus
bool checkHcalStatus
Definition: ElectronHcalHelper.h:30
ConversionTrackCandidateProducer::scHybridBarrelProducer_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > scHybridBarrelProducer_
Definition: ConversionTrackCandidateProducer.cc:70
ConversionTrackCandidateProducer::isoEtaSlice_
double isoEtaSlice_
Definition: ConversionTrackCandidateProducer.cc:82
ConversionTrackCandidateProducer::buildCollections
void buildCollections(bool detector, const edm::Handle< edm::View< reco::CaloCluster >> &scHandle, const edm::Handle< edm::View< reco::CaloCluster >> &bcHandle, const EcalRecHitCollection &ecalRecHits, const EcalSeverityLevelAlgo *sevLev, ElectronHcalHelper const &hcalHelper, TrackCandidateCollection &outInTracks, TrackCandidateCollection &inOutTracks, std::vector< edm::Ptr< reco::CaloCluster >> &vecRecOI, std::vector< edm::Ptr< reco::CaloCluster >> &vecRecIO)
Definition: ConversionTrackCandidateProducer.cc:347
ConversionTrackCandidateProducer::hbheRecHits_
edm::EDGetTokenT< HBHERecHitCollection > hbheRecHits_
Definition: ConversionTrackCandidateProducer.cc:72
RecoTauCleanerPlugins.ecalIsolation
ecalIsolation
Definition: RecoTauCleanerPlugins.py:112
edm::helper::Filler
Definition: ValueMap.h:22
ConversionTrackCandidateProducer::theCaloGeom_
edm::ESHandle< CaloGeometry > theCaloGeom_
Definition: ConversionTrackCandidateProducer.cc:96
ConversionTrackCandidateProducer::bcEndcapCollection_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > bcEndcapCollection_
Definition: ConversionTrackCandidateProducer.cc:69
reco::CaloCluster::energy
double energy() const
cluster energy
Definition: CaloCluster.h:149
ElectronHcalHelper::Configuration::eThresHE
EgammaHcalIsolation::arrayHE eThresHE
Definition: ElectronHcalHelper.h:37
ConversionTrackCandidateProducer::ecalIsoCut_slope_
double ecalIsoCut_slope_
Definition: ConversionTrackCandidateProducer.cc:94
edm::InputTag
Definition: InputTag.h:15
EgammaHcalIsolation::arrayHE
std::array< double, 7 > arrayHE
Definition: EgammaHcalIsolation.h:42
ConversionTrackCandidateProducer::flagsexclEB_
std::vector< int > flagsexclEB_
Definition: ConversionTrackCandidateProducer.cc:88