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 {
12 public:
13  explicit SensitiveCaloDetector(const std::string & iname, const DDCompactView & cpv,
14  const SensitiveDetectorCatalog & clg,
15  edm::ParameterSet const & p) :
16  SensitiveDetector(iname,cpv,clg,p,true) {};
17 
18  virtual void fillHits(edm::PCaloHitContainer &, const std::string& hname) = 0;
19  virtual void reset() {};
20 };
21 
22 #endif
std::vector< PCaloHit > PCaloHitContainer
SensitiveCaloDetector(const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
virtual void fillHits(edm::PCaloHitContainer &, const std::string &hname)=0