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, const edm::InputTag &fastsimHitTag)
 
 SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
 
 SeedingLayerSetsBuilder (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 
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 25 of file SeedingLayerSetsBuilder.h.

Member Typedef Documentation

Definition at line 28 of file SeedingLayerSetsBuilder.h.

Constructor & Destructor Documentation

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

Definition at line 182 of file SeedingLayerSetsBuilder.cc.

References edm::ConsumesCollector::consumes(), and fastSimrecHitsToken_.

182  :
183  SeedingLayerSetsBuilder(cfg, iC)
184 {
186 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
SeedingLayerSetsBuilder()=default
edm::EDGetTokenT< FastTrackerRecHitCollection > fastSimrecHitsToken_
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC 
)

Definition at line 190 of file SeedingLayerSetsBuilder.cc.

References Exception, spr::find(), runEdmFileComparison::found, edm::ParameterSet::getParameter(), layerConfig(), layerNamesInSets(), SiStripPI::max, str, AlCaHLTBitMon_QueryRunRegistry::string, theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, and theTTRHBuilders.

191 {
192  std::vector<std::string> namesPset = cfg.getParameter<std::vector<std::string> >("layerList");
193  std::vector<std::vector<std::string> > layerNamesInSets = this->layerNamesInSets(namesPset);
194  // debug printout of layers
195  typedef std::vector<std::string>::const_iterator IS;
196  typedef std::vector<std::vector<std::string> >::const_iterator IT;
197  std::ostringstream str;
198  // The following should not be set to cout
199 // for (IT it = layerNamesInSets.begin(); it != layerNamesInSets.end(); it++) {
200 // str << "SET: ";
201 // for (IS is = it->begin(); is != it->end(); is++) str << *is <<" ";
202 // str << std::endl;
203 // }
204 // std::cout << str.str() << std::endl;
205  if(layerNamesInSets.empty())
207  else
208  theNumberOfLayersInSet = layerNamesInSets[0].size();
209 
210 
211  for (IT it = layerNamesInSets.begin(); it != layerNamesInSets.end(); it++) {
212  if(it->size() != theNumberOfLayersInSet)
213  throw cms::Exception("Configuration") << "Assuming all SeedingLayerSets to have same number of layers. LayerSet " << (it-layerNamesInSets.begin()) << " has " << it->size() << " while 0th has " << theNumberOfLayersInSet;
214  for(const std::string& layerName: *it) {
215  auto found = std::find(theLayerNames.begin(), theLayerNames.end(), layerName);
216  unsigned short layerIndex = 0;
217  if(found != theLayerNames.end()) {
218  layerIndex = found-theLayerNames.begin();
219  }
220  else {
222  throw cms::Exception("Assert") << "Too many layers in " << __FILE__ << ":" << __LINE__ << ", 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 }
T getParameter(std::string const &) const
std::vector< LayerSpec > theLayers
std::vector< std::string > theLayerNames
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
std::vector< const TransientTrackingRecHitBuilder * > theTTRHBuilders
std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
std::vector< LinkConnSpec >::const_iterator IT
#define str(s)
edm::ParameterSet layerConfig(const std::string &nameLayer, const edm::ParameterSet &cfg) const
std::vector< const DetLayer * > theLayerDets
static std::vector< std::vector< std::string > > layerNamesInSets(const std::vector< std::string > &namesPSet)
SeedingLayerSetsBuilder::SeedingLayerSetsBuilder ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)

Definition at line 187 of file SeedingLayerSetsBuilder.cc.

187  :
188  SeedingLayerSetsBuilder(cfg, iC)
189 {}
SeedingLayerSetsBuilder()=default
SeedingLayerSetsBuilder::~SeedingLayerSetsBuilder ( )

Definition at line 242 of file SeedingLayerSetsBuilder.cc.

242 {}

Member Function Documentation

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

Definition at line 244 of file SeedingLayerSetsBuilder.cc.

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

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

244  {
246  empty.setAllowAnything(); // for now accept any parameter in the PSets, consider improving later
247 
248  desc.add<std::vector<std::string> >("layerList", {});
249  desc.add<edm::ParameterSetDescription>("BPix", empty);
250  desc.add<edm::ParameterSetDescription>("FPix", empty);
251  desc.add<edm::ParameterSetDescription>("TIB", empty);
252  desc.add<edm::ParameterSetDescription>("TID", empty);
253  desc.add<edm::ParameterSetDescription>("TOB", empty);
254  desc.add<edm::ParameterSetDescription>("TEC", empty);
255  desc.add<edm::ParameterSetDescription>("MTIB", empty);
256  desc.add<edm::ParameterSetDescription>("MTID", empty);
257  desc.add<edm::ParameterSetDescription>("MTOB", empty);
258  desc.add<edm::ParameterSetDescription>("MTEC", empty);
259 }
void setAllowAnything()
allow any parameter label/value pairs
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::hits ( const edm::Event ev,
const edm::EventSetup es 
)

Definition at line 369 of file SeedingLayerSetsBuilder.cc.

References theLayerDets, theLayerNames, theLayers, theLayerSetIndices, theNumberOfLayersInSet, theTTRHBuilders, and updateEventSetup().

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

369  {
370  updateEventSetup(es);
371 
372  auto ret = std::make_unique<SeedingLayerSetsHits>(theNumberOfLayersInSet,
374  &theLayerNames,
375  &theLayerDets);
376 
377  for(auto& layer: theLayers) {
378  ret->addHits(layer.nameIndex, layer.extractor->hits((const TkTransientTrackingRecHitBuilder &)(*theTTRHBuilders[layer.nameIndex]), ev, es));
379  }
380  ret->shrink_to_fit();
381  return ret;
382 }
std::vector< LayerSpec > theLayers
std::vector< std::string > theLayerNames
std::vector< const TransientTrackingRecHitBuilder * > theTTRHBuilders
void updateEventSetup(const edm::EventSetup &es)
std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
std::vector< const DetLayer * > theLayerDets
edm::ParameterSet SeedingLayerSetsBuilder::layerConfig ( const std::string &  nameLayer,
const edm::ParameterSet cfg 
) const
private

Definition at line 261 of file SeedingLayerSetsBuilder.cc.

References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), dataset::name, and mps_fire::result.

Referenced by SeedingLayerSetsBuilder().

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)) return cfg.getParameter<edm::ParameterSet>(name);
268  }
269  edm::LogError("SeedingLayerSetsBuilder") <<"configuration for layer: "<<nameLayer<<" not found, job will probably crash!";
270  return result;
271 }
T getParameter(std::string const &) const
bool exists(std::string const &parameterName) const
checks if a parameter exists
uint16_t size_type
vector< vector< string > > SeedingLayerSetsBuilder::layerNamesInSets ( const std::vector< std::string > &  namesPSet)
static

