CMS 3D CMS Logo

AHCalSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_AHCalSD_h
2 #define SimG4CMS_AHCalSD_h
3 
5 
6 #include <map>
7 #include <string>
8 
9 class G4Step;
10 
11 class AHCalSD : public CaloSD {
12 
13 public:
14 
16  edm::ParameterSet const &, const SimTrackManager*);
17  ~AHCalSD() override = default;
18  uint32_t setDetUnitId(const G4Step* step) override;
19  bool unpackIndex(const uint32_t & idx, int & row,
20  int& col, int& depth);
21 protected:
22 
23  double getEnergyDeposit(const G4Step*) override;
24  bool filterHit(CaloG4Hit*, double) override;
25 
26 private:
27 
28  bool useBirk;
29  double birk1, birk2, birk3, betaThr;
30  double eminHit;
31 };
32 
33 #endif // AHCalSD_h
double birk1
Definition: AHCalSD.h:29
Definition: CaloSD.h:37
double betaThr
Definition: AHCalSD.h:29
~AHCalSD() override=default
double birk3
Definition: AHCalSD.h:29
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
bool filterHit(CaloG4Hit *, double) override
Definition: AHCalSD.cc:104
double birk2
Definition: AHCalSD.h:29
double getEnergyDeposit(const G4Step *) override
Definition: AHCalSD.cc:41
uint32_t setDetUnitId(const G4Step *step) override
Definition: AHCalSD.cc:58
AHCalSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: AHCalSD.cc:20
double eminHit
Definition: AHCalSD.h:30
col
Definition: cuy.py:1009
bool useBirk
Definition: AHCalSD.h:28
step
bool unpackIndex(const uint32_t &idx, int &row, int &col, int &depth)
Definition: AHCalSD.cc:85