CMS 3D CMS Logo

EcalTBH4BeamSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_EcalTBH4BeamSD_h
2 #define SimG4CMS_EcalTBH4BeamSD_h
3 // File: EcalTBH4BeamSD.h
5 // Description: Stores hits of TBH4 hodoscope fibers in appropriate
6 // container
7 // Use in your sensitive detector builder:
9 
12 
14 
15 //#include "G4String.hh"
16 #include <map>
17 
18 class EcalBaseNumber;
19 
20 class EcalTBH4BeamSD : public CaloSD {
21 public:
23  const DDCompactView &,
25  edm::ParameterSet const &,
26  const SimTrackManager *);
27  ~EcalTBH4BeamSD() override;
28  uint32_t setDetUnitId(const G4Step *step) override;
30 
31 protected:
32  double getEnergyDeposit(const G4Step *) override;
33 
34 private:
35  void getBaseNumber(const G4Step *aStep);
37  bool useWeight;
38  bool useBirk;
39  double birk1, birk2, birk3;
41 };
42 
43 #endif // EcalTBH4BeamSD_h
Definition: CaloSD.h:38
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
double getEnergyDeposit(const G4Step *) override
uint32_t setDetUnitId(const G4Step *step) override
void setNumberingScheme(EcalNumberingScheme *scheme)
EcalTBH4BeamSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
EcalNumberingScheme * numberingScheme
EcalBaseNumber theBaseNumber
~EcalTBH4BeamSD() override
void getBaseNumber(const G4Step *aStep)
step
Definition: StallMonitor.cc:94