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 "G4String.hh"
7 #include <map>
8 #include <string>
9 
10 class G4Step;
11 
12 class AHCalSD : public CaloSD {
13 
14 public:
15 
17  edm::ParameterSet const &, const SimTrackManager*);
18  ~AHCalSD() override;
19  double getEnergyDeposit(G4Step* ) override;
20  uint32_t setDetUnitId(const G4Step* step) override;
21  bool unpackIndex(const uint32_t & idx, int & row,
22  int& col, int& depth);
23 protected:
24 
25  bool filterHit(CaloG4Hit*, double) override;
26 
27 private:
28 
29  bool useBirk;
30  double birk1, birk2, birk3, betaThr;
31  double eminHit;
32 };
33 
34 #endif // AHCalSD_h
double birk1
Definition: AHCalSD.h:30
Definition: CaloSD.h:42
double betaThr
Definition: AHCalSD.h:30
double birk3
Definition: AHCalSD.h:30
type of data representation of DDCompactView
Definition: DDCompactView.h:90
bool filterHit(CaloG4Hit *, double) override
Definition: AHCalSD.cc:106
double birk2
Definition: AHCalSD.h:30
~AHCalSD() override
Definition: AHCalSD.cc:41
uint32_t setDetUnitId(const G4Step *step) override
Definition: AHCalSD.cc:60
AHCalSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: AHCalSD.cc:20
double getEnergyDeposit(G4Step *) override
Definition: AHCalSD.cc:43
double eminHit
Definition: AHCalSD.h:31
col
Definition: cuy.py:1008
bool useBirk
Definition: AHCalSD.h:29
step
bool unpackIndex(const uint32_t &idx, int &row, int &col, int &depth)
Definition: AHCalSD.cc:87