CMS 3D CMS Logo

MtdSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMSForward_MtdSD_h
2 #define SimG4CMSForward_MtdSD_h
3 
5 
9 
10 #include <string>
11 #include <vector>
12 
13 class G4Step;
14 class SimTrackManager;
15 
16 //-------------------------------------------------------------------
17 
18 class MtdSD : public TimingSD
19 {
20 
21 public:
22 
23  MtdSD(const std::string&, const DDCompactView &,
24  const SensitiveDetectorCatalog &,
25  edm::ParameterSet const &, const SimTrackManager* );
26 
27  ~MtdSD() override;
28 
29  uint32_t setDetUnitId(const G4Step*) override;
30 
31 private:
32 
33  std::vector<double> getDDDArray(const std::string &, const DDsvalues_type &);
35  void getBaseNumber(const G4Step*);
36 
39  bool isBTL;
40  bool isETL;
41 };
42 
43 #endif
44 
45 
46 
47 
bool isBTL
Definition: MtdSD.h:39
Definition: MtdSD.h:18
bool isETL
Definition: MtdSD.h:40
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
uint32_t setDetUnitId(const G4Step *) override
Definition: MtdSD.cc:72
MtdSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: MtdSD.cc:28
MTDBaseNumber theBaseNumber
Definition: MtdSD.h:38
void getBaseNumber(const G4Step *)
Definition: MtdSD.cc:109
void setNumberingScheme(MTDNumberingScheme *)
Definition: MtdSD.cc:100
MTDNumberingScheme * numberingScheme
Definition: MtdSD.h:37
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
~MtdSD() override
Definition: MtdSD.cc:69
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition: MtdSD.cc:81