CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTB06BeamSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HcalTB06BeamSD_h
2 #define SimG4CMS_HcalTB06BeamSD_h
3 // File: HcalTB06BeamSD.h
5 // Description: Stores hits of Beam counters for H2 TB06 in appropriate
6 // containers
8 
10 
11 #include "G4String.hh"
12 
13 #include <boost/cstdint.hpp>
14 #include <string>
15 
16 class DDCompactView;
17 class DDFilteredView;
18 class G4Step;
19 
20 class HcalTB06BeamSD : public CaloSD {
21 
22 public:
23 
25  edm::ParameterSet const &, const SimTrackManager*);
26  virtual ~HcalTB06BeamSD();
27  virtual double getEnergyDeposit(G4Step* );
28  virtual uint32_t setDetUnitId(G4Step* step);
29  static uint32_t packIndex(int det, int lay, int x, int y);
30  static void unpackIndex(const uint32_t & idx, int& det, int& lay,
31  int& x, int& y);
32 
33 private:
34 
35  std::vector<G4String> getNames(DDFilteredView&);
36  bool isItWireChamber(G4String);
37 
38  bool useBirk;
39  double birk1, birk2, birk3;
40  std::vector<G4String> wcNames;
41  G4String matName;
42 
43 };
44 
45 #endif // HcalTB06BeamSD_h
virtual double getEnergyDeposit(G4Step *)
std::vector< G4String > wcNames
Definition: CaloSD.h:42
list step
Definition: launcher.py:15
type of data representation of DDCompactView
Definition: DDCompactView.h:77
virtual ~HcalTB06BeamSD()
virtual uint32_t setDetUnitId(G4Step *step)
HcalTB06BeamSD(G4String, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
virtual std::vector< std::string > getNames()
static uint32_t packIndex(int det, int lay, int x, int y)
G4String matName
bool isItWireChamber(G4String)
Definition: DDAxes.h:10
static void unpackIndex(const uint32_t &idx, int &det, int &lay, int &x, int &y)