Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-20 22:46:45

0001 #ifndef SimG4CMSForward_MtdSD_h
0002 #define SimG4CMSForward_MtdSD_h
0003 
0004 #include "SimG4CMS/Forward/interface/TimingSD.h"
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0007 
0008 #include "Geometry/MTDCommonData/interface/MTDNumberingScheme.h"
0009 #include "Geometry/MTDCommonData/interface/MTDBaseNumber.h"
0010 
0011 #include <string>
0012 #include <vector>
0013 
0014 class G4Step;
0015 class SimTrackManager;
0016 
0017 //-------------------------------------------------------------------
0018 
0019 class MtdSD : public TimingSD {
0020 public:
0021   MtdSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *);
0022 
0023   ~MtdSD() override;
0024 
0025   uint32_t setDetUnitId(const G4Step *) override;
0026 
0027 private:
0028   void setNumberingScheme(MTDNumberingScheme *);
0029   void getBaseNumber(const G4Step *);
0030 
0031   MTDNumberingScheme *numberingScheme;
0032   MTDBaseNumber theBaseNumber;
0033   bool isBTL;
0034   bool isETL;
0035 };
0036 
0037 #endif