CMS 3D CMS Logo

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 <string>
14 
15 class DDCompactView;
16 class DDFilteredView;
17 class G4Step;
18 class G4Material;
19 
20 class HcalTB06BeamSD : public CaloSD {
21 
22 public:
23 
24  HcalTB06BeamSD(G4String , const DDCompactView &, const SensitiveDetectorCatalog &,
25  edm::ParameterSet const &, const SimTrackManager*);
26  virtual ~HcalTB06BeamSD();
27  virtual double getEnergyDeposit(G4Step* );
28  virtual uint32_t setDetUnitId(G4Step* step);
29 
30 private:
31 
32  std::vector<G4String> getNames(DDFilteredView&);
33  bool isItWireChamber(G4String);
34 
35  bool useBirk;
36  double birk1, birk2, birk3;
37  std::vector<G4String> wcNames;
38  G4String matName;
39 };
40 
41 #endif // HcalTB06BeamSD_h
virtual double getEnergyDeposit(G4Step *)
std::vector< G4String > wcNames
HcalTB06BeamSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: CaloSD.h:42
type of data representation of DDCompactView
Definition: DDCompactView.h:90
virtual ~HcalTB06BeamSD()
virtual uint32_t setDetUnitId(G4Step *step)
virtual std::vector< std::string > getNames()
G4String matName
bool isItWireChamber(G4String)
step