CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
SeedingLayerSetsBuilder Class Reference

#include <SeedingLayerSetsBuilder.h>

Classes

struct  LayerSpec
 

Public Types

using SeedingLayerId = std::tuple< GeomDetEnumerators::SubDetector, TrackerDetSide, int >
 

Public Member Functions

std::unique_ptr< SeedingLayerSetsHitshits (const edm::Event &ev, const edm::EventSetup &es)
 
std::vector< SeedingLayerIdlayers () const
 
const std::vector< SeedingLayerSetsHits::LayerSetIndex > & layerSetIndices () const
 
std::unique_ptr< SeedingLayerSetsHitsmakeSeedingLayerSetsHitsforFastSim (const edm::Event &ev, const edm::EventSetup &es)
 
unsigned short numberOfLayers () const
 
unsigned short numberOfLayerSets () const
 
 SeedingLayerSetsBuilder ()=default
 
 SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 
 SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
 
 SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC, const edm::InputTag &fastsimHitTag)
 
SeedingLayerSetsLooper seedingLayerSetsLooper () const
 
 ~SeedingLayerSetsBuilder ()
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &desc)
 
static std::vector< std::vector< std::string > > layerNamesInSets (const std::vector< std::string > &namesPSet)
 
static SeedingLayerId nameToEnumId (const std::string &name)
 

Private Member Functions

edm::ParameterSet layerConfig (const std::string &nameLayer, const edm::ParameterSet &cfg) const
 
void updateEventSetup (const edm::EventSetup &es)
 

Private Attributes

edm::EDGetTokenT< FastTrackerRecHitCollectionfastSimrecHitsToken_
 
edm::ESWatcher< TrackerRecoGeometryRecordgeometryWatcher_
 
std::vector< const DetLayer * > theLayerDets
 
std::vector< std::string > theLayerNames
 
std::vector< LayerSpectheLayers
 
std::vector< SeedingLayerSetsHits::LayerSetIndextheLayerSetIndices
 
unsigned short theNumberOfLayersInSet
 
std::vector< const TransientTrackingRecHitBuilder * > theTTRHBuilders
 
edm::ESWatcher< TransientRecHitRecordtrhWatcher_
 

Detailed Description

Definition at line 31 of file SeedingLayerSetsBuilder.h.

Member Typedef Documentation

◆ SeedingLayerId

Definition at line 33 of file SeedingLayerSetsBuilder.h.

Constructor & Destructor Documentation

◆ SeedingLayerSetsBuilder() [1/4]

SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( )
default

◆ SeedingLayerSetsBuilder() [2/4]

SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC,
const edm::InputTag fastsimHitTag 
)

◆ SeedingLayerSetsBuilder() [3/4]

SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC 
)

Definition at line 186 of file SeedingLayerSetsBuilder.cc.

186  {
187  std::vector<std::string> namesPset = cfg.getParameter<std::vector<std::string> >("layerList");
188  std::vector<std::vector<std::string> > layerNamesInSets = this->layerNamesInSets(namesPset);
189  // debug printout of layers
190  typedef std::vector<std::string>::const_iterator IS;
191  typedef std::vector<std::vector<std::string> >::const_iterator IT;
192  std::ostringstream str;
193  // The following should not be set to cout
194  // for (IT it = layerNamesInSets.begin(); it != layerNamesInSets.end(); it++) {
195  // str << "SET: ";
196  // for (IS is = it->begin(); is != it->end(); is++) str << *is <<" ";
197  // str << std::endl;
198  // }
199  // std::cout << str.str() << std::endl;
200  if (layerNamesInSets.empty())
202  else
204 
205  for (IT it = layerNamesInSets.begin(); it != layerNamesInSets.end(); it++) {
206  if (it->size() != theNumberOfLayersInSet)
207  throw cms::Exception("Configuration")
208  << "Assuming all SeedingLayerSets to have same number of layers. LayerSet " << (it - layerNamesInSets.begin())
209  << " has " << it->size() << " while 0th has " << theNumberOfLayersInSet;
210  for (const std::string& layerName : *it) {
211  auto found = std::find(theLayerNames.begin(), theLayerNames.end(), layerName);
212  unsigned short layerIndex = 0;
213  if (found != theLayerNames.end()) {
214  layerIndex = found - theLayerNames.begin();
215  } else {
217  throw cms::Exception("Assert")
218  << "Too many layers in " << __FILE__ << ":" << __LINE__
219  << ", we may have to enlarge the index type from unsigned short to unsigned int";
220  }
221 
222  layerIndex = theLayers.size();
223  theLayers.emplace_back(theLayerNames.size(), layerName, layerConfig(layerName, cfg), iC);
224  theLayerNames.push_back(layerName);
225  }
226  theLayerSetIndices.push_back(layerIndex);
227  }
228  }
229  theLayerDets.resize(theLayers.size());
230  theTTRHBuilders.resize(theLayers.size());
231 
232  // debug printout
233  // The following should not be set to cout
234  //for(const LayerSpec& layer: theLayers) {
235  // std::cout << layer.print(theLayerNames) << std::endl;
236  //}
237 }

