CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalTB16SD01.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCalTestBeam_HGCalTB16SD01_H
2 #define SimG4CMS_HGCalTestBeam_HGCalTB16SD01_H 1
3 
9 
10 #include "G4Material.hh"
11 #include "G4Step.hh"
12 
13 #include <string>
14 
15 class HGCalTB16SD01 : public CaloSD {
16 public:
18  ~HGCalTB16SD01() override = default;
19  uint32_t setDetUnitId(const G4Step* step) override;
20  static uint32_t packIndex(int det, int lay, int x, int y);
21  static void unpackIndex(const uint32_t& idx, int& det, int& lay, int& x, int& y);
22 
23 protected:
24  double getEnergyDeposit(const G4Step*) override;
25 
26 private:
27  void initialize(const G4StepPoint* point);
28 
30  bool useBirk_;
31  double birk1_, birk2_, birk3_;
33  G4Material* matScin_;
34 };
35 #endif
double getEnergyDeposit(const G4Step *) override
Definition: CaloSD.h:40
static void unpackIndex(const uint32_t &idx, int &det, int &lay, int &x, int &y)
std::string matName_
Definition: HGCalTB16SD01.h:29
HGCalTB16SD01(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
uint32_t setDetUnitId(const G4Step *step) override
~HGCalTB16SD01() override=default
G4Material * matScin_
Definition: HGCalTB16SD01.h:33
void initialize(const G4StepPoint *point)
step
Definition: StallMonitor.cc:98
static uint32_t packIndex(int det, int lay, int x, int y)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5