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