CMS 3D CMS Logo

HGCalTB16SD01.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCalTB16SD01_h
2 #define SimG4CMS_HGCalTB16SD01_h
3 // File: HGCalTB16SD01.h
5 // Description: Stores hits of Beam counters for Fermilab TB16 in appropriate
6 // containers
8 
10 
11 #include "G4String.hh"
12 
13 #include <string>
14 
15 class DDCompactView;
16 class G4Step;
17 class G4Material;
18 
19 class HGCalTB16SD01 : public CaloSD {
20 
21 public:
22 
23  HGCalTB16SD01(G4String , const DDCompactView &,
25  const SimTrackManager*);
26  ~HGCalTB16SD01() override;
27  double getEnergyDeposit(G4Step* ) override;
28  uint32_t setDetUnitId(G4Step* step) override;
29  static uint32_t packIndex(int det, int lay, int x, int y);
30  static void unpackIndex(const uint32_t & idx, int& det, int& lay,
31  int& x, int& y);
32 
33 private:
34  void initialize(G4StepPoint* point);
35 
37  bool useBirk_;
38  double birk1_, birk2_, birk3_;
40  G4Material* matScin_;
41 };
42 
43 #endif // HGCalTB16SD01_h
HGCalTB16SD01(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: CaloSD.h:42
type of data representation of DDCompactView
Definition: DDCompactView.h:90
uint32_t setDetUnitId(G4Step *step) override
void initialize(G4StepPoint *point)
static void unpackIndex(const uint32_t &idx, int &det, int &lay, int &x, int &y)
std::string matName_
Definition: HGCalTB16SD01.h:36
G4Material * matScin_
Definition: HGCalTB16SD01.h:40
~HGCalTB16SD01() override
double getEnergyDeposit(G4Step *) override
step
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