CMS 3D CMS Logo

MaterialBudgetHcal.h
Go to the documentation of this file.
1 #ifndef Validation_Geometry_MaterialBudgetHcal_h
2 #define Validation_Geometry_MaterialBudgetHcal_h
3 
6 
10 
11 #include <CLHEP/Vector/LorentzVector.h>
12 
13 class BeginOfJob;
14 class BeginOfTrack;
15 class G4Step;
16 class EndOfTrack;
17 
19  public Observer<const BeginOfJob*>,
20  public Observer<const BeginOfTrack*>,
21  public Observer<const G4Step*>,
22  public Observer<const EndOfTrack*> {
23 public:
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 
40  double rMax, zMax;
41 };
42 
43 #endif
bool stopAfter(const G4Step *)
MaterialBudgetCastorHistos * theHistoCastor
~MaterialBudgetHcal() override
MaterialBudgetHcal(const edm::ParameterSet &)
MaterialBudgetHcalHistos * theHistoHcal
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
const MaterialBudgetHcal & operator=(const MaterialBudgetHcal &)=delete