CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
StraightLinePropagatorESProducer.cc File Reference
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "TrackingTools/GeomPropagators/interface/StraightLinePropagator.h"
#include "TrackingTools/Records/interface/TrackingComponentsRecord.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include <string>
#include <memory>

Go to the source code of this file.

Classes

class  StraightLinePropagatorESProducer
 

Functions

getParameter< std::string > ("PropagationDirection"))}
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::DescriptionFillerForESProducers
< StraightLinePropagatorESProducer > > 
s_filler__LINE__ ("StraightLinePropagatorESProducer")
 

Variables

magToken_
 

Function Documentation

p getParameter< std::string > ( "PropagationDirection"  )
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForESProducers< StraightLinePropagatorESProducer > > s_filler__LINE__ ( "StraightLinePropagatorESProducer"  )
static

Variable Documentation

p magToken_
Initial value:
{setWhatProduced(this, p.getParameter<std::string>("ComponentName"))
{}
std::unique_ptr<Propagator> StraightLinePropagatorESProducer::produce(const TrackingComponentsRecord& iRecord) {
return std::make_unique<StraightLinePropagator>(&iRecord.get(magToken_), dir_);
}
static const edm::eventsetup::ModulePluginFactory ::PMaker< edm::eventsetup::ModuleMaker< StraightLinePropagatorESProducer > > s_maker__LINE__ ( "StraightLinePropagatorESProducer" )
static const edmplugin::PluginFactory< PhysicsTools::VarProcessor::PluginFunctionPrototype >::PMaker< PhysicsTools::VarProcessor::Dummy > s_maker__LINE__("VarProcessor/""ProcTMVA")
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_

Definition at line 36 of file StraightLinePropagatorESProducer.cc.

Referenced by BeamHaloPropagatorESProducer::BeamHaloPropagatorESProducer(), TransientTrackBuilderESProducer::produce(), SmartPropagatorESProducer::produce(), BeamHaloPropagatorESProducer::produce(), SmartPropagatorESProducer::SmartPropagatorESProducer(), and TransientTrackBuilderESProducer::TransientTrackBuilderESProducer().