File indexing completed on 2024-04-06 12:29:59
0001 #ifndef Forward_Bcm1fSD_h
0002 #define Forward_Bcm1fSD_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 <string>
0009
0010 class SimTrackManager;
0011 class G4Step;
0012
0013 class Bcm1fSD : public TimingSD {
0014 public:
0015 Bcm1fSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *);
0016 ~Bcm1fSD() override;
0017
0018 uint32_t setDetUnitId(const G4Step *) override;
0019
0020 protected:
0021 bool checkHit(const G4Step *, BscG4Hit *) override;
0022
0023 private:
0024 float energyCut;
0025 float energyHistoryCut;
0026 };
0027
0028 #endif