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 189 of file SeedingLayerSetsBuilder.cc.

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

References looper::cfg, Exception, spr::find(), newFWLiteAna::found, layerConfig(), phase1PixelTopology::layerName, 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 187 of file SeedingLayerSetsBuilder.cc.

188  : SeedingLayerSetsBuilder(cfg, iC) {}

◆ ~SeedingLayerSetsBuilder()

SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder ( )

Definition at line 242 of file SeedingLayerSetsBuilder.cc.

242 {}

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 244 of file SeedingLayerSetsBuilder.cc.

244  {
246  empty.setAllowAnything(); // for now accept any parameter in the PSets, consider improving later
247 
248  desc.add<std::vector<std::string> >("layerList", {});
259 }

References submitPVResolutionJobs::desc, 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 364 of file SeedingLayerSetsBuilder.cc.

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

References ev, phase1PixelTopology::layer, 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 261 of file SeedingLayerSetsBuilder.cc.

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

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 275 of file SeedingLayerSetsBuilder.cc.

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

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

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

◆ layers()

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

Definition at line 355 of file SeedingLayerSetsBuilder.cc.

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

References phase1PixelTopology::layer, 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 379 of file SeedingLayerSetsBuilder.cc.

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

References b, Barrel, ev, fastSimrecHitsToken_, edm::EventSetup::get(), get, GeomDetEnumerators::invalidDet, phase1PixelTopology::layer, eostools::move(), NegEndcap, PixelSubdetector::PixelBarrel, GeomDetEnumerators::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 292 of file SeedingLayerSetsBuilder.cc.

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

References edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), get, phase1PixelTopology::layer, 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:543
edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57
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
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:14
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:87
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:292
str
#define str(s)
Definition: TestProcessor.cc:53
edm::ESHandle< TrackerTopology >
TrackerDetSide
TrackerDetSide
Definition: TrackerDetSide.h:4
TrackerDetSide::NegEndcap
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
b
double b
Definition: hdecay.h:118
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
edm::ParameterSet
Definition: ParameterSet.h:47
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
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
get
#define get
IT
std::vector< LinkConnSpec >::const_iterator IT
Definition: TriggerBoardSpec.cc:5
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition: looper.py:296
TrackerDetSide::PosEndcap
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
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:97
Exception
Definition: hltDiff.cc:245
GeometricSearchTracker
Definition: GeometricSearchTracker.h:15
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:275
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:311
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:261
SeedingLayerSetsBuilder::theNumberOfLayersInSet
unsigned short theNumberOfLayersInSet
Definition: SeedingLayerSetsBuilder.h:93
phase1PixelTopology::layerName
constexpr char const * layerName[numberOfLayers]
Definition: phase1PixelTopology.h:37
mps_splice.line
line
Definition: mps_splice.py:76
edm::OwnVector
Definition: OwnVector.h:24