CMS 3D CMS Logo

HitPairEDProducer.cc
Go to the documentation of this file.
11 
20 
21 namespace {
22  class ImplBase;
23 }
24 
26 public:
27  HitPairEDProducer(const edm::ParameterSet& iConfig);
28  ~HitPairEDProducer() override = default;
29 
30  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
31 
32  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
33 
34 private:
36 
37  std::unique_ptr<::ImplBase> impl_;
38 };
39 
40 namespace {
41  class ImplBase {
42  public:
43  ImplBase(const edm::ParameterSet& iConfig, edm::ConsumesCollector iC);
44  virtual ~ImplBase() = default;
45 
46  virtual void produces(edm::ProducesCollector) const = 0;
47 
48  virtual void produce(const bool clusterCheckOk, edm::Event& iEvent, const edm::EventSetup& iSetup) = 0;
49 
50  protected:
51  edm::RunningAverage localRA_;
52  const unsigned int maxElement_;
53  const unsigned int maxElementTotal_;
54  const bool putEmptyIfMaxElementReached_;
55 
57  std::vector<unsigned> layerPairBegins_;
58  };
59  ImplBase::ImplBase(const edm::ParameterSet& iConfig, edm::ConsumesCollector iC)
60  : maxElement_(iConfig.getParameter<unsigned int>("maxElement")),
61  maxElementTotal_(iConfig.getParameter<unsigned int>("maxElementTotal")),
62  putEmptyIfMaxElementReached_(iConfig.getParameter<bool>("putEmptyIfMaxElementReached")),
63  generator_(
64  iC, 0, 1, nullptr, maxElement_), // these indices are dummy, TODO: cleanup HitPairGeneratorFromLayerPair
65  layerPairBegins_(iConfig.getParameter<std::vector<unsigned>>("layerPairs")) {
66  if (layerPairBegins_.empty())
67  throw cms::Exception("Configuration")
68  << "HitPairEDProducer requires at least index for layer pairs (layerPairs parameter), none was given";
69  }
70 
72  template <typename T_SeedingHitSets, typename T_IntermediateHitDoublets, typename T_RegionLayers>
73  class Impl : public ImplBase {
74  public:
75  template <typename... Args>
76  Impl(const edm::ParameterSet& iConfig, edm::ConsumesCollector iC, Args&&... args)
77  : ImplBase(iConfig, iC), regionsLayers_(&layerPairBegins_, std::forward<Args>(args)..., iC) {}
78  ~Impl() override = default;
79 
80  void produces(edm::ProducesCollector producesCollector) const override {
81  T_SeedingHitSets::produces(producesCollector);
82  T_IntermediateHitDoublets::produces(producesCollector);
83  }
84 
85  void produce(const bool clusterCheckOk, edm::Event& iEvent, const edm::EventSetup& iSetup) override {
86  auto regionsLayers = regionsLayers_.beginEvent(iEvent);
87 
88  auto seedingHitSetsProducer = T_SeedingHitSets(&localRA_);
89  auto intermediateHitDoubletsProducer = T_IntermediateHitDoublets(regionsLayers.seedingLayerSetsHitsPtr());
90 
91  if (!clusterCheckOk) {
92  seedingHitSetsProducer.putEmpty(iEvent);
93  intermediateHitDoubletsProducer.putEmpty(iEvent);
94  return;
95  }
96 
97  seedingHitSetsProducer.reserve(regionsLayers.regionsSize());
98  intermediateHitDoubletsProducer.reserve(regionsLayers.regionsSize());
99 
100  unsigned int nDoublets = 0;
101 
102  for (const auto& regionLayers : regionsLayers) {
103  const TrackingRegion& region = regionLayers.region();
104  auto hitCachePtr_filler_shs = seedingHitSetsProducer.beginRegion(&region, nullptr);
105  auto hitCachePtr_filler_ihd =
106  intermediateHitDoubletsProducer.beginRegion(&region, std::get<0>(hitCachePtr_filler_shs));
107  auto hitCachePtr = std::get<0>(hitCachePtr_filler_ihd);
108 
109  for (SeedingLayerSetsHits::SeedingLayerSet layerSet : regionLayers.layerPairs()) {
110  auto doubletsOpt = generator_.doublets(region, iEvent, iSetup, layerSet, *hitCachePtr);
111  if (not doubletsOpt) {
112  if (putEmptyIfMaxElementReached_) {
113  putEmpty(iEvent, regionsLayers);
114  return;
115  } else {
116  continue;
117  }
118  }
119  auto& doublets = *doubletsOpt;
120  LogTrace("HitPairEDProducer") << " created " << doublets.size() << " doublets for layers "
121  << layerSet[0].index() << "," << layerSet[1].index();
122  if (doublets.empty())
123  continue; // don't bother if no pairs from these layers
124  nDoublets += doublets.size();
125  if (nDoublets >= maxElementTotal_) {
126  edm::LogError("TooManyPairs") << "number of total pairs exceed maximum, no pairs produced";
127  putEmpty(iEvent, regionsLayers);
128  return;
129  }
130  seedingHitSetsProducer.fill(std::get<1>(hitCachePtr_filler_shs), doublets);
131  intermediateHitDoubletsProducer.fill(std::get<1>(hitCachePtr_filler_ihd), layerSet, std::move(doublets));
132  }
133  }
134 
135  seedingHitSetsProducer.put(iEvent);
136  intermediateHitDoubletsProducer.put(iEvent);
137  }
138 
139  private:
140  template <typename T>
141  void putEmpty(edm::Event& iEvent, T& regionsLayers) {
142  auto seedingHitSetsProducerDummy = T_SeedingHitSets(&localRA_);
143  auto intermediateHitDoubletsProducerDummy = T_IntermediateHitDoublets(regionsLayers.seedingLayerSetsHitsPtr());
144  seedingHitSetsProducerDummy.putEmpty(iEvent);
145  intermediateHitDoubletsProducerDummy.putEmpty(iEvent);
146  }
147 
148  T_RegionLayers regionsLayers_;
149  };
150 
152  class DoNothing {
153  public:
154  DoNothing(const SeedingLayerSetsHits*) {}
155  DoNothing(edm::RunningAverage*) {}
156 
157  static void produces(edm::ProducesCollector){};
158 
159  void reserve(size_t) {}
160 
161  auto beginRegion(const TrackingRegion*, LayerHitMapCache* ptr) { return std::make_tuple(ptr, 0); }
162 
163  void fill(int, const HitDoublets&) {}
165 
166  void put(edm::Event&) {}
167  void putEmpty(edm::Event&) {}
168  };
169 
171  class ImplSeedingHitSets {
172  public:
173  ImplSeedingHitSets(edm::RunningAverage* localRA)
174  : seedingHitSets_(std::make_unique<RegionsSeedingHitSets>()), localRA_(localRA) {}
175 
176  static void produces(edm::ProducesCollector producesCollector) {
177  producesCollector.produces<RegionsSeedingHitSets>();
178  }
179 
180  void reserve(size_t regionsSize) { seedingHitSets_->reserve(regionsSize, localRA_->upper()); }
181 
182  auto beginRegion(const TrackingRegion* region, LayerHitMapCache*) {
183  hitCacheTmp_.clear();
184  return std::make_tuple(&hitCacheTmp_, seedingHitSets_->beginRegion(region));
185  }
186 
188  for (size_t i = 0, size = doublets.size(); i < size; ++i) {
189  filler.emplace_back(doublets.hit(i, HitDoublets::inner), doublets.hit(i, HitDoublets::outer));
190  }
191  }
192 
193  void put(edm::Event& iEvent) {
194  seedingHitSets_->shrink_to_fit();
195  localRA_->update(seedingHitSets_->size());
196  putEmpty(iEvent);
197  }
198 
199  void putEmpty(edm::Event& iEvent) { iEvent.put(std::move(seedingHitSets_)); }
200 
201  private:
202  std::unique_ptr<RegionsSeedingHitSets> seedingHitSets_;
203  edm::RunningAverage* localRA_;
204  LayerHitMapCache hitCacheTmp_; // used if !produceIntermediateHitDoublets
205  };
206 
208  class ImplIntermediateHitDoublets {
209  public:
210  ImplIntermediateHitDoublets(const SeedingLayerSetsHits* layers)
211  : intermediateHitDoublets_(std::make_unique<IntermediateHitDoublets>(layers)), layers_(layers) {}
212 
213  static void produces(edm::ProducesCollector producesCollector) {
214  producesCollector.produces<IntermediateHitDoublets>();
215  }
216 
217  void reserve(size_t regionsSize) { intermediateHitDoublets_->reserve(regionsSize, layers_->size()); }
218 
219  auto beginRegion(const TrackingRegion* region, LayerHitMapCache*) {
220  auto filler = intermediateHitDoublets_->beginRegion(region);
221  return std::make_tuple(&(filler.layerHitMapCache()), filler);
222  }
223 
226  HitDoublets&& doublets) {
227  filler.addDoublets(layerSet, std::move(doublets));
228  }
229 
230  void put(edm::Event& iEvent) {
231  intermediateHitDoublets_->shrink_to_fit();
232  putEmpty(iEvent);
233  }
234 
235  void putEmpty(edm::Event& iEvent) { iEvent.put(std::move(intermediateHitDoublets_)); }
236 
237  private:
238  std::unique_ptr<IntermediateHitDoublets> intermediateHitDoublets_;
239  const SeedingLayerSetsHits* layers_;
240  };
241 
243  // For the usual case that TrackingRegions and seeding layers are read separately
244  class RegionsLayersSeparate {
245  public:
246  class RegionLayers {
247  public:
248  RegionLayers(const TrackingRegion* region, const std::vector<SeedingLayerSetsHits::SeedingLayerSet>* layerPairs)
249  : region_(region), layerPairs_(layerPairs) {}
250 
251  const TrackingRegion& region() const { return *region_; }
252  const std::vector<SeedingLayerSetsHits::SeedingLayerSet>& layerPairs() const { return *layerPairs_; }
253 
254  private:
255  const TrackingRegion* region_;
256  const std::vector<SeedingLayerSetsHits::SeedingLayerSet>* layerPairs_;
257  };
258 
259  class EventTmp {
260  public:
261  class const_iterator {
262  public:
263  using internal_iterator_type = edm::OwnVector<TrackingRegion>::const_iterator;
264  using value_type = RegionLayers;
265  using difference_type = internal_iterator_type::difference_type;
266 
267  const_iterator(internal_iterator_type iter,
268  const std::vector<SeedingLayerSetsHits::SeedingLayerSet>* layerPairs)
269  : iter_(iter), layerPairs_(layerPairs) {}
270 
271  value_type operator*() const { return value_type(&(*iter_), layerPairs_); }
272 
273  const_iterator& operator++() {
274  ++iter_;
275  return *this;
276  }
277  const_iterator operator++(int) {
278  const_iterator clone(*this);
279  ++(*this);
280  return clone;
281  }
282 
283  bool operator==(const const_iterator& other) const { return iter_ == other.iter_; }
284  bool operator!=(const const_iterator& other) const { return !operator==(other); }
285 
286  private:
287  internal_iterator_type iter_;
288  const std::vector<SeedingLayerSetsHits::SeedingLayerSet>* layerPairs_;
289  };
290 
291  EventTmp(const SeedingLayerSetsHits* seedingLayerSetsHits,
293  const std::vector<unsigned>& layerPairBegins)
294  : seedingLayerSetsHits_(seedingLayerSetsHits), regions_(regions) {
295  // construct the pairs from the sets
296  if (seedingLayerSetsHits_->numberOfLayersInSet() > 2) {
297  for (const auto& layerSet : *seedingLayerSetsHits_) {
298  for (const auto pairBeginIndex : layerPairBegins) {
299  if (pairBeginIndex + 1 >= seedingLayerSetsHits->numberOfLayersInSet()) {
300  throw cms::Exception("LogicError")
301  << "Layer pair index " << pairBeginIndex
302  << " is out of bounds, input SeedingLayerSetsHits has only "
303  << seedingLayerSetsHits->numberOfLayersInSet()
304  << " layers per set, and the index+1 must be < than the number of layers in set";
305  }
306 
307  // Take only the requested pair of the set
308  SeedingLayerSetsHits::SeedingLayerSet pairCandidate = layerSet.slice(pairBeginIndex, pairBeginIndex + 1);
309 
310  // it would be trivial to use 128-bit bitfield for O(1) check
311  // if a layer pair has been inserted, but let's test first how
312  // a "straightforward" solution works
313  auto found = std::find_if(
314  layerPairs.begin(), layerPairs.end(), [&](const SeedingLayerSetsHits::SeedingLayerSet& pair) {
315  return pair[0].index() == pairCandidate[0].index() && pair[1].index() == pairCandidate[1].index();
316  });
317  if (found != layerPairs.end())
318  continue;
319 
320  layerPairs.push_back(pairCandidate);
321  }
322  }
323  } else {
324  if (layerPairBegins.size() != 1) {
325  throw cms::Exception("LogicError")
326  << "With pairs of input layers, it doesn't make sense to specify more than one input layer pair, got "
327  << layerPairBegins.size();
328  }
329  if (layerPairBegins[0] != 0) {
330  throw cms::Exception("LogicError")
331  << "With pairs of input layers, it doesn't make sense to specify other input layer pair than 0; got "
332  << layerPairBegins[0];
333  }
334 
335  layerPairs.reserve(seedingLayerSetsHits->size());
336  for (const auto& set : *seedingLayerSetsHits)
337  layerPairs.push_back(set);
338  }
339  }
340 
341  const SeedingLayerSetsHits* seedingLayerSetsHitsPtr() const { return seedingLayerSetsHits_; }
342 
343  size_t regionsSize() const { return regions_->size(); }
344 
345  const_iterator begin() const { return const_iterator(regions_->begin(), &layerPairs); }
346  const_iterator cbegin() const { return begin(); }
347  const_iterator end() const { return const_iterator(regions_->end(), &layerPairs); }
348  const_iterator cend() const { return end(); }
349 
350  private:
351  const SeedingLayerSetsHits* seedingLayerSetsHits_;
352  const edm::OwnVector<TrackingRegion>* regions_;
353  std::vector<SeedingLayerSetsHits::SeedingLayerSet> layerPairs;
354  };
355 
356  RegionsLayersSeparate(const std::vector<unsigned>* layerPairBegins,
357  const edm::InputTag& seedingLayerTag,
358  const edm::InputTag& regionTag,
360  : layerPairBegins_(layerPairBegins),
361  seedingLayerToken_(iC.consumes<SeedingLayerSetsHits>(seedingLayerTag)),
362  regionToken_(iC.consumes<edm::OwnVector<TrackingRegion>>(regionTag)) {}
363 
364  EventTmp beginEvent(const edm::Event& iEvent) const {
366  iEvent.getByToken(seedingLayerToken_, hlayers);
367  const auto* layers = hlayers.product();
368  if (layers->numberOfLayersInSet() < 2)
369  throw cms::Exception("LogicError")
370  << "HitPairEDProducer expects SeedingLayerSetsHits::numberOfLayersInSet() to be >= 2, got "
371  << layers->numberOfLayersInSet()
372  << ". This is likely caused by a configuration error of this module, or SeedingLayersEDProducer.";
374  iEvent.getByToken(regionToken_, hregions);
375 
376  return EventTmp(layers, hregions.product(), *layerPairBegins_);
377  }
378 
379  private:
380  const std::vector<unsigned>* layerPairBegins_;
381  edm::EDGetTokenT<SeedingLayerSetsHits> seedingLayerToken_;
383  };
384 
386  // For the case of automated pixel inactive region recovery where
387  // TrackingRegions and seeding layers become together
388  class RegionsLayersTogether {
389  public:
390  class EventTmp {
391  public:
393 
394  explicit EventTmp(const TrackingRegionsSeedingLayerSets* regionsLayers) : regionsLayers_(regionsLayers) {
395  if (regionsLayers->seedingLayerSetsHits().numberOfLayersInSet() != 2) {
396  throw cms::Exception("LogicError")
397  << "With trackingRegionsSeedingLayers input, the seeding layer sets may only contain layer pairs, now "
398  "got sets with "
399  << regionsLayers->seedingLayerSetsHits().numberOfLayersInSet() << " layers";
400  }
401  }
402 
403  const SeedingLayerSetsHits* seedingLayerSetsHitsPtr() const { return &(regionsLayers_->seedingLayerSetsHits()); }
404 
405  size_t regionsSize() const { return regionsLayers_->regionsSize(); }
406 
407  const_iterator begin() const { return regionsLayers_->begin(); }
408  const_iterator cbegin() const { return begin(); }
409  const_iterator end() const { return regionsLayers_->end(); }
410  const_iterator cend() const { return end(); }
411 
412  private:
413  const TrackingRegionsSeedingLayerSets* regionsLayers_;
414  };
415 
416  RegionsLayersTogether(const std::vector<unsigned>* layerPairBegins,
417  const edm::InputTag& regionLayerTag,
419  : regionLayerToken_(iC.consumes<TrackingRegionsSeedingLayerSets>(regionLayerTag)) {
420  if (layerPairBegins->size() != 1) {
421  throw cms::Exception("LogicError") << "With trackingRegionsSeedingLayers mode, it doesn't make sense to "
422  "specify more than one input layer pair, got "
423  << layerPairBegins->size();
424  }
425  if ((*layerPairBegins)[0] != 0) {
426  throw cms::Exception("LogicError") << "With trackingRegionsSeedingLayers mode, it doesn't make sense to "
427  "specify other input layer pair than 0; got "
428  << (*layerPairBegins)[0];
429  }
430  }
431 
432  EventTmp beginEvent(const edm::Event& iEvent) const {
434  iEvent.getByToken(regionLayerToken_, hregions);
435  return EventTmp(hregions.product());
436  }
437 
438  private:
440  };
441 } // namespace
442 
444  auto layersTag = iConfig.getParameter<edm::InputTag>("seedingLayers");
445  auto regionTag = iConfig.getParameter<edm::InputTag>("trackingRegions");
446  auto regionLayerTag = iConfig.getParameter<edm::InputTag>("trackingRegionsSeedingLayers");
447  const bool useRegionLayers = !regionLayerTag.label().empty();
448  if (useRegionLayers) {
449  if (!regionTag.label().empty()) {
450  throw cms::Exception("Configuration")
451  << "HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both "
452  "are set to non-empty value. Set the unneeded parameter to empty value.";
453  }
454  if (!layersTag.label().empty()) {
455  throw cms::Exception("Configuration")
456  << "With non-empty trackingRegionsSeedingLayers, please set also seedingLayers to empty value to reduce "
457  "confusion, because the parameter is not used";
458  }
459  }
460  if (regionTag.label().empty() && regionLayerTag.label().empty()) {
461  throw cms::Exception("Configuration")
462  << "HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both are "
463  "set to empty value. Set the needed parameter to a non-empty value.";
464  }
465 
466  const bool produceSeedingHitSets = iConfig.getParameter<bool>("produceSeedingHitSets");
467  const bool produceIntermediateHitDoublets = iConfig.getParameter<bool>("produceIntermediateHitDoublets");
468 
470  if (useRegionLayers)
471  throw cms::Exception("Configuration")
472  << "Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now also "
473  "'produceIntermediateHitDoublets is active";
474  impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
475  iConfig, consumesCollector(), layersTag, regionTag);
476  } else if (produceSeedingHitSets) {
477  if (useRegionLayers) {
478  impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersTogether>>(
479  iConfig, consumesCollector(), regionLayerTag);
480  } else {
481  impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersSeparate>>(
482  iConfig, consumesCollector(), layersTag, regionTag);
483  }
484  } else if (produceIntermediateHitDoublets) {
485  if (useRegionLayers)
486  throw cms::Exception("Configuration")
487  << "Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now "
488  "'produceIntermediateHitDoublets is active instead";
489  impl_ = std::make_unique<::Impl<::DoNothing, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
490  iConfig, consumesCollector(), layersTag, regionTag);
491  } else
492  throw cms::Exception("Configuration")
493  << "HitPairEDProducer requires either produceIntermediateHitDoublets or produceSeedingHitSets to be True. If "
494  "neither are needed, just remove this module from your sequence/path as it doesn't do anything useful";
495 
496  auto clusterCheckTag = iConfig.getParameter<edm::InputTag>("clusterCheck");
497  if (!clusterCheckTag.label().empty())
498  clusterCheckToken_ = consumes<bool>(clusterCheckTag);
499 
500  impl_->produces(producesCollector());
501 }
502 
505 
506  desc.add<edm::InputTag>("seedingLayers", edm::InputTag("seedingLayersEDProducer"))
507  ->setComment("Set this empty if 'trackingRegionsSeedingLayers' is non-empty");
508  desc.add<edm::InputTag>("trackingRegions", edm::InputTag("globalTrackingRegionFromBeamSpot"))
509  ->setComment(
510  "Input tracking regions when using all layer sets in 'seedingLayers' (conflicts with "
511  "'trackingRegionsSeedingLayers', set this empty to use the other)");
512  desc.add<edm::InputTag>("trackingRegionsSeedingLayers", edm::InputTag(""))
513  ->setComment(
514  "Input tracking regions and corresponding layer sets in case of dynamically limiting the seeding layers "
515  "(conflicts with 'trackingRegions', set this empty to use the other; if using this set also 'seedingLayers' "
516  "to empty)");
517  desc.add<edm::InputTag>("clusterCheck", edm::InputTag("trackerClusterCheck"));
518  desc.add<bool>("produceSeedingHitSets", false);
519  desc.add<bool>("produceIntermediateHitDoublets", false);
520  desc.add<unsigned int>("maxElement", 1000000);
521  desc.add<unsigned int>("maxElementTotal", 50000000);
522  desc.add<bool>("putEmptyIfMaxElementReached", false)
523  ->setComment(
524  "If set to true (default is 'false'), abort processing and put empty data products also if any layer pair "
525  "yields at least maxElement doublets, in addition to aborting processing if the sum of doublets from all "
526  "layer pairs reaches maxElementTotal.");
527  desc.add<std::vector<unsigned>>("layerPairs", std::vector<unsigned>{0})
528  ->setComment("Indices to the pairs of consecutive layers, i.e. 0 means (0,1), 1 (1,2) etc.");
529 
530  descriptions.add("hitPairEDProducerDefault", desc);
531 }
532 
534  bool clusterCheckOk = true;
536  edm::Handle<bool> hclusterCheck;
537  iEvent.getByToken(clusterCheckToken_, hclusterCheck);
538  clusterCheckOk = *hclusterCheck;
539  }
540 
541  impl_->produce(clusterCheckOk, iEvent, iSetup);
542 }
543 
size
Write out results.
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
SeedingLayerSet slice(size_t begin, size_t end) const
std::unique_ptr<::ImplBase > impl_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T const * product() const
Definition: Handle.h:70
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:104
constexpr Process operator++(Process p)
Definition: DataFormats.h:68
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
unsigned short size() const
Get the number of SeedingLayerSets.
std::string const & label() const
Definition: InputTag.h:36
Helper class enforcing correct way of filling the doublets of a region.
Log< level::Error, false > LogError
#define LogTrace(id)
void put(edm::Event &evt, double value, const char *instanceName)
~HitPairEDProducer() override=default
Definition: __init__.py:1
int iEvent
Definition: GenABIO.cc:224
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
edm::EDGetTokenT< bool > clusterCheckToken_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
HitPairEDProducer(const edm::ParameterSet &iConfig)
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
void reserve(size_t nregions, size_t nhitsets)
Helper class enforcing correct way of filling the doublets of a region.
bool operator!=(DTCELinkId const &lhs, DTCELinkId const &rhs)
Definition: DTCELinkId.h:81
const SeedingLayerSetsHits & seedingLayerSetsHits() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
HLT enums.
void reserve(size_t nregions, size_t nlayersets)
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
long double T
def move(src, dest)
Definition: eostools.py:511