#include <AnomalousTower.h>
Public Member Functions | |
AnomalousTower (const edm::ParameterSet &) | |
virtual bool | operator() (const reco::Candidate &input) const |
virtual | ~AnomalousTower () |
Private Member Functions | |
AnomalousTower () | |
Private Attributes | |
const unsigned | maxBadEcalCells |
const unsigned | maxBadHcalCells |
const unsigned | maxProblematicEcalCells |
const unsigned | maxProblematicHcalCells |
const unsigned | maxRecoveredEcalCells |
const unsigned | maxRecoveredHcalCells |
Definition at line 7 of file AnomalousTower.h.
AnomalousTower::AnomalousTower | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 7 of file AnomalousTower.cc.
: init_param(unsigned, maxBadEcalCells), init_param(unsigned, maxRecoveredEcalCells), init_param(unsigned, maxProblematicEcalCells), init_param(unsigned, maxBadHcalCells), init_param(unsigned, maxRecoveredHcalCells), init_param(unsigned, maxProblematicHcalCells) { }
virtual AnomalousTower::~AnomalousTower | ( | ) | [inline, virtual] |
Definition at line 11 of file AnomalousTower.h.
{}
AnomalousTower::AnomalousTower | ( | ) | [private] |
bool AnomalousTower::operator() | ( | const reco::Candidate & | input | ) | const [virtual] |
Definition at line 17 of file AnomalousTower.cc.
References collect_tpl::input, maxBadEcalCells, maxBadHcalCells, maxProblematicEcalCells, maxProblematicHcalCells, maxRecoveredEcalCells, maxRecoveredHcalCells, CaloTower::numBadEcalCells(), CaloTower::numBadHcalCells(), CaloTower::numProblematicEcalCells(), CaloTower::numProblematicHcalCells(), CaloTower::numRecoveredEcalCells(), and CaloTower::numRecoveredHcalCells().
{ const CaloTower* tower = dynamic_cast<const CaloTower*>(&input); if (tower) return tower->numBadEcalCells() > maxBadEcalCells || tower->numRecoveredEcalCells() > maxRecoveredEcalCells || tower->numProblematicEcalCells() > maxProblematicEcalCells || tower->numBadHcalCells() > maxBadHcalCells || tower->numRecoveredHcalCells() > maxRecoveredHcalCells || tower->numProblematicHcalCells() > maxProblematicHcalCells; else return false; }
const unsigned AnomalousTower::maxBadEcalCells [private] |
Definition at line 19 of file AnomalousTower.h.
Referenced by operator()().
const unsigned AnomalousTower::maxBadHcalCells [private] |
Definition at line 22 of file AnomalousTower.h.
Referenced by operator()().
const unsigned AnomalousTower::maxProblematicEcalCells [private] |
Definition at line 21 of file AnomalousTower.h.
Referenced by operator()().
const unsigned AnomalousTower::maxProblematicHcalCells [private] |
Definition at line 24 of file AnomalousTower.h.
Referenced by operator()().
const unsigned AnomalousTower::maxRecoveredEcalCells [private] |
Definition at line 20 of file AnomalousTower.h.
Referenced by operator()().
const unsigned AnomalousTower::maxRecoveredHcalCells [private] |
Definition at line 23 of file AnomalousTower.h.
Referenced by operator()().