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,
13  const SensitiveDetectorCatalog& clg,
14  const std::string& newcollname = "")
15  : SensitiveDetector(iname, clg, true, newcollname) {}
16 
17  virtual void fillHits(edm::PCaloHitContainer&, const std::string& hname) = 0;
18  virtual void reset() {}
19 };
20 
21 #endif
std::vector< PCaloHit > PCaloHitContainer
SensitiveCaloDetector(const std::string &iname, const SensitiveDetectorCatalog &clg, const std::string &newcollname="")
virtual void fillHits(edm::PCaloHitContainer &, const std::string &hname)=0