CMS 3D CMS Logo

FastTimerSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMSForward_FastTimerSD_h
2 #define SimG4CMSForward_FastTimerSD_h
3 
5 
9 
10 #include <string>
11 #include <vector>
12 
13 class G4Step;
14 class SimTrackManager;
16 
17 //-------------------------------------------------------------------
18 
19 class FastTimerSD : public TimingSD,
20  public Observer<const BeginOfJob *>{
21 
22 public:
23 
24  FastTimerSD(const std::string&, const DDCompactView &,
25  const SensitiveDetectorCatalog &,
26  edm::ParameterSet const &, const SimTrackManager* );
27 
28  ~FastTimerSD() override;
29 
30  uint32_t setDetUnitId(const G4Step*) override;
31 
32 protected:
33 
34  void update(const BeginOfJob *) override;
35 
36 private:
37 
38  std::vector<double> getDDDArray(const std::string &, const DDsvalues_type &);
39 
40 private:
41 
43  int type_;
44 };
45 
46 #endif
47 
48 
49 
50 
FastTimerSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: FastTimerSD.cc:30
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition: FastTimerSD.cc:80
const FastTimeDDDConstants * ftcons
Definition: FastTimerSD.h:42
uint32_t setDetUnitId(const G4Step *) override
Definition: FastTimerSD.cc:59
~FastTimerSD() override
Definition: FastTimerSD.cc:56
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition: FastTimerSD.cc:97
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12