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 public:
20  MtdSD(const std::string &,
21  const edm::EventSetup &,
23  edm::ParameterSet const &,
24  const SimTrackManager *);
25 
26  ~MtdSD() override;
27 
28  uint32_t setDetUnitId(const G4Step *) override;
29 
30 private:
31  std::vector<double> getDDDArray(const std::string &, const DDsvalues_type &);
33  void getBaseNumber(const G4Step *);
34 
37  bool isBTL;
38  bool isETL;
39 };
40 
41 #endif
bool isBTL
Definition: MtdSD.h:37
Definition: MtdSD.h:18
bool isETL
Definition: MtdSD.h:38
uint32_t setDetUnitId(const G4Step *) override
Definition: MtdSD.cc:74
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
MTDBaseNumber theBaseNumber
Definition: MtdSD.h:36
void getBaseNumber(const G4Step *)
Definition: MtdSD.cc:108
void setNumberingScheme(MTDNumberingScheme *)
Definition: MtdSD.cc:99
MTDNumberingScheme * numberingScheme
Definition: MtdSD.h:35
MtdSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: MtdSD.cc:28
~MtdSD() override
Definition: MtdSD.cc:72
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition: MtdSD.cc:83