File indexing completed on 2024-09-10 02:59:09
0001 #ifndef SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
0002 #define SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
0003
0004 #include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
0005 #include "SimG4Core/SensitiveDetector/interface/SensitiveDetector.h"
0006
0007 #include <vector>
0008 #include <string>
0009
0010 class SensitiveCaloDetector : public SensitiveDetector {
0011 public:
0012 explicit SensitiveCaloDetector(const std::string& iname,
0013 const SensitiveDetectorCatalog& clg,
0014 const std::string& newcollname = "")
0015 : SensitiveDetector(iname, clg, true, newcollname) {}
0016
0017 virtual void fillHits(edm::PCaloHitContainer&, const std::string& hname) = 0;
0018 virtual void reset() {}
0019 };
0020
0021 #endif