#include <GenericPairGenerator.h>
Definition at line 14 of file GenericPairGenerator.h.
Definition at line 9 of file GenericPairGenerator.cc.
11 edm::LogInfo(
"CtfSpecialSeedGenerator|GenericPairGenerator") <<
"Constructing GenericPairGenerator";
T getParameter(std::string const &) const
SeedingLayerSetsBuilder theLsb
virtual GenericPairGenerator::~GenericPairGenerator |
( |
| ) |
|
|
inlinevirtual |
void GenericPairGenerator::clear |
( |
void |
| ) |
|
|
inlinevirtual |
Implements OrderedHitsGenerator.
Definition at line 15 of file GenericPairGenerator.cc.
References SeedingLayerSetsBuilder::check(), edm::hlt::Exception, hitPairs, TrackingRegion::hits(), SeedingLayerSetsBuilder::layers(), python.rootplot.utilities::ls(), theLsb, and theLss.
23 SeedingLayerSets::const_iterator iLss;
24 for (iLss =
theLss.begin(); iLss !=
theLss.end(); iLss++){
27 throw cms::Exception(
"CtfSpecialSeedGenerator") <<
"You are using " << ls.size() <<
" layers in set instead of 2 ";
29 std::vector<SeedingHit> innerHits = region.
hits(
e, es, &ls[0]);
30 std::vector<SeedingHit> outerHits = region.
hits(
e, es, &ls[1]);
31 std::vector<SeedingHit>::const_iterator iOuterHit;
32 for (iOuterHit = outerHits.begin(); iOuterHit != outerHits.end(); iOuterHit++){
33 std::vector<SeedingHit>::const_iterator iInnerHit;
34 for (iInnerHit = innerHits.begin(); iInnerHit != innerHits.end(); iInnerHit++){
ctfseeding::SeedingLayerSets layers(const edm::EventSetup &es)
virtual Hits hits(const edm::Event &ev, const edm::EventSetup &es, const ctfseeding::SeedingLayer *layer) const =0
get hits from layer compatible with region constraints
SeedingLayerSetsBuilder theLsb
bool check(const edm::EventSetup &es)
ctfseeding::SeedingLayerSets theLss
std::vector< SeedingLayer > SeedingLayers