CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTBH4BeamSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_EcalTBH4BeamSD_h
2 #define SimG4CMS_EcalTBH4BeamSD_h
3 // File: EcalTBH4BeamSD.h
5 // Description: Stores hits of TBH4 hodoscope fibers in appropriate
6 // container
7 // Use in your sensitive detector builder:
8 // $Id: EcalTBH4BeamSD.h,v 1.4 2008/05/12 09:28:41 sunanda Exp $
10 
13 
15 
16 #include "G4String.hh"
17 #include <map>
18 
19 class EcalBaseNumber;
20 
21 class EcalTBH4BeamSD : public CaloSD {
22 
23 public:
24 
26  edm::ParameterSet const &, const SimTrackManager*);
27  virtual ~EcalTBH4BeamSD();
28  virtual double getEnergyDeposit(G4Step*);
29  virtual uint32_t setDetUnitId(G4Step* step);
31 
32 private:
33 
34  void getBaseNumber(const G4Step* aStep);
36  bool useWeight;
37  bool useBirk;
38  double birk1, birk2, birk3;
40 
41 };
42 
43 #endif // EcalTBH4BeamSD_h
Definition: CaloSD.h:42
list step
Definition: launcher.py:15
virtual uint32_t setDetUnitId(G4Step *step)
type of data representation of DDCompactView
Definition: DDCompactView.h:77
virtual ~EcalTBH4BeamSD()
void setNumberingScheme(EcalNumberingScheme *scheme)
EcalNumberingScheme * numberingScheme
EcalBaseNumber theBaseNumber
EcalTBH4BeamSD(G4String, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void getBaseNumber(const G4Step *aStep)
virtual double getEnergyDeposit(G4Step *)