src
TrackPropagation
Geant4e
plugins
GeantPropagatorESProducer.h
Go to the documentation of this file.
1
#ifndef TrackPropagators_ESProducers_GeantPropagatorESProducer_h
2
#define TrackPropagators_ESProducers_GeantPropagatorESProducer_h
3
4
#include "
FWCore/Framework/interface/ESProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
7
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
8
#include "
MagneticField/Engine/interface/MagneticField.h
"
9
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
10
#include <memory>
11
12
/*
13
* GeantPropagatorESProducer
14
*
15
* Produces an Geant4ePropagator for track propagation
16
*
17
*/
18
19
class
GeantPropagatorESProducer
:
public
edm::ESProducer
{
20
public
:
21
GeantPropagatorESProducer
(
const
edm::ParameterSet
&
p
);
22
~GeantPropagatorESProducer
()
override
;
23
24
std::unique_ptr<Propagator>
produce
(
const
TrackingComponentsRecord
&);
25
26
private
:
27
edm::ParameterSet
pset_
;
28
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
magFieldToken_
;
29
double
plimit_
;
30
};
31
32
#endif
TrackingComponentsRecord.h
TrackingComponentsRecord
Definition:
TrackingComponentsRecord.h:12
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
MagneticField.h
ParameterSet.h
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
Propagator.h
GeantPropagatorESProducer
Definition:
GeantPropagatorESProducer.h:19
GeantPropagatorESProducer::produce
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
Definition:
GeantPropagatorESProducer.cc:24
GeantPropagatorESProducer::~GeantPropagatorESProducer
~GeantPropagatorESProducer() override
Definition:
GeantPropagatorESProducer.cc:22
GeantPropagatorESProducer::plimit_
double plimit_
Definition:
GeantPropagatorESProducer.h:29
GeantPropagatorESProducer::pset_
edm::ParameterSet pset_
Definition:
GeantPropagatorESProducer.h:27
GeantPropagatorESProducer::GeantPropagatorESProducer
GeantPropagatorESProducer(const edm::ParameterSet &p)
Definition:
GeantPropagatorESProducer.cc:15
edm::ParameterSet
Definition:
ParameterSet.h:47
GeantPropagatorESProducer::magFieldToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Definition:
GeantPropagatorESProducer.h:28
IdealMagneticFieldRecord.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14