#include <GlobalTrackingRegionProducerFromBeamSpot.h>
◆ GlobalTrackingRegionProducerFromBeamSpot() [1/2]
◆ GlobalTrackingRegionProducerFromBeamSpot() [2/2]
Definition at line 20 of file GlobalTrackingRegionProducerFromBeamSpot.h.
24 if (!regionPSet.
existsAs<
double>(
"nSigmaZ") && !regionPSet.
existsAs<
double>(
"originHalfLength")) {
25 throw cms::Exception(
"Configuration") <<
"GlobalTrackingRegionProducerFromBeamSpot: at least one of nSigmaZ, "
26 "originHalfLength must be present in the cfg.\n";
30 (regionPSet.
existsAs<
double>(
"originHalfLength") ? regionPSet.
getParameter<
double>(
"originHalfLength") : 0.0);
34 (regionPSet.
existsAs<
bool>(
"useMultipleScattering") ? regionPSet.
getParameter<
bool>(
"useMultipleScattering")
References looper::cfg, edm::ConsumesCollector::consumes(), Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, theUseMS, and token_beamSpot.
◆ ~GlobalTrackingRegionProducerFromBeamSpot()
GlobalTrackingRegionProducerFromBeamSpot::~GlobalTrackingRegionProducerFromBeamSpot |
( |
| ) |
|
|
inlineoverride |
◆ fillDescriptions()
Definition at line 40 of file GlobalTrackingRegionProducerFromBeamSpot.h.
44 desc.add<
bool>(
"precise",
true);
45 desc.add<
bool>(
"useMultipleScattering",
false);
46 desc.add<
double>(
"nSigmaZ", 4.0);
47 desc.add<
double>(
"originHalfLength", 0.0);
48 desc.add<
double>(
"originRadius", 0.2);
49 desc.add<
double>(
"ptMin", 0.9);
56 descriptions.
add(
"globalTrackingRegionFromBeamSpot", descRegion);
62 desc.add<
bool>(
"precise",
true);
63 desc.add<
bool>(
"useMultipleScattering",
false);
64 desc.add<
double>(
"nSigmaZ", 0.0);
65 desc.add<
double>(
"originHalfLength", 21.2);
66 desc.add<
double>(
"originRadius", 0.2);
67 desc.add<
double>(
"ptMin", 0.9);
74 descriptions.
add(
"globalTrackingRegionFromBeamSpotFixedZ", descRegion);
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
◆ regions()
Implements TrackingRegionProducer.
Definition at line 78 of file GlobalTrackingRegionProducerFromBeamSpot.h.
79 std::vector<std::unique_ptr<TrackingRegion> >
result;
References cms::cuda::bs, ev, edm::HandleBase::isValid(), SiStripPI::max, mps_fire::result, theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, theUseMS, and token_beamSpot.
◆ 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