CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
SecondaryVertexProducer.cc File Reference
#include <functional>
#include <algorithm>
#include <iterator>
#include <cstddef>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <boost/iterator/transform_iterator.hpp>
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h"
#include "DataFormats/BTauReco/interface/TrackIPTagInfo.h"
#include "DataFormats/BTauReco/interface/SecondaryVertexTagInfo.h"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"
#include "RecoVertex/VertexPrimitives/interface/ConvertToFromReco.h"
#include "RecoVertex/ConfigurableVertexReco/interface/ConfigurableVertexReconstructor.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackVertexFinder.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackPrediction.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackState.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrack.h"
#include "TrackingTools/TransientTrack/interface/TransientTrack.h"
#include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
#include "TrackingTools/Records/interface/TransientTrackRecord.h"
#include "RecoBTag/SecondaryVertex/interface/TrackSelector.h"
#include "RecoBTag/SecondaryVertex/interface/TrackSorting.h"
#include "RecoBTag/SecondaryVertex/interface/SecondaryVertex.h"
#include "RecoBTag/SecondaryVertex/interface/VertexFilter.h"
#include "RecoBTag/SecondaryVertex/interface/VertexSorting.h"
#include "DataFormats/GeometryVector/interface/VectorUtil.h"

Go to the source code of this file.

Classes

class  SecondaryVertexProducer
 

Functions

static
GhostTrackVertexFinder::FitType 
getGhostTrackFitType (const std::string &name)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< SecondaryVertexProducer > > 
s_filler__LINE__ ("SecondaryVertexProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< SecondaryVertexProducer > > 
s_maker__LINE__ ("SecondaryVertexProducer")
 

Function Documentation

static GhostTrackVertexFinder::FitType getGhostTrackFitType ( const std::string &  name)
static

Definition at line 124 of file SecondaryVertexProducer.cc.

References edm::hlt::Exception, reco::GhostTrackVertexFinder::kAlwaysWithGhostTrack, reco::GhostTrackVertexFinder::kRefitGhostTrackWithVertices, and reco::GhostTrackVertexFinder::kSingleTracksWithGhostTrack.

Referenced by SecondaryVertexProducer::produce().

125 {
126  if (name == "AlwaysWithGhostTrack")
127  return GhostTrackVertexFinder::kAlwaysWithGhostTrack;
128  else if (name == "SingleTracksWithGhostTrack")
129  return GhostTrackVertexFinder::kSingleTracksWithGhostTrack;
130  else if (name == "RefitGhostTrackWithVertices")
131  return GhostTrackVertexFinder::kRefitGhostTrackWithVertices;
132  else
133  throw cms::Exception("InvalidArgument")
134  << "SecondaryVertexProducer: ``fitType'' "
135  "parameter value \"" << name << "\" for "
136  "GhostTrackVertexFinder settings not "
137  "understood." << std::endl;
138 }
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< SecondaryVertexProducer > > s_filler__LINE__ ( "SecondaryVertexProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< SecondaryVertexProducer > > s_maker__LINE__ ( "SecondaryVertexProducer"  )
static