SimG4Core
MagneticField
interface
FieldBuilder.h
Go to the documentation of this file.
1
#ifndef SimG4Core_MagneticField_FieldBuilder_H
2
#define SimG4Core_MagneticField_FieldBuilder_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include <memory>
6
7
class
MagneticField
;
8
class
CMSFieldManager
;
9
class
G4Mag_UsualEqRhs;
10
class
G4PropagatorInField;
11
class
G4LogicalVolume;
12
13
namespace
sim
{
14
class
Field;
15
class
FieldBuilder
{
16
public
:
17
FieldBuilder
(
const
MagneticField
*,
const
edm::ParameterSet
&);
18
19
~FieldBuilder
();
20
21
void
build
(
CMSFieldManager
*fM, G4PropagatorInField *fP);
22
23
void
configureForVolume
(
const
std::string
&volName,
24
edm::ParameterSet
&volPSet,
25
CMSFieldManager
*fM,
26
G4PropagatorInField *fP);
27
28
private
:
29
Field
*
theField
;
30
G4Mag_UsualEqRhs *
theFieldEquation
;
31
G4LogicalVolume *
theTopVolume
;
32
edm::ParameterSet
thePSet
;
33
double
theDelta
;
34
};
35
};
// namespace sim
36
37
#endif
sim::FieldBuilder::~FieldBuilder
~FieldBuilder()
Definition:
FieldBuilder.cc:29
sim::FieldBuilder::theField
Field * theField
Definition:
FieldBuilder.h:29
sim::FieldBuilder::build
void build(CMSFieldManager *fM, G4PropagatorInField *fP)
Definition:
FieldBuilder.cc:31
CMSFieldManager
Definition:
CMSFieldManager.h:24
sim::FieldBuilder::theTopVolume
G4LogicalVolume * theTopVolume
Definition:
FieldBuilder.h:31
sim::FieldBuilder::theFieldEquation
G4Mag_UsualEqRhs * theFieldEquation
Definition:
FieldBuilder.h:30
sim::Field
Definition:
Field.h:9
sim::FieldBuilder::thePSet
edm::ParameterSet thePSet
Definition:
FieldBuilder.h:32
sim::FieldBuilder::configureForVolume
void configureForVolume(const std::string &volName, edm::ParameterSet &volPSet, CMSFieldManager *fM, G4PropagatorInField *fP)
Definition:
FieldBuilder.cc:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
sim
Definition:
GeometryProducer.h:20
sim::FieldBuilder::theDelta
double theDelta
Definition:
FieldBuilder.h:33
ParameterSet.h
sim::FieldBuilder::FieldBuilder
FieldBuilder(const MagneticField *, const edm::ParameterSet &)
Definition:
FieldBuilder.cc:23
MagneticField
Definition:
MagneticField.h:19
sim::FieldBuilder
Definition:
FieldBuilder.h:15
Generated for CMSSW Reference Manual by
1.8.16