SimG4Core
SensitiveDetector
interface
SensitiveCaloDetector.h
Go to the documentation of this file.
1
#ifndef SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
2
#define SimG4Core_SensitiveDetector_SensitiveCaloDetector_H
3
4
#include "
SimDataFormats/CaloHit/interface/PCaloHitContainer.h
"
5
#include "
SimG4Core/SensitiveDetector/interface/SensitiveDetector.h
"
6
7
#include <vector>
8
#include <string>
9
10
class
SensitiveCaloDetector
:
public
SensitiveDetector
{
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
PCaloHitContainer.h
edm::PCaloHitContainer
std::vector< PCaloHit > PCaloHitContainer
Definition:
PCaloHitContainer.h:8
SensitiveCaloDetector
Definition:
SensitiveCaloDetector.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
funct::true
true
Definition:
Factorize.h:173
SensitiveCaloDetector::SensitiveCaloDetector
SensitiveCaloDetector(const std::string &iname, const SensitiveDetectorCatalog &clg)
Definition:
SensitiveCaloDetector.h:12
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:10
SensitiveCaloDetector::fillHits
virtual void fillHits(edm::PCaloHitContainer &, const std::string &hname)=0
SensitiveDetector.h
SensitiveDetector
Definition:
SensitiveDetector.h:19
SensitiveCaloDetector::reset
virtual void reset()
Definition:
SensitiveCaloDetector.h:16
Generated for CMSSW Reference Manual by
1.8.14