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
27
const
MaterialBudgetHcal
&
operator=
(
const
MaterialBudgetHcal
&) =
delete
;
// stop default
28
29
private
:
30
void
update
(
const
BeginOfJob
*)
override
;
31
void
update
(
const
BeginOfTrack
*)
override
;
32
void
update
(
const
G4Step*)
override
;
33
void
update
(
const
EndOfTrack
*)
override
;
34
35
bool
stopAfter
(
const
G4Step*);
36
37
std::unique_ptr<MaterialBudgetHcalHistos>
theHistoHcal_
;
38
std::unique_ptr<MaterialBudgetCastorHistos>
theHistoCastor_
;
39
double
rMax_
,
zMax_
;
40
bool
fromdd4hep_
;
41
};
42
43
#endif
Observer
Definition:
Observer.h:23
MaterialBudgetHcal::operator=
const MaterialBudgetHcal & operator=(const MaterialBudgetHcal &)=delete
EndOfTrack
Definition:
EndOfTrack.h:6
Observer.h
MaterialBudgetHcal::theHistoHcal_
std::unique_ptr< MaterialBudgetHcalHistos > theHistoHcal_
Definition:
MaterialBudgetHcal.h:37
SimWatcher.h
BeginOfTrack
Definition:
BeginOfTrack.h:6
BeginOfJob
Definition:
BeginOfJob.h:8
MaterialBudgetHcal::rMax_
double rMax_
Definition:
MaterialBudgetHcal.h:39
edm::ParameterSet
Definition:
ParameterSet.h:47
MaterialBudgetHcal::MaterialBudgetHcal
MaterialBudgetHcal(const edm::ParameterSet &)
Definition:
MaterialBudgetHcal.cc:22
SimWatcher
Definition:
SimWatcher.h:33
MaterialBudgetCastorHistos.h
MaterialBudgetHcal::zMax_
double zMax_
Definition:
MaterialBudgetHcal.h:39
MaterialBudgetHcal::update
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition:
MaterialBudgetHcal.cc:39
MaterialBudgetHcalHistos.h
MaterialBudgetHcal::stopAfter
bool stopAfter(const G4Step *)
Definition:
MaterialBudgetHcal.cc:84
ParameterSet.h
MaterialBudgetHcal::theHistoCastor_
std::unique_ptr< MaterialBudgetCastorHistos > theHistoCastor_
Definition:
MaterialBudgetHcal.h:38
MaterialBudgetHcal
Definition:
MaterialBudgetHcal.h:18
MaterialBudgetHcal::fromdd4hep_
bool fromdd4hep_
Definition:
MaterialBudgetHcal.h:40
Generated for CMSSW Reference Manual by
1.8.16