References looper::cfg, Exception, spr::find(), newFWLiteAna::found, layerConfig(), layerNamesInSets(), SiStripPI::max, str, AlCaHLTBitMon_QueryRunRegistry::string, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and theTTRHBuilders.

◆ SeedingLayerSetsBuilder() [4/4]

SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)

Definition at line 184 of file SeedingLayerSetsBuilder.cc.

185  : SeedingLayerSetsBuilder(cfg, iC) {}

◆ ~SeedingLayerSetsBuilder()

SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder ( )

Definition at line 239 of file SeedingLayerSetsBuilder.cc.

239 {}

Member Function Documentation

◆ fillDescriptions()

void SeedingLayerSetsBuilder::fillDescriptions ( edm::ParameterSetDescription desc)
static

Definition at line 241 of file SeedingLayerSetsBuilder.cc.

241  {
243  empty.setAllowAnything(); // for now accept any parameter in the PSets, consider improving later
244 
245  desc.add<std::vector<std::string> >("layerList", {});
246  desc.add<edm::ParameterSetDescription>("BPix", empty);
247  desc.add<edm::ParameterSetDescription>("FPix", empty);
248  desc.add<edm::ParameterSetDescription>("TIB", empty);
249  desc.add<edm::ParameterSetDescription>("TID", empty);
250  desc.add<edm::ParameterSetDescription>("TOB", empty);
251  desc.add<edm::ParameterSetDescription>("TEC", empty);
252  desc.add<edm::ParameterSetDescription>("MTIB", empty);
253  desc.add<edm::ParameterSetDescription>("MTID", empty);
254  desc.add<edm::ParameterSetDescription>("MTOB", empty);
255  desc.add<edm::ParameterSetDescription>("MTEC", empty);
256 }

References edm::ParameterSetDescription::add(), and relativeConstraints::empty.

