Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimCalorimetry
HcalSimAlgos
interface
HcalHitFilter.h
Go to the documentation of this file.
1
#ifndef HcalSimAlgos_HcalHitFilter_h
2
#define HcalSimAlgos_HcalHitFilter_h
3
4
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloVHitFilter.h
"
5
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
6
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
7
8
9
class
HcalHitFilter
:
public
CaloVHitFilter
10
{
11
public
:
12
explicit
HcalHitFilter
(
HcalSubdetector
subdet);
13
virtual
~HcalHitFilter
() {}
14
15
void
setDetIds
(
const
std::vector<DetId> & detIds);
16
17
virtual
bool
accepts
(
const
PCaloHit
&
hit
)
const
;
18
19
private
:
20
HcalSubdetector
theSubdet
;
21
// empty DetIds will always be accepted
22
std::vector<DetId>
theDetIds
;
23
};
24
25
#endif
26
HcalHitFilter::accepts
virtual bool accepts(const PCaloHit &hit) const
Definition:
HcalHitFilter.cc:16
PCaloHit
Definition:
PCaloHit.h:8
HcalHitFilter::setDetIds
void setDetIds(const std::vector< DetId > &detIds)
Definition:
HcalHitFilter.cc:10
HcalSubdetector.h
HcalHitFilter::theSubdet
HcalSubdetector theSubdet
Definition:
HcalHitFilter.h:20
CaloVHitFilter
Definition:
CaloVHitFilter.h:7
CaloVHitFilter.h
HcalDetId.h
HcalSubdetector
HcalSubdetector
Definition:
HcalAssistant.h:32
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
HcalHitFilter::theDetIds
std::vector< DetId > theDetIds
Definition:
HcalHitFilter.h:22
HcalHitFilter::HcalHitFilter
HcalHitFilter(HcalSubdetector subdet)
Definition:
HcalHitFilter.cc:4
HcalHitFilter::~HcalHitFilter
virtual ~HcalHitFilter()
Definition:
HcalHitFilter.h:13
HcalHitFilter
Definition:
HcalHitFilter.h:9
Generated for CMSSW Reference Manual by
1.8.5