Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
MagneticField
interface
CMSFieldManager.h
Go to the documentation of this file.
1
#ifndef SimG4Core_MagneticField_CMSFieldManager_H
2
#define SimG4Core_MagneticField_CMSFieldManager_H
3
4
/*
5
Created: 13 January 2017, V. Ivanchenko
6
This class implements smart magnetic field manager
7
*/
8
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
11
#include "G4FieldManager.hh"
12
13
class
G4Track;
14
class
G4ChordFinder;
15
namespace
sim
{
class
Field; }
16
17
class
CMSFieldManager
:
public
G4FieldManager
18
{
19
public
:
20
21
explicit
CMSFieldManager
();
22
23
virtual
~CMSFieldManager
();
24
25
virtual
void
ConfigureForTrack
(
const
G4Track*);
26
27
void
InitialiseForVolume
(
const
edm::ParameterSet
&,
sim::Field
*, G4ChordFinder*, G4ChordFinder*,
28
const
std::string
& vol,
const
std::string
&
type
,
29
const
std::string
& stepper,
double
delta
,
double
minstep);
30
31
void
SetMonopoleTracking
(G4bool);
32
33
private
:
34
35
CMSFieldManager
(
const
CMSFieldManager
&);
36
CMSFieldManager
&
operator=
(
const
CMSFieldManager
&);
37
38
std::unique_ptr<sim::Field>
theField
;
39
40
G4ChordFinder*
currChordFinder
;
41
G4ChordFinder*
chordFinder
;
42
G4ChordFinder*
chordFinderMonopole
;
43
44
double
dChord
;
45
double
dOneStep
;
46
double
dIntersection
;
47
double
energyThreshold
;
48
double
dChordSimple
;
49
double
dOneStepSimple
;
50
double
dIntersectionSimple
;
51
};
52
#endif
delta
dbl * delta
Definition:
mlp_gen.cc:36
type
type
Definition:
HCALResponse.h:21
CMSFieldManager
Definition:
CMSFieldManager.h:17
CMSFieldManager::InitialiseForVolume
void InitialiseForVolume(const edm::ParameterSet &, sim::Field *, G4ChordFinder *, G4ChordFinder *, const std::string &vol, const std::string &type, const std::string &stepper, double delta, double minstep)
Definition:
CMSFieldManager.cc:19
sim::Field
Definition:
Field.h:9
CMSFieldManager::dOneStep
double dOneStep
Definition:
CMSFieldManager.h:45
CMSFieldManager::chordFinder
G4ChordFinder * chordFinder
Definition:
CMSFieldManager.h:41
CMSFieldManager::CMSFieldManager
CMSFieldManager()
Definition:
CMSFieldManager.cc:9
CMSFieldManager::chordFinderMonopole
G4ChordFinder * chordFinderMonopole
Definition:
CMSFieldManager.h:42
sim
Definition:
sim.h:19
CMSFieldManager::dIntersectionSimple
double dIntersectionSimple
Definition:
CMSFieldManager.h:50
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CMSFieldManager::energyThreshold
double energyThreshold
Definition:
CMSFieldManager.h:47
ParameterSet.h
CMSFieldManager::currChordFinder
G4ChordFinder * currChordFinder
Definition:
CMSFieldManager.h:40
CMSFieldManager::dChord
double dChord
Definition:
CMSFieldManager.h:44
CMSFieldManager::dOneStepSimple
double dOneStepSimple
Definition:
CMSFieldManager.h:49
CMSFieldManager::operator=
CMSFieldManager & operator=(const CMSFieldManager &)
CMSFieldManager::ConfigureForTrack
virtual void ConfigureForTrack(const G4Track *)
Definition:
CMSFieldManager.cc:71
CMSFieldManager::~CMSFieldManager
virtual ~CMSFieldManager()
Definition:
CMSFieldManager.cc:16
CMSFieldManager::theField
std::unique_ptr< sim::Field > theField
Definition:
CMSFieldManager.h:38
edm::ParameterSet
Definition:
ParameterSet.h:36
CMSFieldManager::dIntersection
double dIntersection
Definition:
CMSFieldManager.h:46
CMSFieldManager::dChordSimple
double dChordSimple
Definition:
CMSFieldManager.h:48
CMSFieldManager::SetMonopoleTracking
void SetMonopoleTracking(G4bool)
Definition:
CMSFieldManager.cc:85
Generated for CMSSW Reference Manual by
1.8.5