![]() |
![]() |
#include <HcalHitFilter.h>
Public Member Functions | |
virtual bool | accepts (const PCaloHit &hit) const |
HcalHitFilter (HcalSubdetector subdet) | |
void | setDetIds (const std::vector< DetId > &detIds) |
virtual | ~HcalHitFilter () |
Private Attributes | |
std::vector< DetId > | theDetIds |
HcalSubdetector | theSubdet |
Definition at line 9 of file HcalHitFilter.h.
HcalHitFilter::HcalHitFilter | ( | HcalSubdetector | subdet | ) | [explicit] |
Definition at line 4 of file HcalHitFilter.cc.
: theSubdet(subdet) { }
virtual HcalHitFilter::~HcalHitFilter | ( | ) | [inline, virtual] |
Definition at line 13 of file HcalHitFilter.h.
{}
bool HcalHitFilter::accepts | ( | const PCaloHit & | hit | ) | const [virtual] |
Implements CaloVHitFilter.
Definition at line 16 of file HcalHitFilter.cc.
References spr::find(), PCaloHit::id(), query::result, theDetIds, and theSubdet.
void HcalHitFilter::setDetIds | ( | const std::vector< DetId > & | detIds | ) |
Definition at line 10 of file HcalHitFilter.cc.
References theDetIds.
Referenced by HcalDigitizer::buildHOSiPMCells().
{ theDetIds = detIds; }
std::vector<DetId> HcalHitFilter::theDetIds [private] |
Definition at line 22 of file HcalHitFilter.h.
Referenced by accepts(), and setDetIds().
HcalSubdetector HcalHitFilter::theSubdet [private] |
Definition at line 20 of file HcalHitFilter.h.
Referenced by accepts().