#include <GlobalTrackingRegionProducerFromBeamSpot.h>
Definition at line 20 of file GlobalTrackingRegionProducerFromBeamSpot.h.
References edm::ConsumesCollector::consumes(), edm::hlt::Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, and token_beamSpot.
26 if (!regionPSet.
existsAs<
double>(
"nSigmaZ") && !regionPSet.
existsAs<
double>(
"originHalfLength")) {
27 throw cms::Exception(
"Configuration") <<
"GlobalTrackingRegionProducerFromBeamSpot: at least one of nSigmaZ, originHalfLength must be present in the cfg.\n";
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
double theOriginHalfLength
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
virtual GlobalTrackingRegionProducerFromBeamSpot::~GlobalTrackingRegionProducerFromBeamSpot |
( |
| ) |
|
|
inlinevirtual |
Implements TrackingRegionProducer.
Definition at line 37 of file GlobalTrackingRegionProducerFromBeamSpot.h.
References edm::Event::getByToken(), edm::HandleBase::isValid(), bookConverter::max, query::result, reco::BeamSpot::sigmaZ(), theNSigmaZ, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, token_beamSpot, reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
38 std::vector<TrackingRegion* >
result;
double z0() const
z coordinate
double theOriginHalfLength
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
double sigmaZ() const
sigma z
double y0() const
y coordinate
double x0() const
x coordinate
double GlobalTrackingRegionProducerFromBeamSpot::theNSigmaZ |
|
private |
double GlobalTrackingRegionProducerFromBeamSpot::theOriginHalfLength |
|
private |
double GlobalTrackingRegionProducerFromBeamSpot::theOriginRadius |
|
private |
bool GlobalTrackingRegionProducerFromBeamSpot::thePrecise |
|
private |
double GlobalTrackingRegionProducerFromBeamSpot::thePtMin |
|
private |