CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHitFilter.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalHitFilter_h
2 #define HcalSimAlgos_HcalHitFilter_h
3 
7 
8 
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:
21  // empty DetIds will always be accepted
22  std::vector<DetId> theDetIds;
23 };
24 
25 #endif
26 
virtual bool accepts(const PCaloHit &hit) const
void setDetIds(const std::vector< DetId > &detIds)
HcalSubdetector theSubdet
Definition: HcalHitFilter.h:20
HcalSubdetector
Definition: HcalAssistant.h:32
std::vector< DetId > theDetIds
Definition: HcalHitFilter.h:22
HcalHitFilter(HcalSubdetector subdet)
Definition: HcalHitFilter.cc:4
virtual ~HcalHitFilter()
Definition: HcalHitFilter.h:13