CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <cstdint>
21 #include <map>
22 #include <string>
23 
24 // user include files
30 
31 class HcalTB02SD : public CaloSD {
32 public:
33  HcalTB02SD(const std::string&,
34  const HcalTB02Parameters*,
36  edm::ParameterSet const&,
37  const SimTrackManager*);
38  ~HcalTB02SD() override;
39  uint32_t setDetUnitId(const G4Step* step) override;
41 
42 protected:
43  double getEnergyDeposit(const G4Step*) override;
44 
45 private:
46  double curve_LY(const std::string&, const G4StepPoint*);
47  double crystalLength(const std::string&);
48 
49  std::unique_ptr<HcalTB02NumberingScheme> numberingScheme_;
51  double birk1_, birk2_, birk3_;
53 };
54 
55 #endif
bool useBirk_
Definition: HcalTB02SD.h:50
bool useWeight_
Definition: HcalTB02SD.h:50
Definition: CaloSD.h:40
double curve_LY(const std::string &, const G4StepPoint *)
Definition: HcalTB02SD.cc:108
double getEnergyDeposit(const G4Step *) override
Definition: HcalTB02SD.cc:79
double crystalLength(const std::string &)
Definition: HcalTB02SD.cc:130
HcalTB02SD(const std::string &, const HcalTB02Parameters *, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HcalTB02SD.cc:34
uint32_t setDetUnitId(const G4Step *step) override
Definition: HcalTB02SD.cc:97
~HcalTB02SD() override
Definition: HcalTB02SD.cc:73
std::unique_ptr< HcalTB02NumberingScheme > numberingScheme_
Definition: HcalTB02SD.h:49
double birk1_
Definition: HcalTB02SD.h:51
void setNumberingScheme(HcalTB02NumberingScheme *scheme)
Definition: HcalTB02SD.cc:101
double birk2_
Definition: HcalTB02SD.h:51
const HcalTB02Parameters * hcalTB02Parameters_
Definition: HcalTB02SD.h:52
step
Definition: StallMonitor.cc:98
double birk3_
Definition: HcalTB02SD.h:51