CMS 3D CMS Logo

HcalTB02SD.h
Go to the documentation of this file.
1 #ifndef HcalTestBeam_HcalTB02SD_H
2 #define HcalTestBeam_HcalTB02SD_H
3 // -*- C++ -*-
4 //
5 // Package: HcalTestBeam
6 // Class : HcalTB02SD
7 //
14 //
15 // Original Author:
16 // Created: Fri May 20 10:14:34 CEST 2006
17 //
18 
19 // system include files
20 #include <map>
21 
22 // user include files
25 
26 #include "G4String.hh"
27 #include <boost/cstdint.hpp>
28 
29 class HcalTB02SD : public CaloSD {
30 
31 public:
33  edm::ParameterSet const &, const SimTrackManager*);
34  ~HcalTB02SD() override;
35  double getEnergyDeposit(G4Step*) override;
36  uint32_t setDetUnitId(const G4Step* step) override;
38 
39 private:
40 
41  void initMap(const std::string&, const DDCompactView &);
42  double curve_LY(G4String& , G4StepPoint* );
43  double crystalLength(G4String);
44 
45 private:
46 
48  bool useWeight;
49  bool useBirk;
50  double birk1, birk2, birk3;
51  std::map<G4String,double> lengthMap;
52 };
53 
54 #endif
std::map< G4String, double > lengthMap
Definition: HcalTB02SD.h:51
double birk2
Definition: HcalTB02SD.h:50
HcalTB02NumberingScheme * numberingScheme
Definition: HcalTB02SD.h:47
Definition: CaloSD.h:42
uint32_t setDetUnitId(const G4Step *step) override
Definition: HcalTB02SD.cc:107
bool useWeight
Definition: HcalTB02SD.h:48
bool useBirk
Definition: HcalTB02SD.h:49
type of data representation of DDCompactView
Definition: DDCompactView.h:90
~HcalTB02SD() override
Definition: HcalTB02SD.cc:79
double birk3
Definition: HcalTB02SD.h:50
double crystalLength(G4String)
Definition: HcalTB02SD.cc:176
void setNumberingScheme(HcalTB02NumberingScheme *scheme)
Definition: HcalTB02SD.cc:111
void initMap(const std::string &, const DDCompactView &)
Definition: HcalTB02SD.cc:120
HcalTB02SD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HcalTB02SD.cc:36
step
double curve_LY(G4String &, G4StepPoint *)
Definition: HcalTB02SD.cc:151
double getEnergyDeposit(G4Step *) override
Definition: HcalTB02SD.cc:87
double birk1
Definition: HcalTB02SD.h:50