Definition at line 273 of file SeedingLayerSetsBuilder.cc.

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

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

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

Definition at line 360 of file SeedingLayerSetsBuilder.cc.

References numberOfLayers(), and theLayers.

360  {
361  std::vector<SeedingLayerId> ret;
362  ret.reserve(numberOfLayers());
363  for(const auto& layer: theLayers) {
364  ret.emplace_back(layer.subdet, layer.side, layer.idLayer);
365  }
366  return ret;
367 }
std::vector< LayerSpec > theLayers
unsigned short numberOfLayers() const
const std::vector<SeedingLayerSetsHits::LayerSetIndex>& SeedingLayerSetsBuilder::layerSetIndices ( ) const
inline

Definition at line 43 of file SeedingLayerSetsBuilder.h.

References looper::cfg, ev, hfClusterShapes_cfi::hits, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

43 { return theLayerSetIndices; }
std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
std::unique_ptr< SeedingLayerSetsHits > SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim ( const edm::Event ev,
const edm::EventSetup es 
)

Definition at line 384 of file SeedingLayerSetsBuilder.cc.

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

384  {
385  updateEventSetup(es);
386 
388  ev.getByToken(fastSimrecHitsToken_,fastSimrechits_); //using FastSim RecHits
389  edm::ESHandle<TrackerTopology> trackerTopology;
390  es.get<TrackerTopologyRcd>().get(trackerTopology);
391  const TrackerTopology* const tTopo = trackerTopology.product();
393 
394  auto ret = std::make_unique<SeedingLayerSetsHits>(theNumberOfLayersInSet,
396  &theLayerNames,
397  &theLayerDets);
398 
399  for(auto& layer: theLayers) {
400  layerhits_.clear();
401  for(auto &rh : *fastSimrechits_){
404  int idLayer = 0;
405  if( (rh.det()->geographicalId()).subdetId() == PixelSubdetector::PixelBarrel){
407  side = TrackerDetSide::Barrel;
408  idLayer = tTopo->pxbLayer(rh.det()->geographicalId());
409  }
410  else if ((rh.det()->geographicalId()).subdetId() == PixelSubdetector::PixelEndcap){
412  idLayer = tTopo->pxfDisk(rh.det()->geographicalId());
413  if(tTopo->pxfSide(rh.det()->geographicalId())==1)
415  else
417  }
418 
419  if(layer.subdet == subdet && layer.side == side && layer.idLayer == idLayer){
420  BaseTrackerRecHit const & b(rh);
421  auto ptrHit = (BaseTrackerRecHit *)(b.clone());
422  layerhits_.emplace_back(ptrHit);
423  }
424  else continue;
425  }
426  ret->addHits(layer.nameIndex, std::move(layerhits_));
427  }
428  ret->shrink_to_fit();
429  return ret;
430 }
std::vector< LayerSpec > theLayers
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:517
edm::EDGetTokenT< FastTrackerRecHitCollection > fastSimrecHitsToken_
std::vector< std::string > theLayerNames
unsigned int pxfDisk(const DetId &id) const
TrackerDetSide
Definition: TrackerDetSide.h:4
void updateEventSetup(const edm::EventSetup &es)
std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
unsigned int pxbLayer(const DetId &id) const
double b
Definition: hdecay.h:120
T get() const
Definition: EventSetup.h:71
unsigned int pxfSide(const DetId &id) const
std::vector< HitPointer > OwnedHits
T const * product() const
Definition: ESHandle.h:86
def move(src, dest)
Definition: eostools.py:511
std::vector< const DetLayer * > theLayerDets
SeedingLayerSetsBuilder::SeedingLayerId SeedingLayerSetsBuilder::nameToEnumId ( const std::string &  name)
static

