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  double getEnergyDeposit(G4Step*) override;
28  uint32_t setDetUnitId(const G4Step* step) override;
30 
31 private:
32 
33  void getBaseNumber(const G4Step* aStep);
35  bool useWeight;
36  bool useBirk;
37  double birk1, birk2, birk3;
39 
40 };
41 
42 #endif // EcalTBH4BeamSD_h
Definition: CaloSD.h:42
double getEnergyDeposit(G4Step *) override
type of data representation of DDCompactView
Definition: DDCompactView.h:90
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