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/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"

Go to the source code of this file.

Classes

class  SecondaryVertexProducer
 

Functions

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

Function Documentation

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

Definition at line 119 of file SecondaryVertexProducer.cc.

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

Referenced by SecondaryVertexProducer::produce().

120 {
121  if (name == "AlwaysWithGhostTrack")
122  return GhostTrackVertexFinder::kAlwaysWithGhostTrack;
123  else if (name == "SingleTracksWithGhostTrack")
124  return GhostTrackVertexFinder::kSingleTracksWithGhostTrack;
125  else if (name == "RefitGhostTrackWithVertices")
126  return GhostTrackVertexFinder::kRefitGhostTrackWithVertices;
127  else
128  throw cms::Exception("InvalidArgument")
129  << "SecondaryVertexProducer: ``fitType'' "
130  "parameter value \"" << name << "\" for "
131  "GhostTrackVertexFinder settings not "
132  "understood." << std::endl;
133 }