Definition at line 33 of file SeedingLayerSetsBuilder.cc.

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

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

33  {
36  int idLayer = 0;
37 
38  size_t index;
39  //
40  // BPIX
41  //
42  if ((index = name.find("BPix")) != string::npos) {
45  idLayer = atoi(name.substr(index+4,1).c_str());
46  }
47  //
48  // FPIX
49  //
50  else if ((index = name.find("FPix")) != string::npos) {
52  idLayer = atoi(name.substr(index+4).c_str());
53  if ( name.find("pos") != string::npos ) {
55  } else {
57  }
58  }
59  //
60  // TIB
61  //
62  else if ((index = name.find("TIB")) != string::npos) {
63  subdet = GeomDetEnumerators::TIB;
65  idLayer = atoi(name.substr(index+3,1).c_str());
66  }
67  //
68  // TID
69  //
70  else if ((index = name.find("TID")) != string::npos) {
71  subdet = GeomDetEnumerators::TID;
72  idLayer = atoi(name.substr(index+3,1).c_str());
73  if ( name.find("pos") != string::npos ) {
75  } else {
77  }
78  }
79  //
80  // TOB
81  //
82  else if ((index = name.find("TOB")) != string::npos) {
83  subdet = GeomDetEnumerators::TOB;
85  idLayer = atoi(name.substr(index+3,1).c_str());
86  }
87  //
88  // TEC
89  //
90  else if ((index = name.find("TEC")) != string::npos) {
91  subdet = GeomDetEnumerators::TEC;
92  idLayer = atoi(name.substr(index+3,1).c_str());
93  if ( name.find("pos") != string::npos ) {
95  } else {
97  }
98  }
99  return std::make_tuple(subdet, side, idLayer);
100 }
TrackerDetSide
Definition: TrackerDetSide.h:4
unsigned short SeedingLayerSetsBuilder::numberOfLayers ( ) const
inline

Definition at line 38 of file SeedingLayerSetsBuilder.h.

Referenced by layers().

38 { return theLayers.size(); }
std::vector< LayerSpec > theLayers
unsigned short SeedingLayerSetsBuilder::numberOfLayerSets ( ) const
inline

Definition at line 39 of file SeedingLayerSetsBuilder.h.

References LayerTriplets::layers().

std::vector< SeedingLayerSetsHits::LayerSetIndex > theLayerSetIndices
SeedingLayerSetsLooper SeedingLayerSetsBuilder::seedingLayerSetsLooper ( ) const
inline

Definition at line 41 of file SeedingLayerSetsBuilder.h.

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

Definition at line 291 of file SeedingLayerSetsBuilder.cc.

References GeometricSearchTracker::barrelLayers(), edm::ESWatcher< T >::check(), Exception, geometryWatcher_, edm::EventSetup::get(), GeometricSearchTracker::negForwardLayers(), GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, GeometricSearchTracker::posForwardLayers(), GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), edm::ESHandle< T >::product(), GeomDetEnumerators::TEC, theLayerDets, theLayerNames, theLayers, theTTRHBuilders, GeomDetEnumerators::TIB, GeometricSearchTracker::tibLayers(), GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeometricSearchTracker::tobLayers(), trackingTruthProducer_cfi::tracker, and trhWatcher_.

Referenced by hits(), and makeSeedingLayerSetsHitsforFastSim().

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

Member Data Documentation

edm::EDGetTokenT<FastTrackerRecHitCollection> SeedingLayerSetsBuilder::fastSimrecHitsToken_
private
edm::ESWatcher<TrackerRecoGeometryRecord> SeedingLayerSetsBuilder::geometryWatcher_
private

Definition at line 56 of file SeedingLayerSetsBuilder.h.

Referenced by updateEventSetup().

std::vector<const DetLayer *> SeedingLayerSetsBuilder::theLayerDets
private
std::vector<std::string> SeedingLayerSetsBuilder::theLayerNames
private
std::vector<LayerSpec> SeedingLayerSetsBuilder::theLayers
private
std::vector<SeedingLayerSetsHits::LayerSetIndex> SeedingLayerSetsBuilder::theLayerSetIndices
private
unsigned short SeedingLayerSetsBuilder::theNumberOfLayersInSet
private
std::vector<const TransientTrackingRecHitBuilder *> SeedingLayerSetsBuilder::theTTRHBuilders
private

Definition at line 82 of file SeedingLayerSetsBuilder.h.

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

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

Definition at line 57 of file SeedingLayerSetsBuilder.h.

Referenced by updateEventSetup().