#include <GlobalTrackingRegionProducerFromBeamSpot.h>
◆ GlobalTrackingRegionProducerFromBeamSpot() [1/2]
◆ GlobalTrackingRegionProducerFromBeamSpot() [2/2]
Definition at line 22 of file GlobalTrackingRegionProducerFromBeamSpot.h.
References looper::cfg, edm::ConsumesCollector::consumes(), edm::ConsumesCollector::esConsumes(), Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, theUseMS, token_beamSpot, and token_msmaker.
26 if (!regionPSet.
existsAs<
double>(
"nSigmaZ") && !regionPSet.
existsAs<
double>(
"originHalfLength")) {
27 throw cms::Exception(
"Configuration") <<
"GlobalTrackingRegionProducerFromBeamSpot: at least one of nSigmaZ, " 28 "originHalfLength must be present in the cfg.\n";
32 (regionPSet.
existsAs<
double>(
"originHalfLength") ? regionPSet.
getParameter<
double>(
"originHalfLength") : 0.0);
36 (regionPSet.
existsAs<
bool>(
"useMultipleScattering") ? regionPSet.
getParameter<
bool>(
"useMultipleScattering")
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
double theOriginHalfLength
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > token_msmaker
◆ ~GlobalTrackingRegionProducerFromBeamSpot()
GlobalTrackingRegionProducerFromBeamSpot::~GlobalTrackingRegionProducerFromBeamSpot |
( |
| ) |
|
|
overridedefault |
◆ fillDescriptions()
Definition at line 45 of file GlobalTrackingRegionProducerFromBeamSpot.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and HLT_2022v15_cff::InputTag.
49 desc.add<
bool>(
"precise",
true);
50 desc.add<
bool>(
"useMultipleScattering",
false);
51 desc.add<
double>(
"nSigmaZ", 4.0);
52 desc.add<
double>(
"originHalfLength", 0.0);
53 desc.add<
double>(
"originRadius", 0.2);
54 desc.add<
double>(
"ptMin", 0.9);
61 descriptions.
add(
"globalTrackingRegionFromBeamSpot", descRegion);
67 desc.add<
bool>(
"precise",
true);
68 desc.add<
bool>(
"useMultipleScattering",
false);
69 desc.add<
double>(
"nSigmaZ", 0.0);
70 desc.add<
double>(
"originHalfLength", 21.2);
71 desc.add<
double>(
"originRadius", 0.2);
72 desc.add<
double>(
"ptMin", 0.9);
79 descriptions.
add(
"globalTrackingRegionFromBeamSpotFixedZ", descRegion);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
◆ regions()
Implements TrackingRegionProducer.
Definition at line 83 of file GlobalTrackingRegionProducerFromBeamSpot.h.
References cms::cuda::bs, makeMEIFBenchmarkPlots::ev, edm::EventSetup::getData(), edm::HandleBase::isValid(), SiStripPI::max, mps_fire::result, theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, theUseMS, token_beamSpot, and token_msmaker.
85 std::vector<std::unique_ptr<TrackingRegion> >
result;
double theOriginHalfLength
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
bool getData(T &iHolder) const
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > token_msmaker
◆ theNSigmaZ
double GlobalTrackingRegionProducerFromBeamSpot::theNSigmaZ |
|
private |
◆ theOriginHalfLength
double GlobalTrackingRegionProducerFromBeamSpot::theOriginHalfLength |
|
private |
◆ theOriginRadius
double GlobalTrackingRegionProducerFromBeamSpot::theOriginRadius |
|
private |
◆ thePrecise
bool GlobalTrackingRegionProducerFromBeamSpot::thePrecise |
|
private |
◆ thePtMin
double GlobalTrackingRegionProducerFromBeamSpot::thePtMin |
|
private |
◆ theUseMS
bool GlobalTrackingRegionProducerFromBeamSpot::theUseMS |
|
private |
◆ token_beamSpot
◆ token_msmaker