CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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_;
41 };
42 
43 #endif
std::unique_ptr< MaterialBudgetHcalHistos > theHistoHcal_
bool stopAfter(const G4Step *)
MaterialBudgetHcal(const edm::ParameterSet &)
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
const MaterialBudgetHcal & operator=(const MaterialBudgetHcal &)=delete
std::unique_ptr< MaterialBudgetCastorHistos > theHistoCastor_