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 
24  EcalTBH4BeamSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &,
25  edm::ParameterSet const &, const SimTrackManager*);
26  virtual ~EcalTBH4BeamSD();
27  virtual double getEnergyDeposit(G4Step*);
28  virtual uint32_t setDetUnitId(G4Step* step);
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
virtual uint32_t setDetUnitId(G4Step *step)
type of data representation of DDCompactView
Definition: DDCompactView.h:90
virtual ~EcalTBH4BeamSD()
void setNumberingScheme(EcalNumberingScheme *scheme)
EcalNumberingScheme * numberingScheme
EcalBaseNumber theBaseNumber
void getBaseNumber(const G4Step *aStep)
step
virtual double getEnergyDeposit(G4Step *)
EcalTBH4BeamSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)