CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 <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:
32  HcalTB02SD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &,
33  edm::ParameterSet const &, const SimTrackManager*);
34  virtual ~HcalTB02SD();
35  virtual double getEnergyDeposit(G4Step*);
36  virtual uint32_t setDetUnitId(G4Step* step);
38 
39 private:
40 
41  void initMap(G4String, 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
virtual ~HcalTB02SD()
Definition: HcalTB02SD.cc:79
Definition: CaloSD.h:42
bool useWeight
Definition: HcalTB02SD.h:48
bool useBirk
Definition: HcalTB02SD.h:49
type of data representation of DDCompactView
Definition: DDCompactView.h:77
double birk3
Definition: HcalTB02SD.h:50
HcalTB02SD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HcalTB02SD.cc:36
double crystalLength(G4String)
Definition: HcalTB02SD.cc:179
void initMap(G4String, const DDCompactView &)
Definition: HcalTB02SD.cc:120
virtual uint32_t setDetUnitId(G4Step *step)
Definition: HcalTB02SD.cc:107
void setNumberingScheme(HcalTB02NumberingScheme *scheme)
Definition: HcalTB02SD.cc:111
double curve_LY(G4String &, G4StepPoint *)
Definition: HcalTB02SD.cc:154
virtual double getEnergyDeposit(G4Step *)
Definition: HcalTB02SD.cc:87
double birk1
Definition: HcalTB02SD.h:50