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 
16 
17 #include <map>
18 
19 class EcalBaseNumber;
20 
21 class EcalTBH4BeamSD : public CaloSD {
22 public:
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:40
double getEnergyDeposit(const G4Step *) override
uint32_t setDetUnitId(const G4Step *step) override
void setNumberingScheme(EcalNumberingScheme *scheme)
EcalTBH4BeamSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
EcalNumberingScheme * numberingScheme
EcalBaseNumber theBaseNumber
~EcalTBH4BeamSD() override
void getBaseNumber(const G4Step *aStep)
step
Definition: StallMonitor.cc:83