CMS 3D CMS Logo

Public Member Functions | Private Attributes

GlobalTrackingRegionProducer Class Reference

#include <GlobalTrackingRegionProducer.h>

Inheritance diagram for GlobalTrackingRegionProducer:
TrackingRegionProducer

List of all members.

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

Detailed Description

Definition at line 8 of file GlobalTrackingRegionProducer.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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;
  }

Member Data Documentation

Definition at line 37 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

Definition at line 39 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

Definition at line 38 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

Definition at line 40 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().

Definition at line 36 of file GlobalTrackingRegionProducer.h.

Referenced by GlobalTrackingRegionProducer(), and regions().