test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
SimG4Core/Watcher/interface/SimWatcher.h
"
5
#include "
SimG4Core/Notification/interface/Observer.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.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
();
23
void
update
(
const
BeginOfJob
*);
24
void
update
(
const
BeginOfRun
*);
25
void
update
(
const
BeginOfTrack
*);
26
void
update
(
const
G4Step*);
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
MonopoleSteppingAction::pxStart
double pxStart
Definition:
MonopoleSteppingAction.h:31
Observer.h
MonopoleSteppingAction::magCharge
double magCharge
Definition:
MonopoleSteppingAction.h:33
MonopoleSteppingAction::~MonopoleSteppingAction
~MonopoleSteppingAction()
Definition:
MonopoleSteppingAction.cc:30
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:32
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::pyStart
double pyStart
Definition:
MonopoleSteppingAction.h:31
MonopoleSteppingAction::update
void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.
Definition:
MonopoleSteppingAction.cc:32
MonopoleSteppingAction::bZ
double bZ
Definition:
MonopoleSteppingAction.h:33
Observer
Definition:
Observer.h:24
MonopoleSteppingAction::cMeVToKgMByS
double cMeVToKgMByS
Definition:
MonopoleSteppingAction.h:33
MonopoleSteppingAction::actOnTrack
bool actOnTrack
Definition:
MonopoleSteppingAction.h:29
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
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
Generated for CMSSW Reference Manual by
1.8.5