src
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,
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
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
SensitiveCaloDetector::SensitiveCaloDetector
SensitiveCaloDetector(const std::string &iname, const SensitiveDetectorCatalog &clg, const std::string &newcollname="")
Definition:
SensitiveCaloDetector.h:12
funct::true
true
Definition:
Factorize.h:173
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:18
Generated for CMSSW Reference Manual by
1.8.14