CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoBTag/SecondaryVertex/plugins/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 Exception, reco::GhostTrackVertexFinder::kAlwaysWithGhostTrack, reco::GhostTrackVertexFinder::kRefitGhostTrackWithVertices, and reco::GhostTrackVertexFinder::kSingleTracksWithGhostTrack.

Referenced by SecondaryVertexProducer::produce().

{
        if (name == "AlwaysWithGhostTrack")
                return GhostTrackVertexFinder::kAlwaysWithGhostTrack;
        else if (name == "SingleTracksWithGhostTrack")
                return GhostTrackVertexFinder::kSingleTracksWithGhostTrack;
        else if (name == "RefitGhostTrackWithVertices")
                return GhostTrackVertexFinder::kRefitGhostTrackWithVertices;
        else
                throw cms::Exception("InvalidArgument")
                        << "SecondaryVertexProducer: ``fitType'' "
                           "parameter value \"" << name << "\" for "
                           "GhostTrackVertexFinder settings not "
                           "understood." << std::endl;
}