Referenced by SeedingLayersEDProducer::fillDescriptions(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().

◆ hits()

std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::hits ( const edm::Event ev,
const edm::EventSetup es 
)

Definition at line 361 of file SeedingLayerSetsBuilder.cc.

361  {
362  updateEventSetup(es);
363 
364  auto ret = std::make_unique<SeedingLayerSetsHits>(
366 
367  for (auto& layer : theLayers) {
368  ret->addHits(
369  layer.nameIndex,
370  layer.extractor->hits((const TkTransientTrackingRecHitBuilder&)(*theTTRHBuilders[layer.nameIndex]), ev, es));
371  }
372  ret->shrink_to_fit();
373  return ret;
374 }

References ev, runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().

Referenced by SeedingLayersEDProducer::produce(), and PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().

◆ layerConfig()

edm::ParameterSet SeedingLayerSetsBuilder::layerConfig ( const std::string &  nameLayer,
const edm::ParameterSet cfg 
) const
private

Definition at line 258 of file SeedingLayerSetsBuilder.cc.

259  {
261 
262  for (string::size_type iEnd = nameLayer.size(); iEnd > 0; --iEnd) {
263  string name = nameLayer.substr(0, iEnd);
264  if (cfg.exists(name))
265  return cfg.getParameter<edm::ParameterSet>(name);
266  }
267  edm::LogError("SeedingLayerSetsBuilder")
268  << "configuration for layer: " << nameLayer << " not found, job will probably crash!";
269  return result;
270 }

References looper::cfg, Skims_PA_cff::name, and mps_fire::result.

Referenced by SeedingLayerSetsBuilder().

◆ layerNamesInSets()

vector< vector< string > > SeedingLayerSetsBuilder::layerNamesInSets ( const std::vector< std::string > &  namesPSet)
static

Definition at line 272 of file SeedingLayerSetsBuilder.cc.

272  {
273  std::vector<std::vector<std::string> > result;
274  for (std::vector<std::string>::const_iterator is = namesPSet.begin(); is < namesPSet.end(); ++is) {
275  vector<std::string> layersInSet;
276  string line = *is;
278  while (pos != string::npos) {
279  pos = line.find("+");
280  string layer = line.substr(0, pos);
281  layersInSet.push_back(layer);
282  line = line.substr(pos + 1, string::npos);
283  }
284  result.push_back(layersInSet);
285  }
286  return result;
287 }

References mps_splice::line, and mps_fire::result.

Referenced by MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), and SeedingLayerSetsBuilder().

◆ layers()

std::vector< SeedingLayerSetsBuilder::SeedingLayerId > SeedingLayerSetsBuilder::layers ( ) const

Definition at line 352 of file SeedingLayerSetsBuilder.cc.

352  {
353  std::vector<SeedingLayerId> ret;
354  ret.reserve(numberOfLayers());
355  for (const auto& layer : theLayers) {
356  ret.emplace_back(layer.subdet, layer.side, layer.idLayer);
357  }
358  return ret;
359 }

References numberOfLayers(), runTheMatrix::ret, and theLayers.

◆ layerSetIndices()

const std::vector<SeedingLayerSetsHits::LayerSetIndex>& SeedingLayerSetsBuilder::layerSetIndices ( ) const
inline

Definition at line 54 of file SeedingLayerSetsBuilder.h.

54 { return theLayerSetIndices; }

References theLayerSetIndices.

◆ makeSeedingLayerSetsHitsforFastSim()

std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim ( const edm::Event ev,
const edm::EventSetup es 
)

Definition at line 376 of file SeedingLayerSetsBuilder.cc.

377  {
378  updateEventSetup(es);
379 
381  ev.getByToken(fastSimrecHitsToken_, fastSimrechits_); //using FastSim RecHits
382  edm::ESHandle<TrackerTopology> trackerTopology;
383  es.get<TrackerTopologyRcd>().get(trackerTopology);
384  const TrackerTopology* const tTopo = trackerTopology.product();
386 
387  auto ret = std::make_unique<SeedingLayerSetsHits>(
389 
390  for (auto& layer : theLayers) {
391  layerhits_.clear();
392  for (auto& rh : *fastSimrechits_) {
395  int idLayer = 0;
396  if ((rh.det()->geographicalId()).subdetId() == PixelSubdetector::PixelBarrel) {
398  side = TrackerDetSide::Barrel;
399  idLayer = tTopo->pxbLayer(rh.det()->geographicalId());
400  } else if ((rh.det()->geographicalId()).subdetId() == PixelSubdetector::PixelEndcap) {
402  idLayer = tTopo->pxfDisk(rh.det()->geographicalId());
403  if (tTopo->pxfSide(rh.det()->geographicalId()) == 1)
405  else
407  }
408 
409  if (layer.subdet == subdet && layer.side == side && layer.idLayer == idLayer) {
410  BaseTrackerRecHit const& b(rh);
411  auto ptrHit = (BaseTrackerRecHit*)(b.clone());
412  layerhits_.emplace_back(ptrHit);
413  } else
414  continue;
415  }
416  ret->addHits(layer.nameIndex, std::move(layerhits_));
417  }
418  ret->shrink_to_fit();
419  return ret;
420 }

References b, Barrel, ev, fastSimrecHitsToken_, edm::EventSetup::get(), get, GeomDetEnumerators::invalidDet, eostools::move(), NegEndcap, GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), runTheMatrix::ret, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and updateEventSetup().

◆ nameToEnumId()

SeedingLayerSetsBuilder::SeedingLayerId SeedingLayerSetsBuilder::nameToEnumId ( const std::string &  name)
static

Definition at line 32 of file SeedingLayerSetsBuilder.cc.

32  {
35  int idLayer = 0;
36 
37  size_t index;
38  //
39  // BPIX
40  //
41  if ((index = name.find("BPix")) != string::npos) {
44  idLayer = atoi(name.substr(index + 4, 1).c_str());
45  }
46  //
47  // FPIX
48  //
49  else if ((index = name.find("FPix")) != string::npos) {
51  idLayer = atoi(name.substr(index + 4).c_str());
52  if (name.find("pos") != string::npos) {
54  } else {
56  }
57  }
58  //
59  // TIB
60  //
61  else if ((index = name.find("TIB")) != string::npos) {
62  subdet = GeomDetEnumerators::TIB;
64  idLayer = atoi(name.substr(index + 3, 1).c_str());
65  }
66  //
67  // TID
68  //
69  else if ((index = name.find("TID")) != string::npos) {
70  subdet = GeomDetEnumerators::TID;
71  idLayer = atoi(name.substr(index + 3, 1).c_str());
72  if (name.find("pos") != string::npos) {
74  } else {
76  }
77  }
78  //
79  // TOB
80  //
81  else if ((index = name.find("TOB")) != string::npos) {
82  subdet = GeomDetEnumerators::TOB;
84  idLayer = atoi(name.substr(index + 3, 1).c_str());
85  }
86  //
87  // TEC
88  //
89  else if ((index = name.find("TEC")) != string::npos) {
90  subdet = GeomDetEnumerators::TEC;
91  idLayer = atoi(name.substr(index + 3, 1).c_str());
92  if (name.find("pos") != string::npos) {
94  } else {
96  }
97  }
98  return std::make_tuple(subdet, side, idLayer);
99 }

References Barrel, GeomDetEnumerators::invalidDet, Skims_PA_cff::name, NegEndcap, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.

Referenced by SeedingLayerSetsBuilder::LayerSpec::LayerSpec(), and MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker().

◆ numberOfLayers()

unsigned short SeedingLayerSetsBuilder::numberOfLayers ( ) const
inline

Definition at line 45 of file SeedingLayerSetsBuilder.h.

45 { return theLayers.size(); }

References theLayers.

Referenced by layers().

◆ numberOfLayerSets()

unsigned short SeedingLayerSetsBuilder::numberOfLayerSets ( ) const
inline

Definition at line 46 of file SeedingLayerSetsBuilder.h.

46  {
48  }

References theLayerSetIndices, and theNumberOfLayersInSet.

◆ seedingLayerSetsLooper()

SeedingLayerSetsLooper SeedingLayerSetsBuilder::seedingLayerSetsLooper ( ) const
inline

◆ updateEventSetup()

void SeedingLayerSetsBuilder::updateEventSetup ( const edm::EventSetup es)
private

Definition at line 289 of file SeedingLayerSetsBuilder.cc.

289  {
290  // We want to evaluate both in the first invocation (to properly
291  // initialize ESWatcher), and this way we avoid one branch compared
292  // to || (should be tiny effect)
293  if (!(geometryWatcher_.check(es) | trhWatcher_.check(es)))
294  return;
295 
297  es.get<TrackerRecoGeometryRecord>().get(htracker);
298  const GeometricSearchTracker& tracker = *htracker;
299 
300  const std::vector<BarrelDetLayer const*>& bpx = tracker.barrelLayers();
301  const std::vector<BarrelDetLayer const*>& tib = tracker.tibLayers();
302  const std::vector<BarrelDetLayer const*>& tob = tracker.tobLayers();
303 
304  const std::vector<ForwardDetLayer const*>& fpx_pos = tracker.posForwardLayers();
305  const std::vector<ForwardDetLayer const*>& tid_pos = tracker.posTidLayers();
306  const std::vector<ForwardDetLayer const*>& tec_pos = tracker.posTecLayers();
307 
308  const std::vector<ForwardDetLayer const*>& fpx_neg = tracker.negForwardLayers();
309  const std::vector<ForwardDetLayer const*>& tid_neg = tracker.negTidLayers();
310  const std::vector<ForwardDetLayer const*>& tec_neg = tracker.negTecLayers();
311 
312  for (const auto& layer : theLayers) {
313  const DetLayer* detLayer = nullptr;
314  int index = layer.idLayer - 1;
315 
316  if (layer.subdet == GeomDetEnumerators::PixelBarrel) {
317  detLayer = bpx[index];
318  } else if (layer.subdet == GeomDetEnumerators::PixelEndcap) {
319  if (layer.side == TrackerDetSide::PosEndcap) {
320  detLayer = fpx_pos[index];
321  } else {
322  detLayer = fpx_neg[index];
323  }
324  } else if (layer.subdet == GeomDetEnumerators::TIB) {
325  detLayer = tib[index];
326  } else if (layer.subdet == GeomDetEnumerators::TID) {
327  if (layer.side == TrackerDetSide::PosEndcap) {
328  detLayer = tid_pos[index];
329  } else {
330  detLayer = tid_neg[index];
331  }
332  } else if (layer.subdet == GeomDetEnumerators::TOB) {
333  detLayer = tob[index];
334  } else if (layer.subdet == GeomDetEnumerators::TEC) {
335  if (layer.side == TrackerDetSide::PosEndcap) {
336  detLayer = tec_pos[index];
337  } else {
338  detLayer = tec_neg[index];
339  }
340  } else {
341  throw cms::Exception("Configuration") << "Did not find DetLayer for layer " << theLayerNames[layer.nameIndex];
342  }
343 
345  es.get<TransientRecHitRecord>().get(layer.hitBuilder, builder);
346 
347  theLayerDets[layer.nameIndex] = detLayer;
348  theTTRHBuilders[layer.nameIndex] = builder.product();
349  }
350 }

References edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), get, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, PbPb_ZMuSkimMuonDPG_cff::tracker, and trhWatcher_.

