#include <GlobalTrackingRegionProducer.h>
Public Member Functions | |
GlobalTrackingRegionProducer (const edm::ParameterSet &cfg) | |
virtual std::vector < TrackingRegion * > | regions (const edm::Event &, const edm::EventSetup &) const |
virtual | ~GlobalTrackingRegionProducer () |
Private Attributes | |
GlobalPoint | theOrigin |
double | theOriginHalfLength |
double | theOriginRadius |
bool | thePrecise |
double | thePtMin |
Definition at line 8 of file GlobalTrackingRegionProducer.h.
GlobalTrackingRegionProducer::GlobalTrackingRegionProducer | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 12 of file GlobalTrackingRegionProducer.h.
References edm::ParameterSet::getParameter(), theOrigin, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, xPos, yPos, and zPos.
{ edm::ParameterSet regionPSet = cfg.getParameter<edm::ParameterSet>("RegionPSet"); thePtMin = regionPSet.getParameter<double>("ptMin"); theOriginRadius = regionPSet.getParameter<double>("originRadius"); theOriginHalfLength = regionPSet.getParameter<double>("originHalfLength"); double xPos = regionPSet.getParameter<double>("originXPos"); double yPos = regionPSet.getParameter<double>("originYPos"); double zPos = regionPSet.getParameter<double>("originZPos"); thePrecise = regionPSet.getParameter<bool>("precise"); theOrigin = GlobalPoint(xPos,yPos,zPos); }
virtual GlobalTrackingRegionProducer::~GlobalTrackingRegionProducer | ( | ) | [inline, virtual] |
Definition at line 26 of file GlobalTrackingRegionProducer.h.
{}
virtual std::vector<TrackingRegion* > GlobalTrackingRegionProducer::regions | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) | const [inline, virtual] |
Implements TrackingRegionProducer.
Definition at line 28 of file GlobalTrackingRegionProducer.h.
References query::result, theOrigin, theOriginHalfLength, theOriginRadius, thePrecise, and thePtMin.
{ std::vector<TrackingRegion* > result; result.push_back( new GlobalTrackingRegion( thePtMin, theOrigin, theOriginRadius, theOriginHalfLength, thePrecise) ); return result; }
Definition at line 37 of file GlobalTrackingRegionProducer.h.
Referenced by GlobalTrackingRegionProducer(), and regions().
double GlobalTrackingRegionProducer::theOriginHalfLength [private] |
Definition at line 39 of file GlobalTrackingRegionProducer.h.
Referenced by GlobalTrackingRegionProducer(), and regions().
double GlobalTrackingRegionProducer::theOriginRadius [private] |
Definition at line 38 of file GlobalTrackingRegionProducer.h.
Referenced by GlobalTrackingRegionProducer(), and regions().
bool GlobalTrackingRegionProducer::thePrecise [private] |
Definition at line 40 of file GlobalTrackingRegionProducer.h.
Referenced by GlobalTrackingRegionProducer(), and regions().
double GlobalTrackingRegionProducer::thePtMin [private] |
Definition at line 36 of file GlobalTrackingRegionProducer.h.
Referenced by GlobalTrackingRegionProducer(), and regions().