CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalTrackingRegionProducer.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkTrackingRegions_GlobalTrackingRegionProducer_H
2 #define RecoTracker_TkTrackingRegions_GlobalTrackingRegionProducer_H
3 
7 
9 
10 public:
11 
13 
14  edm::ParameterSet regionPSet = cfg.getParameter<edm::ParameterSet>("RegionPSet");
15 
16  thePtMin = regionPSet.getParameter<double>("ptMin");
17  theOriginRadius = regionPSet.getParameter<double>("originRadius");
18  theOriginHalfLength = regionPSet.getParameter<double>("originHalfLength");
19  double xPos = regionPSet.getParameter<double>("originXPos");
20  double yPos = regionPSet.getParameter<double>("originYPos");
21  double zPos = regionPSet.getParameter<double>("originZPos");
22  thePrecise = regionPSet.getParameter<bool>("precise");
23  theOrigin = GlobalPoint(xPos,yPos,zPos);
24  }
25 
27 
28  virtual std::vector<TrackingRegion* > regions(const edm::Event&, const edm::EventSetup&) const {
29  std::vector<TrackingRegion* > result;
30  result.push_back(
32  return result;
33  }
34 
35 private:
36  double thePtMin;
38  double theOriginRadius;
40  bool thePrecise;
41 };
42 
43 #endif
T getParameter(std::string const &) const
double zPos
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
double xPos
virtual std::vector< TrackingRegion * > regions(const edm::Event &, const edm::EventSetup &) const
tuple result
Definition: query.py:137
double yPos
GlobalTrackingRegionProducer(const edm::ParameterSet &cfg)