CMS 3D CMS Logo

MtdSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMSForward_MtdSD_h
2 #define SimG4CMSForward_MtdSD_h
3 
7 
10 
11 #include <string>
12 #include <vector>
13 
14 class G4Step;
15 class SimTrackManager;
16 
17 //-------------------------------------------------------------------
18 
19 class MtdSD : public TimingSD {
20 public:
22 
23  ~MtdSD() override;
24 
25  uint32_t setDetUnitId(const G4Step *) override;
26 
27 protected:
28  int getTrackID(const G4Track *) override;
29 
30 private:
31  double energyCut;
33 
35  void getBaseNumber(const G4Step *);
36 
39  bool isBTL;
40  bool isETL;
41 };
42 
43 #endif
bool isBTL
Definition: MtdSD.h:39
Definition: MtdSD.h:19
bool isETL
Definition: MtdSD.h:40
int getTrackID(const G4Track *) override
Definition: MtdSD.cc:100
uint32_t setDetUnitId(const G4Step *) override
Definition: MtdSD.cc:58
double energyCut
Definition: MtdSD.h:31
MTDBaseNumber theBaseNumber
Definition: MtdSD.h:38
double energyHistoryCut
Definition: MtdSD.h:32
void getBaseNumber(const G4Step *)
Definition: MtdSD.cc:79
void setNumberingScheme(MTDNumberingScheme *)
Definition: MtdSD.cc:70
MtdSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: MtdSD.cc:19
MTDNumberingScheme * numberingScheme
Definition: MtdSD.h:37
~MtdSD() override
Definition: MtdSD.cc:56