test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GlobalTrackingRegionProducer Class Reference

#include <GlobalTrackingRegionProducer.h>

Inheritance diagram for GlobalTrackingRegionProducer:
TrackingRegionProducer

Public Member Functions

 GlobalTrackingRegionProducer (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 
virtual std::vector
< TrackingRegion * > 
regions (const edm::Event &, const edm::EventSetup &) const
 
virtual ~GlobalTrackingRegionProducer ()
 
- Public Member Functions inherited from TrackingRegionProducer
virtual ~TrackingRegionProducer ()
 

Private Attributes

GlobalPoint theOrigin
 
double theOriginHalfLength
 
double theOriginRadius
 
bool thePrecise
 
double thePtMin
 

Detailed Description

Definition at line 9 of file GlobalTrackingRegionProducer.h.

Constructor & Destructor Documentation

GlobalTrackingRegionProducer::GlobalTrackingRegionProducer ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 13 of file GlobalTrackingRegionProducer.h.

References edm::ParameterSet::getParameter(), theOrigin, theOriginHalfLength, theOriginRadius, thePrecise, thePtMin, xPos, yPos, and zPos.

14  {
15 
16  edm::ParameterSet regionPSet = cfg.getParameter<edm::ParameterSet>("RegionPSet");
17 
18  thePtMin = regionPSet.getParameter<double>("ptMin");
19  theOriginRadius = regionPSet.getParameter<double>("originRadius");
20  theOriginHalfLength = regionPSet.getParameter<double>("originHalfLength");
21  double xPos = regionPSet.getParameter<double>("originXPos");
22  double yPos = regionPSet.getParameter<double>("originYPos");
23  double zPos = regionPSet.getParameter<double>("originZPos");
24  thePrecise = regionPSet.getParameter<bool>("precise");
25  theOrigin = GlobalPoint(xPos,yPos,zPos);
26  }
T getParameter(std::string const &) const
double zPos
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
double xPos
double yPos
virtual GlobalTrackingRegionProducer::~GlobalTrackingRegionProducer ( )
inlinevirtual

Definition at line 28 of file GlobalTrackingRegionProducer.h.

28 {}

Member Function Documentation

virtual std::vector<TrackingRegion* > GlobalTrackingRegionProducer::regions ( const edm::Event ,
const edm::EventSetup  
) const
inlinevirtual

Member Data Documentation

GlobalPoint GlobalTrackingRegionProducer::theOrigin
private

Definition at line 39 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

double GlobalTrackingRegionProducer::theOriginHalfLength
private

Definition at line 41 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

double GlobalTrackingRegionProducer::theOriginRadius
private

Definition at line 40 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

bool GlobalTrackingRegionProducer::thePrecise
private

Definition at line 42 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

double GlobalTrackingRegionProducer::thePtMin
private

Definition at line 38 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().