Main Page
Namespaces
Classes
Package Documentation
SimG4Core
HelpfulWatchers
interface
MonopoleSteppingAction.h
Go to the documentation of this file.
1
#ifndef SimG4Core_HelpfulWatchers_MonopoleSteppingAction_H
2
#define SimG4Core_HelpfulWatchers_MonopoleSteppingAction_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimG4Core/Notification/interface/Observer.h
"
6
#include "
SimG4Core/Watcher/interface/SimWatcher.h
"
7
8
#include "G4Step.hh"
9
#include <vector>
10
11
class
BeginOfJob
;
12
class
BeginOfRun
;
13
class
BeginOfTrack
;
14
15
class
MonopoleSteppingAction
:
public
SimWatcher
,
16
public
Observer
<const BeginOfJob *>,
17
public
Observer
<const BeginOfRun *>,
18
public
Observer
<const BeginOfTrack *>,
19
public
Observer
<const G4Step *> {
20
public
:
21
MonopoleSteppingAction
(
edm::ParameterSet
const
&
p
);
22
~MonopoleSteppingAction
()
override
;
23
void
update
(
const
BeginOfJob
*)
override
;
24
void
update
(
const
BeginOfRun
*)
override
;
25
void
update
(
const
BeginOfTrack
*)
override
;
26
void
update
(
const
G4Step *)
override
;
27
28
private
:
29
bool
mode
,
actOnTrack
;
30
std::vector<int>
pdgCode
;
31
double
eStart
,
pxStart
,
pyStart
,
pzStart
;
32
double
dirxStart
,
diryStart
,
dirzStart
;
33
double
cMevToJ
,
cMeVToKgMByS
,
cInMByS
,
magCharge
,
bZ
;
34
};
35
36
#endif
MonopoleSteppingAction::pdgCode
std::vector< int > pdgCode
Definition:
MonopoleSteppingAction.h:30
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
MonopoleSteppingAction::pxStart
double pxStart
Definition:
MonopoleSteppingAction.h:31
Observer.h
MonopoleSteppingAction::magCharge
double magCharge
Definition:
MonopoleSteppingAction.h:33
BeginOfTrack
Definition:
BeginOfTrack.h:6
BeginOfJob
Definition:
BeginOfJob.h:8
MonopoleSteppingAction::dirzStart
double dirzStart
Definition:
MonopoleSteppingAction.h:32
ParameterSet.h
MonopoleSteppingAction::dirxStart
double dirxStart
Definition:
MonopoleSteppingAction.h:32
SimWatcher
Definition:
SimWatcher.h:33
MonopoleSteppingAction::mode
bool mode
Definition:
MonopoleSteppingAction.h:29
MonopoleSteppingAction::diryStart
double diryStart
Definition:
MonopoleSteppingAction.h:32
MonopoleSteppingAction::MonopoleSteppingAction
MonopoleSteppingAction(edm::ParameterSet const &p)
Definition:
MonopoleSteppingAction.cc:23
MonopoleSteppingAction::cMevToJ
double cMevToJ
Definition:
MonopoleSteppingAction.h:33
BeginOfRun
Definition:
BeginOfRun.h:6
MonopoleSteppingAction::update
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition:
MonopoleSteppingAction.cc:31
MonopoleSteppingAction::pyStart
double pyStart
Definition:
MonopoleSteppingAction.h:31
MonopoleSteppingAction::bZ
double bZ
Definition:
MonopoleSteppingAction.h:33
Observer
Definition:
Observer.h:23
MonopoleSteppingAction::cMeVToKgMByS
double cMeVToKgMByS
Definition:
MonopoleSteppingAction.h:33
MonopoleSteppingAction::actOnTrack
bool actOnTrack
Definition:
MonopoleSteppingAction.h:29
MonopoleSteppingAction::eStart
double eStart
Definition:
MonopoleSteppingAction.h:31
MonopoleSteppingAction::cInMByS
double cInMByS
Definition:
MonopoleSteppingAction.h:33
SimWatcher.h
edm::ParameterSet
Definition:
ParameterSet.h:36
MonopoleSteppingAction::pzStart
double pzStart
Definition:
MonopoleSteppingAction.h:31
MonopoleSteppingAction
Definition:
MonopoleSteppingAction.h:15
MonopoleSteppingAction::~MonopoleSteppingAction
~MonopoleSteppingAction() override
Definition:
MonopoleSteppingAction.cc:29
Generated for CMSSW Reference Manual by
1.8.11