Referenced by hits(), and makeSeedingLayerSetsHitsforFastSim().

Member Data Documentation

◆ fastSimrecHitsToken_

edm::EDGetTokenT<FastTrackerRecHitCollection> SeedingLayerSetsBuilder::fastSimrecHitsToken_
private

◆ geometryWatcher_

edm::ESWatcher<TrackerRecoGeometryRecord> SeedingLayerSetsBuilder::geometryWatcher_
private

Definition at line 68 of file SeedingLayerSetsBuilder.h.

Referenced by updateEventSetup().

◆ theLayerDets

std::vector<const DetLayer*> SeedingLayerSetsBuilder::theLayerDets
private

◆ theLayerNames

std::vector<std::string> SeedingLayerSetsBuilder::theLayerNames
private

◆ theLayers

std::vector<LayerSpec> SeedingLayerSetsBuilder::theLayers
private

◆ theLayerSetIndices

std::vector<SeedingLayerSetsHits::LayerSetIndex> SeedingLayerSetsBuilder::theLayerSetIndices
private

◆ theNumberOfLayersInSet

unsigned short SeedingLayerSetsBuilder::theNumberOfLayersInSet
private

◆ theTTRHBuilders

std::vector<const TransientTrackingRecHitBuilder*> SeedingLayerSetsBuilder::theTTRHBuilders
private

