CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
TrackAssociatorByPositionProducer.cc File Reference
#include <memory>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "TrackAssociatorByPositionImpl.h"
#include "SimDataFormats/Associations/interface/TrackToTrackingParticleAssociator.h"
#include "TrackingTools/Records/interface/TrackingComponentsRecord.h"
#include "Geometry/Records/interface/GlobalTrackingGeometryRecord.h"

Go to the source code of this file.

Classes

class  TrackAssociatorByPositionProducer
 

Typedefs

using SimHitTPAssociationList = TrackAssociatorByPositionImpl::SimHitTPAssociationList
 

Functions

static
TrackAssociatorByPositionImpl::Method 
parseMethodName (const std::string &meth)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< TrackAssociatorByPositionProducer > > 
s_filler__LINE__ ("TrackAssociatorByPositionProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< TrackAssociatorByPositionProducer > > 
s_maker__LINE__ ("TrackAssociatorByPositionProducer")
 

Typedef Documentation

Definition at line 39 of file TrackAssociatorByPositionProducer.cc.

Function Documentation

static TrackAssociatorByPositionImpl::Method parseMethodName ( const std::string &  meth)
static

Definition at line 67 of file TrackAssociatorByPositionProducer.cc.

References TrackAssociatorByPositionImpl::chi2, TrackAssociatorByPositionImpl::dist, Exception, TrackAssociatorByPositionImpl::momdr, and TrackAssociatorByPositionImpl::posdr.

67  {
68  if (meth == "chi2") {
70  } else if (meth == "dist") {
72  } else if (meth == "momdr") {
74  } else if (meth == "posdr") {
76  } else {
77  throw cms::Exception("BadParameterName") << meth << " TrackAssociatorByPostionImpl::Method name not recognized.";
78  }
79 }
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< TrackAssociatorByPositionProducer > > s_filler__LINE__ ( "TrackAssociatorByPositionProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< TrackAssociatorByPositionProducer > > s_maker__LINE__ ( "TrackAssociatorByPositionProducer"  )
static