CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AHCalSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCalTestBeam_AHCalSD_H
2 #define SimG4CMS_HGCalTestBeam_AHCalSD_H 1
3 
6 
9 
10 #include "G4Step.hh"
11 
12 #include <string>
13 
14 class AHCalSD : public CaloSD {
15 public:
17  ~AHCalSD() override = default;
18  uint32_t setDetUnitId(const G4Step* step) override;
19  bool unpackIndex(const uint32_t& idx, int& row, int& col, int& depth);
20 
21 protected:
22  double getEnergyDeposit(const G4Step*) override;
23  bool filterHit(CaloG4Hit*, double) override;
24 
25 private:
26  bool useBirk;
27  double birk1, birk2, birk3, betaThr;
28  double eminHit;
29 };
30 #endif
double birk1
Definition: AHCalSD.h:27
Definition: CaloSD.h:40
double betaThr
Definition: AHCalSD.h:27
~AHCalSD() override=default
double birk3
Definition: AHCalSD.h:27
bool filterHit(CaloG4Hit *, double) override
Definition: AHCalSD.cc:101
AHCalSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: AHCalSD.cc:23
double birk2
Definition: AHCalSD.h:27
double getEnergyDeposit(const G4Step *) override
Definition: AHCalSD.cc:46
uint32_t setDetUnitId(const G4Step *step) override
Definition: AHCalSD.cc:62
double eminHit
Definition: AHCalSD.h:28
bool useBirk
Definition: AHCalSD.h:26
step
Definition: StallMonitor.cc:98
int col
Definition: cuy.py:1009
bool unpackIndex(const uint32_t &idx, int &row, int &col, int &depth)
Definition: AHCalSD.cc:84