CMS 3D CMS Logo

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

#include <CandidateSeededTrackingRegionsProducer.h>

Inheritance diagram for CandidateSeededTrackingRegionsProducer:
TrackingRegionProducer

Public Types

enum  Mode { BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, VERTICES_FIXED, VERTICES_SIGMA }
 

Public Member Functions

 CandidateSeededTrackingRegionsProducer (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
 
virtual std::vector
< std::unique_ptr
< TrackingRegion > > 
regions (const edm::Event &e, const edm::EventSetup &es) const override
 
virtual ~CandidateSeededTrackingRegionsProducer ()
 
- Public Member Functions inherited from TrackingRegionProducer
virtual ~TrackingRegionProducer ()
 

Private Attributes

float m_deltaEta
 
float m_deltaPhi
 
int m_maxNRegions
 
int m_maxNVertices
 
Mode m_mode
 
float m_nSigmaZBeamSpot
 
float m_nSigmaZVertex
 
float m_originRadius
 
bool m_precise
 
float m_ptMin
 
bool m_searchOpt
 
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_whereToUseMeasurementTracker
 
float m_zErrorBeamSpot
 
float m_zErrorVetex
 
edm::EDGetTokenT< reco::BeamSpottoken_beamSpot
 
edm::EDGetTokenT
< reco::CandidateView
token_input
 
edm::EDGetTokenT
< MeasurementTrackerEvent
token_measurementTracker
 
edm::EDGetTokenT
< reco::VertexCollection
token_vertex
 

Detailed Description

class CandidateSeededTrackingRegionsProducer

eta-phi TrackingRegions producer in directions defined by Candidate-based objects of interest from a collection defined by the "input" parameter.

Four operational modes are supported ("mode" parameter):

BeamSpotFixed: origin is defined by the beam spot z-half-length is defined by a fixed zErrorBeamSpot parameter BeamSpotSigma: origin is defined by the beam spot z-half-length is defined by nSigmaZBeamSpot * beamSpot.sigmaZ VerticesFixed: origins are defined by vertices from VertexCollection (use maximum MaxNVertices of them) z-half-length is defined by a fixed zErrorVetex parameter VerticesSigma: origins are defined by vertices from VertexCollection (use maximum MaxNVertices of them) z-half-length is defined by nSigmaZVertex * vetex.zError

If, while using one of the "Vertices" modes, there's no vertices in an event, we fall back into either BeamSpotSigma or BeamSpotFixed mode, depending on the positiveness of nSigmaZBeamSpot.

Author
Vadim Khotilovich

Definition at line 44 of file CandidateSeededTrackingRegionsProducer.h.

Member Enumeration Documentation

Enumerator
BEAM_SPOT_FIXED 
BEAM_SPOT_SIGMA 
VERTICES_FIXED 
VERTICES_SIGMA 

Definition at line 48 of file CandidateSeededTrackingRegionsProducer.h.

Constructor & Destructor Documentation

CandidateSeededTrackingRegionsProducer::CandidateSeededTrackingRegionsProducer ( const edm::ParameterSet conf,
edm::ConsumesCollector &&  iC 
)
inlineexplicit

Definition at line 50 of file CandidateSeededTrackingRegionsProducer.h.

virtual CandidateSeededTrackingRegionsProducer::~CandidateSeededTrackingRegionsProducer ( )
inlinevirtual

Definition at line 100 of file CandidateSeededTrackingRegionsProducer.h.

Member Function Documentation

virtual std::vector<std::unique_ptr<TrackingRegion> > CandidateSeededTrackingRegionsProducer::regions ( const edm::Event e,
const edm::EventSetup es 
) const
inlineoverridevirtual

Implements TrackingRegionProducer.

Definition at line 103 of file CandidateSeededTrackingRegionsProducer.h.

Member Data Documentation

float CandidateSeededTrackingRegionsProducer::m_deltaEta
private

Definition at line 209 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_deltaPhi
private

Definition at line 210 of file CandidateSeededTrackingRegionsProducer.h.

int CandidateSeededTrackingRegionsProducer::m_maxNRegions
private

Definition at line 200 of file CandidateSeededTrackingRegionsProducer.h.

int CandidateSeededTrackingRegionsProducer::m_maxNVertices
private

Definition at line 204 of file CandidateSeededTrackingRegionsProducer.h.

Mode CandidateSeededTrackingRegionsProducer::m_mode
private

Definition at line 198 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_nSigmaZBeamSpot
private

Definition at line 218 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_nSigmaZVertex
private

Definition at line 216 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_originRadius
private

Definition at line 207 of file CandidateSeededTrackingRegionsProducer.h.

bool CandidateSeededTrackingRegionsProducer::m_precise
private

Definition at line 211 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_ptMin
private

Definition at line 206 of file CandidateSeededTrackingRegionsProducer.h.

bool CandidateSeededTrackingRegionsProducer::m_searchOpt
private

Definition at line 214 of file CandidateSeededTrackingRegionsProducer.h.

RectangularEtaPhiTrackingRegion::UseMeasurementTracker CandidateSeededTrackingRegionsProducer::m_whereToUseMeasurementTracker
private

Definition at line 213 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_zErrorBeamSpot
private

Definition at line 208 of file CandidateSeededTrackingRegionsProducer.h.

float CandidateSeededTrackingRegionsProducer::m_zErrorVetex
private

Definition at line 217 of file CandidateSeededTrackingRegionsProducer.h.

edm::EDGetTokenT<reco::BeamSpot> CandidateSeededTrackingRegionsProducer::token_beamSpot
private

Definition at line 202 of file CandidateSeededTrackingRegionsProducer.h.

edm::EDGetTokenT<reco::CandidateView> CandidateSeededTrackingRegionsProducer::token_input
private

Definition at line 203 of file CandidateSeededTrackingRegionsProducer.h.

edm::EDGetTokenT<MeasurementTrackerEvent> CandidateSeededTrackingRegionsProducer::token_measurementTracker
private

Definition at line 212 of file CandidateSeededTrackingRegionsProducer.h.

edm::EDGetTokenT<reco::VertexCollection> CandidateSeededTrackingRegionsProducer::token_vertex
private

Definition at line 201 of file CandidateSeededTrackingRegionsProducer.h.