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 
22 public:
23 
25  edm::ParameterSet const &, const SimTrackManager*);
26  ~EcalTBH4BeamSD() override;
27  uint32_t setDetUnitId(const G4Step* step) override;
29 
30  protected:
31  double getEnergyDeposit(const G4Step*) override;
32 
33 private:
34 
35  void getBaseNumber(const G4Step* aStep);
37  bool useWeight;
38  bool useBirk;
39  double birk1, birk2, birk3;
41 
42 };
43 
44 #endif // EcalTBH4BeamSD_h
Definition: CaloSD.h:37
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
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