Validation
Geometry
interface
MaterialBudgetHcal.h
Go to the documentation of this file.
1
#ifndef Validation_Geometry_MaterialBudgetHcal_h
2
#define Validation_Geometry_MaterialBudgetHcal_h
3
4
#include "
Validation/Geometry/interface/MaterialBudgetHcalHistos.h
"
5
#include "
Validation/Geometry/interface/MaterialBudgetCastorHistos.h
"
6
7
#include "
SimG4Core/Watcher/interface/SimWatcher.h
"
8
#include "
SimG4Core/Notification/interface/Observer.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
11
#include <CLHEP/Vector/LorentzVector.h>
12
13
class
BeginOfJob
;
14
class
BeginOfTrack
;
15
class
G4Step;
16
class
EndOfTrack
;
17
18
class
MaterialBudgetHcal
:
public
SimWatcher
,
19
public
Observer
<const BeginOfJob*>,
20
public
Observer
<const BeginOfTrack*>,
21
public
Observer
<const G4Step*>,
22
public
Observer
<const EndOfTrack*> {
23
public
:
24
MaterialBudgetHcal
(
const
edm::ParameterSet
&);
25
MaterialBudgetHcal
(
const
MaterialBudgetHcal
&) =
delete
;
// stop default
26
~MaterialBudgetHcal
()
override
;
27
28
const
MaterialBudgetHcal
&
operator=
(
const
MaterialBudgetHcal
&) =
delete
;
// stop default
29
30
private
:
31
void
update
(
const
BeginOfJob
*)
override
;
32
void
update
(
const
BeginOfTrack
*)
override
;
33
void
update
(
const
G4Step*)
override
;
34
void
update
(
const
EndOfTrack
*)
override
;
35
36
bool
stopAfter
(
const
G4Step*);
37
38
MaterialBudgetHcalHistos
*
theHistoHcal
;
39
MaterialBudgetCastorHistos
*
theHistoCastor
;
40
double
rMax
,
zMax
;
41
};
42
43
#endif
Observer
Definition:
Observer.h:23
MaterialBudgetHcal::operator=
const MaterialBudgetHcal & operator=(const MaterialBudgetHcal &)=delete
EndOfTrack
Definition:
EndOfTrack.h:6
Observer.h
SimWatcher.h
MaterialBudgetHcal::~MaterialBudgetHcal
~MaterialBudgetHcal() override
Definition:
MaterialBudgetHcal.cc:33
BeginOfTrack
Definition:
BeginOfTrack.h:6
BeginOfJob
Definition:
BeginOfJob.h:8
MaterialBudgetHcal::zMax
double zMax
Definition:
MaterialBudgetHcal.h:40
MaterialBudgetHcal::theHistoCastor
MaterialBudgetCastorHistos * theHistoCastor
Definition:
MaterialBudgetHcal.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
MaterialBudgetHcal::MaterialBudgetHcal
MaterialBudgetHcal(const edm::ParameterSet &)
Definition:
MaterialBudgetHcal.cc:20
SimWatcher
Definition:
SimWatcher.h:33
MaterialBudgetCastorHistos.h
MaterialBudgetHcal::theHistoHcal
MaterialBudgetHcalHistos * theHistoHcal
Definition:
MaterialBudgetHcal.h:38
MaterialBudgetHcal::update
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition:
MaterialBudgetHcal.cc:40
MaterialBudgetHcal::rMax
double rMax
Definition:
MaterialBudgetHcal.h:40
MaterialBudgetCastorHistos
Definition:
MaterialBudgetCastorHistos.h:17
MaterialBudgetHcalHistos.h
MaterialBudgetHcal::stopAfter
bool stopAfter(const G4Step *)
Definition:
MaterialBudgetHcal.cc:78
ParameterSet.h
MaterialBudgetHcal
Definition:
MaterialBudgetHcal.h:18
MaterialBudgetHcalHistos
Definition:
MaterialBudgetHcalHistos.h:19
Generated for CMSSW Reference Manual by
1.8.16