#include <RecoTracker/TkTrackingRegions/plugins/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, and thePtMin.
00012 { 00013 00014 edm::ParameterSet regionPSet = cfg.getParameter<edm::ParameterSet>("RegionPSet"); 00015 00016 thePtMin = regionPSet.getParameter<double>("ptMin"); 00017 theOriginRadius = regionPSet.getParameter<double>("originRadius"); 00018 theOriginHalfLength = regionPSet.getParameter<double>("originHalfLength"); 00019 double xPos = regionPSet.getParameter<double>("originXPos"); 00020 double yPos = regionPSet.getParameter<double>("originYPos"); 00021 double zPos = regionPSet.getParameter<double>("originZPos"); 00022 thePrecise = regionPSet.getParameter<bool>("precise"); 00023 theOrigin = GlobalPoint(xPos,yPos,zPos); 00024 }
virtual GlobalTrackingRegionProducer::~GlobalTrackingRegionProducer | ( | ) | [inline, virtual] |
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 HLT_VtxMuL3::result, theOrigin, theOriginHalfLength, theOriginRadius, thePrecise, and thePtMin.
00028 { 00029 std::vector<TrackingRegion* > result; 00030 result.push_back( 00031 new GlobalTrackingRegion( thePtMin, theOrigin, theOriginRadius, theOriginHalfLength, thePrecise) ); 00032 return result; 00033 }
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().