45 produces<SeedingLayerSetsHits>();
46 produces<TrackingRegionsSeedingLayerSets>();
60 descriptions.
add(
"pixelInactiveAreaTrackingRegionsAndSeedingLayers", desc);
73 for(
const auto& origin: origins) {
75 LogTrace(
"PixelInactiveAreaTrackingRegionsSeedingLayersProducer") <<
"Origin " << origin.first.x() <<
"," << origin.first.y() <<
"," << origin.first.z() <<
" z half lengh " << origin.second;
76 for(
auto& areasLayerSet: areasLayerSets) {
77 auto region = builder.region(origin, areasLayerSet.first);
82 for(
const auto& ind: areasLayerSet.second) {
85 LogTrace(
"PixelInactiveAreaTrackingRegionsSeedingLayersProducer") <<
" region eta,phi " << region->direction().eta() <<
"," << region->direction().phi() <<
" eta range " << etaPhiRegion->etaRange().min() <<
"," << etaPhiRegion->etaRange().max() <<
" phi range " << (region->direction().phi()-etaPhiRegion->phiMargin().left()) <<
"," << (region->direction().phi()+etaPhiRegion->phiMargin().right()) <<
" layer sets " << ss.str();
Origins origins(const edm::Event &iEvent) const
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
static void fillDescriptions(edm::ParameterSetDescription &desc)
PixelInactiveAreaTrackingRegionsSeedingLayersProducer(const edm::ParameterSet &iConfig)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
std::vector< std::pair< VecArray2< Area >, std::vector< LayerSetIndex > > > areasAndLayerSets(const GlobalPoint &point, float zwidth) const
SeedingLayerSetsBuilder seedingLayerSetsBuilder_
PixelInactiveAreaFinder inactiveAreaFinder_
static void fillDescriptions(edm::ParameterSetDescription &desc, const std::string &defaultBeamSpot="offlineBeamSpot", const std::string &defaultVertex="firstStepPrimaryVertices", int defaultMaxVertices=-1)
static void fillDescriptions(edm::ParameterSetDescription &desc)
~PixelInactiveAreaTrackingRegionsSeedingLayersProducer() override=default
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
AreaSeededTrackingRegionsBuilder trackingRegionsBuilder_
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
InactiveAreas inactiveAreas(const edm::Event &iEvent, const edm::EventSetup &iSetup)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
VertexBeamspotOrigins origins_
static void fillDescriptions(edm::ParameterSetDescription &desc)
Builder beginEvent(const edm::Event &e) const