Definition at line 97 of file SeedingLayerSetsBuilder.h.

Referenced by hits(), SeedingLayerSetsBuilder(), and updateEventSetup().

◆ trhWatcher_

edm::ESWatcher<TransientRecHitRecord> SeedingLayerSetsBuilder::trhWatcher_
private

Definition at line 69 of file SeedingLayerSetsBuilder.h.

Referenced by updateEventSetup().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
GeomDetEnumerators::SubDetector
SubDetector
Definition: GeomDetEnumerators.h:10
SeedingLayerSetsBuilder::theLayers
std::vector< LayerSpec > theLayers
Definition: SeedingLayerSetsBuilder.h:98
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
SeedingLayerSetsBuilder::geometryWatcher_
edm::ESWatcher< TrackerRecoGeometryRecord > geometryWatcher_
Definition: SeedingLayerSetsBuilder.h:68
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
GeomDetEnumerators::TID
Definition: GeomDetEnumerators.h:15
SeedingLayerSetsBuilder::theLayerDets
std::vector< const DetLayer * > theLayerDets
Definition: SeedingLayerSetsBuilder.h:96
DetLayer
Definition: DetLayer.h:21
TrackerTopology::pxfSide
unsigned int pxfSide(const DetId &id) const
Definition: TrackerTopology.h:192
GeomDetEnumerators::invalidDet
Definition: GeomDetEnumerators.h:31
TrackerTopology
Definition: TrackerTopology.h:16
pos
Definition: PixelAliasList.h:18
GeomDetEnumerators::TIB
Definition: GeomDetEnumerators.h:13
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TransientRecHitRecord
Definition: TransientRecHitRecord.h:14
GeomDetEnumerators::TOB
Definition: GeomDetEnumerators.h:14
TrackerRecoGeometryRecord
Definition: TrackerRecoGeometryRecord.h:11
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
newFWLiteAna.found
found
Definition: newFWLiteAna.py:118
edm::Handle
Definition: AssociativeIterator.h:50
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder
SeedingLayerSetsBuilder()=default
SeedingLayerSetsBuilder::fastSimrecHitsToken_
edm::EDGetTokenT< FastTrackerRecHitCollection > fastSimrecHitsToken_
Definition: SeedingLayerSetsBuilder.h:70
TkTransientTrackingRecHitBuilder
Definition: TkTransientTrackingRecHitBuilder.h:15
TrackerTopology::pxbLayer
unsigned int pxbLayer(const DetId &id) const
Definition: TrackerTopology.h:144
SeedingLayerSetsBuilder::theLayerNames
std::vector< std::string > theLayerNames
Definition: SeedingLayerSetsBuilder.h:95
GeomDetEnumerators::PixelBarrel
Definition: GeomDetEnumerators.h:11
TrackerDetSide::Barrel
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
SeedingLayerSetsBuilder::theLayerSetIndices
std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
Definition: SeedingLayerSetsBuilder.h:94
BaseTrackerRecHit
Definition: BaseTrackerRecHit.h:15
SeedingLayerSetsBuilder::updateEventSetup
void updateEventSetup(const edm::EventSetup &es)
Definition: SeedingLayerSetsBuilder.cc:289
str
#define str(s)
Definition: TestProcessor.cc:48
edm::ESHandle< TrackerTopology >
TrackerDetSide
TrackerDetSide
Definition: TrackerDetSide.h:4
TrackerDetSide::NegEndcap
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:49
b
double b
Definition: hdecay.h:118
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
edm::ParameterSet
Definition: ParameterSet.h:36
edm::LogError
Definition: MessageLogger.h:183
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
GeomDetEnumerators::TEC
Definition: GeomDetEnumerators.h:16
TrackerTopology::pxfDisk
unsigned int pxfDisk(const DetId &id) const
Definition: TrackerTopology.h:446
SeedingLayerSetsLooper
Definition: SeedingLayerSetsLooper.h:10
SeedingLayerSetsBuilder::trhWatcher_
edm::ESWatcher< TransientRecHitRecord > trhWatcher_
Definition: SeedingLayerSetsBuilder.h:69
get
#define get
IT
std::vector< LinkConnSpec >::const_iterator IT
Definition: TriggerBoardSpec.cc:5
looper.cfg
cfg
Definition: looper.py:297
TrackerDetSide::PosEndcap
SeedingLayerSetsHits::OwnedHits
std::vector< HitPointer > OwnedHits
Definition: SeedingLayerSetsHits.h:23
eostools.move
def move(src, dest)
Definition: eostools.py:511
SeedingLayerSetsBuilder::theTTRHBuilders
std::vector< const TransientTrackingRecHitBuilder * > theTTRHBuilders
Definition: SeedingLayerSetsBuilder.h:97
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
Exception
Definition: hltDiff.cc:246
GeometricSearchTracker
Definition: GeometricSearchTracker.h:14
SeedingLayerSetsBuilder::numberOfLayers
unsigned short numberOfLayers() const
Definition: SeedingLayerSetsBuilder.h:45
SeedingLayerSetsBuilder::layerNamesInSets
static std::vector< std::vector< std::string > > layerNamesInSets(const std::vector< std::string > &namesPSet)
Definition: SeedingLayerSetsBuilder.cc:272
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
GeomDetEnumerators::PixelEndcap
Definition: GeomDetEnumerators.h:12
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
mps_fire.result
result
Definition: mps_fire.py:303
cms::Exception
Definition: Exception.h:70
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SeedingLayerSetsBuilder::layerConfig
edm::ParameterSet layerConfig(const std::string &nameLayer, const edm::ParameterSet &cfg) const
Definition: SeedingLayerSetsBuilder.cc:258
SeedingLayerSetsBuilder::theNumberOfLayersInSet
unsigned short theNumberOfLayersInSet
Definition: SeedingLayerSetsBuilder.h:93
mps_splice.line
line
Definition: mps_splice.py:76
edm::OwnVector
Definition: OwnVector.h:24