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 // $Id: HcalTB02SD.h,v 1.4 2008/05/13 07:18:37 sunanda Exp $
18 //
19 
20 // system include files
21 #include <map>
22 
23 // user include files
26 
27 #include "G4String.hh"
28 #include <boost/cstdint.hpp>
29 
30 class HcalTB02SD : public CaloSD {
31 
32 public:
34  edm::ParameterSet const &, const SimTrackManager*);
35  virtual ~HcalTB02SD();
36  virtual double getEnergyDeposit(G4Step*);
37  virtual uint32_t setDetUnitId(G4Step* step);
39 
40 private:
41 
42  void initMap(G4String, const DDCompactView &);
43  double curve_LY(G4String& , G4StepPoint* );
44  double crystalLength(G4String);
45 
46 private:
47 
49  bool useWeight;
50  bool useBirk;
51  double birk1, birk2, birk3;
52  std::map<G4String,double> lengthMap;
53 };
54 
55 #endif
std::map< G4String, double > lengthMap
Definition: HcalTB02SD.h:52
double birk2
Definition: HcalTB02SD.h:51
HcalTB02NumberingScheme * numberingScheme
Definition: HcalTB02SD.h:48
virtual ~HcalTB02SD()
Definition: HcalTB02SD.cc:78
Definition: CaloSD.h:42
list step
Definition: launcher.py:15
HcalTB02SD(G4String, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HcalTB02SD.cc:35
bool useWeight
Definition: HcalTB02SD.h:49
bool useBirk
Definition: HcalTB02SD.h:50
type of data representation of DDCompactView
Definition: DDCompactView.h:77
double birk3
Definition: HcalTB02SD.h:51
double crystalLength(G4String)
Definition: HcalTB02SD.cc:178
void initMap(G4String, const DDCompactView &)
Definition: HcalTB02SD.cc:119
virtual uint32_t setDetUnitId(G4Step *step)
Definition: HcalTB02SD.cc:106
void setNumberingScheme(HcalTB02NumberingScheme *scheme)
Definition: HcalTB02SD.cc:110
double curve_LY(G4String &, G4StepPoint *)
Definition: HcalTB02SD.cc:153
virtual double getEnergyDeposit(G4Step *)
Definition: HcalTB02SD.cc:86
double birk1
Definition: HcalTB02SD.h:51