CMS 3D CMS Logo

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

#include <AreaSeededTrackingRegionsBuilder.h>

Classes

class  Area
 
class  Builder
 

Public Types

using Origin = std::pair< GlobalPoint, float >
 
using Origins = std::vector< Origin >
 

Public Member Functions

 AreaSeededTrackingRegionsBuilder (const edm::ParameterSet &regPSet, edm::ConsumesCollector &&iC)
 
 AreaSeededTrackingRegionsBuilder (const edm::ParameterSet &regPSet, edm::ConsumesCollector &iC)
 
Builder beginEvent (const edm::Event &e) const
 
 ~AreaSeededTrackingRegionsBuilder ()=default
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &desc)
 

Private Attributes

TrackingSeedCandidates candidates_
 
std::vector< Aream_areas
 
float m_extraEta
 
float m_extraPhi
 
float m_originRadius
 
bool m_precise
 
float m_ptMin
 
bool m_searchOpt
 
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_whereToUseMeasurementTracker
 
edm::EDGetTokenT< MeasurementTrackerEventtoken_measurementTracker
 

Detailed Description

Definition at line 16 of file AreaSeededTrackingRegionsBuilder.h.

Member Typedef Documentation

◆ Origin

Definition at line 18 of file AreaSeededTrackingRegionsBuilder.h.

◆ Origins

Definition at line 19 of file AreaSeededTrackingRegionsBuilder.h.

Constructor & Destructor Documentation

◆ AreaSeededTrackingRegionsBuilder() [1/2]

AreaSeededTrackingRegionsBuilder::AreaSeededTrackingRegionsBuilder ( const edm::ParameterSet regPSet,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 94 of file AreaSeededTrackingRegionsBuilder.h.

95  : AreaSeededTrackingRegionsBuilder(regPSet, iC) {}

◆ AreaSeededTrackingRegionsBuilder() [2/2]

AreaSeededTrackingRegionsBuilder::AreaSeededTrackingRegionsBuilder ( const edm::ParameterSet regPSet,
edm::ConsumesCollector iC 
)

◆ ~AreaSeededTrackingRegionsBuilder()

AreaSeededTrackingRegionsBuilder::~AreaSeededTrackingRegionsBuilder ( )
default

Member Function Documentation

◆ beginEvent()

AreaSeededTrackingRegionsBuilder::Builder AreaSeededTrackingRegionsBuilder::beginEvent ( const edm::Event e) const

Definition at line 50 of file AreaSeededTrackingRegionsBuilder.cc.

50  {
51  auto builder = Builder(this);
52 
55  e.getByToken(token_measurementTracker, hmte);
56  builder.setMeasurementTracker(hmte.product());
57  }
58  builder.setCandidates((candidates_.objects(e)));
59  return builder;
60 }

References candidates_, MillePedeFileConverter_cfg::e, edm::EDGetTokenT< T >::isUninitialized(), TrackingSeedCandidates::objects(), edm::Handle< T >::product(), and token_measurementTracker.

Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce(), and AreaSeededTrackingRegionsProducer::regions().

◆ fillDescriptions()

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

Definition at line 36 of file AreaSeededTrackingRegionsBuilder.cc.

36  {
37  desc.add<double>("extraPhi", 0.);
38  desc.add<double>("extraEta", 0.);
39 
40  desc.add<double>("ptMin", 0.9);
41  desc.add<double>("originRadius", 0.2);
42  desc.add<bool>("precise", true);
43 
44  desc.add<std::string>("whereToUseMeasurementTracker", "Never");
45  desc.add<edm::InputTag>("measurementTrackerName", edm::InputTag(""));
47  desc.add<bool>("searchOpt", false);
48 }

References submitPVResolutionJobs::desc, TrackingSeedCandidates::fillDescriptions(), HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

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

Member Data Documentation

◆ candidates_

TrackingSeedCandidates AreaSeededTrackingRegionsBuilder::candidates_
private

Definition at line 105 of file AreaSeededTrackingRegionsBuilder.h.

Referenced by beginEvent().

◆ m_areas

std::vector<Area> AreaSeededTrackingRegionsBuilder::m_areas
private

Definition at line 104 of file AreaSeededTrackingRegionsBuilder.h.

◆ m_extraEta

float AreaSeededTrackingRegionsBuilder::m_extraEta
private

◆ m_extraPhi

float AreaSeededTrackingRegionsBuilder::m_extraPhi
private

◆ m_originRadius

float AreaSeededTrackingRegionsBuilder::m_originRadius
private

◆ m_precise

bool AreaSeededTrackingRegionsBuilder::m_precise
private

◆ m_ptMin

float AreaSeededTrackingRegionsBuilder::m_ptMin
private

◆ m_searchOpt

bool AreaSeededTrackingRegionsBuilder::m_searchOpt
private

◆ m_whereToUseMeasurementTracker

RectangularEtaPhiTrackingRegion::UseMeasurementTracker AreaSeededTrackingRegionsBuilder::m_whereToUseMeasurementTracker
private

◆ token_measurementTracker

edm::EDGetTokenT<MeasurementTrackerEvent> AreaSeededTrackingRegionsBuilder::token_measurementTracker
private
AreaSeededTrackingRegionsBuilder::m_ptMin
float m_ptMin
Definition: AreaSeededTrackingRegionsBuilder.h:108
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
edm::EDGetTokenT::isUninitialized
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:99
AreaSeededTrackingRegionsBuilder::m_extraEta
float m_extraEta
Definition: AreaSeededTrackingRegionsBuilder.h:107
edm::Handle< MeasurementTrackerEvent >
AreaSeededTrackingRegionsBuilder::m_originRadius
float m_originRadius
Definition: AreaSeededTrackingRegionsBuilder.h:109
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
AreaSeededTrackingRegionsBuilder::m_whereToUseMeasurementTracker
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_whereToUseMeasurementTracker
Definition: AreaSeededTrackingRegionsBuilder.h:112
AreaSeededTrackingRegionsBuilder::candidates_
TrackingSeedCandidates candidates_
Definition: AreaSeededTrackingRegionsBuilder.h:105
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RectangularEtaPhiTrackingRegion::UseMeasurementTracker::kNever
MeasurementTrackerEvent
Definition: MeasurementTrackerEvent.h:16
AreaSeededTrackingRegionsBuilder::token_measurementTracker
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
Definition: AreaSeededTrackingRegionsBuilder.h:111
AreaSeededTrackingRegionsBuilder::m_searchOpt
bool m_searchOpt
Definition: AreaSeededTrackingRegionsBuilder.h:113
TrackingSeedCandidates::objects
Objects objects(const edm::Event &iEvent) const
Definition: TrackingSeedCandidates.cc:33
AreaSeededTrackingRegionsBuilder::AreaSeededTrackingRegionsBuilder
AreaSeededTrackingRegionsBuilder(const edm::ParameterSet &regPSet, edm::ConsumesCollector &&iC)
Definition: AreaSeededTrackingRegionsBuilder.h:94
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
AreaSeededTrackingRegionsBuilder::m_extraPhi
float m_extraPhi
Definition: AreaSeededTrackingRegionsBuilder.h:106
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackingSeedCandidates::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: TrackingSeedCandidates.cc:26
AreaSeededTrackingRegionsBuilder::m_precise
bool m_precise
Definition: AreaSeededTrackingRegionsBuilder.h:110
edm::InputTag
Definition: InputTag.h:15
RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)
Definition: RectangularEtaPhiTrackingRegion.cc:82
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37