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 <cstdint>
21 #include <map>
22 #include <string>
23 
24 // user include files
28 
29 class HcalTB02SD : public CaloSD {
30 public:
31  HcalTB02SD(const std::string&,
32  const edm::EventSetup&,
34  edm::ParameterSet const&,
35  const SimTrackManager*);
36  ~HcalTB02SD() override;
37  uint32_t setDetUnitId(const G4Step* step) override;
39 
40 protected:
41  double getEnergyDeposit(const G4Step*) override;
42 
43 private:
44  double curve_LY(const std::string&, const G4StepPoint*);
45  double crystalLength(const std::string&);
46 
47  std::unique_ptr<HcalTB02NumberingScheme> numberingScheme_;
49  double birk1_, birk2_, birk3_;
51 };
52 
53 #endif
SimTrackManager
Definition: SimTrackManager.h:35
HcalTB02SD::numberingScheme_
std::unique_ptr< HcalTB02NumberingScheme > numberingScheme_
Definition: HcalTB02SD.h:47
step
step
Definition: StallMonitor.cc:94
HcalTB02NumberingScheme.h
HcalTB02SD::birk1_
double birk1_
Definition: HcalTB02SD.h:49
HcalTB02SD::setNumberingScheme
void setNumberingScheme(HcalTB02NumberingScheme *scheme)
Definition: HcalTB02SD.cc:110
HcalTB02Parameters
Definition: HcalTB02Parameters.h:9
HcalTB02SD::birk2_
double birk2_
Definition: HcalTB02SD.h:49
HcalTB02SD::birk3_
double birk3_
Definition: HcalTB02SD.h:49
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
HcalTB02SD::hcalTB02Parameters_
const HcalTB02Parameters * hcalTB02Parameters_
Definition: HcalTB02SD.h:50
HcalTB02SD::useBirk_
bool useBirk_
Definition: HcalTB02SD.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
CaloSD.h
HcalTB02SD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition: HcalTB02SD.cc:88
HcalTB02SD::useWeight_
bool useWeight_
Definition: HcalTB02SD.h:48
edm::EventSetup
Definition: EventSetup.h:58
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
HcalTB02SD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition: HcalTB02SD.cc:106
HcalTB02SD
Definition: HcalTB02SD.h:29
HcalTB02Parameters.h
HcalTB02NumberingScheme
Definition: HcalTB02NumberingScheme.h:24
HcalTB02SD::curve_LY
double curve_LY(const std::string &, const G4StepPoint *)
Definition: HcalTB02SD.cc:117
HcalTB02SD::HcalTB02SD
HcalTB02SD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HcalTB02SD.cc:35
HcalTB02SD::crystalLength
double crystalLength(const std::string &)
Definition: HcalTB02SD.cc:139
HcalTB02SD::~HcalTB02SD
~HcalTB02SD() override
Definition: HcalTB02SD.cc:82
CaloSD
Definition: CaloSD.h:38