CMS 3D CMS Logo

TotemT2ScintSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMSForwardTotemT2ScintSD_h
2 #define SimG4CMSForwardTotemT2ScintSD_h
3 
8 
9 class TotemT2ScintSD : public CaloSD {
10 public:
13  edm::ParameterSet const &,
14  const SimTrackManager *);
15  ~TotemT2ScintSD() override = default;
16  uint32_t setDetUnitId(const G4Step *step) override;
18 
19 protected:
20  double getEnergyDeposit(const G4Step *) override;
21 
22 private:
23  uint32_t setDetUnitId(const int &zside, const int &lay, const int &phi);
24 
25  bool useBirk_;
26  double birk1_, birk2_, birk3_;
27 
28  std::unique_ptr<TotemT2ScintNumberingScheme> numberingScheme;
29 };
30 
31 #endif // TotemT2ScintSD_h
uint32_t setDetUnitId(const G4Step *step) override
double getEnergyDeposit(const G4Step *) override
Definition: CaloSD.h:40
int zside(DetId const &)
TotemT2ScintSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
~TotemT2ScintSD() override=default
void setNumberingScheme(TotemT2ScintNumberingScheme *scheme)
std::unique_ptr< TotemT2ScintNumberingScheme > numberingScheme
step
Definition: StallMonitor.cc:83