CMS 3D CMS Logo

SensitiveCaloDetector.h
Go to the documentation of this file.
1 #ifndef SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
2 #define SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
3 
6 
7 #include <vector>
8 #include <string>
9 
11 public:
12  explicit SensitiveCaloDetector(const std::string& iname, const SensitiveDetectorCatalog& clg)
13  : SensitiveDetector(iname, clg, true){};
14 
15  virtual void fillHits(edm::PCaloHitContainer&, const std::string& hname) = 0;
16  virtual void reset(){};
17 };
18 
19 #endif
std::vector< PCaloHit > PCaloHitContainer
SensitiveCaloDetector(const std::string &iname, const SensitiveDetectorCatalog &clg)
virtual void fillHits(edm::PCaloHitContainer &, const std::string &hname)=0