CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
AnomalousTower Class Reference

#include <AnomalousTower.h>

Public Member Functions

 AnomalousTower (const edm::ParameterSet &)
 
virtual bool operator() (const reco::Candidate &input) const
 
virtual ~AnomalousTower ()
 

Private Member Functions

 AnomalousTower ()=delete
 

Private Attributes

const unsigned maxBadEcalCells
 
const unsigned maxBadHcalCells
 
const unsigned maxProblematicEcalCells
 
const unsigned maxProblematicHcalCells
 
const unsigned maxRecoveredEcalCells
 
const unsigned maxRecoveredHcalCells
 

Detailed Description

Definition at line 7 of file AnomalousTower.h.

Constructor & Destructor Documentation

AnomalousTower::AnomalousTower ( const edm::ParameterSet ps)
explicit

Definition at line 7 of file AnomalousTower.cc.

8  : init_param(unsigned, maxBadEcalCells),
11  init_param(unsigned, maxBadHcalCells),
#define init_param(type, varname)
const unsigned maxBadEcalCells
const unsigned maxRecoveredEcalCells
const unsigned maxProblematicEcalCells
const unsigned maxBadHcalCells
const unsigned maxProblematicHcalCells
const unsigned maxRecoveredHcalCells
virtual AnomalousTower::~AnomalousTower ( )
inlinevirtual

Definition at line 10 of file AnomalousTower.h.

References AnomalousTower(), input, and operator()().

10 {}
AnomalousTower::AnomalousTower ( )
privatedelete

Referenced by ~AnomalousTower().

Member Function Documentation

bool AnomalousTower::operator() ( const reco::Candidate input) const
virtual

Definition at line 15 of file AnomalousTower.cc.

References input, maxBadEcalCells, maxBadHcalCells, maxProblematicEcalCells, maxProblematicHcalCells, maxRecoveredEcalCells, maxRecoveredHcalCells, CaloTower::numBadEcalCells(), CaloTower::numBadHcalCells(), CaloTower::numProblematicEcalCells(), CaloTower::numProblematicHcalCells(), CaloTower::numRecoveredEcalCells(), CaloTower::numRecoveredHcalCells(), and hgcalTowerProducer_cfi::tower.

Referenced by ~AnomalousTower().

15  {
16  const CaloTower* tower = dynamic_cast<const CaloTower*>(&input);
17  if (tower)
22  else
23  return false;
24 }
unsigned int numRecoveredEcalCells() const
Definition: CaloTower.h:216
unsigned int numRecoveredHcalCells() const
Definition: CaloTower.h:220
unsigned int numBadHcalCells() const
Definition: CaloTower.h:219
const unsigned maxBadEcalCells
const unsigned maxRecoveredEcalCells
static std::string const input
Definition: EdmProvDump.cc:48
unsigned int numBadEcalCells() const
Definition: CaloTower.h:215
const unsigned maxProblematicEcalCells
const unsigned maxBadHcalCells
unsigned int numProblematicEcalCells() const
Definition: CaloTower.h:217
unsigned int numProblematicHcalCells() const
Definition: CaloTower.h:221
const unsigned maxProblematicHcalCells
const unsigned maxRecoveredHcalCells

Member Data Documentation

const unsigned AnomalousTower::maxBadEcalCells
private

Definition at line 18 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxBadHcalCells
private

Definition at line 21 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxProblematicEcalCells
private

Definition at line 20 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxProblematicHcalCells
private

Definition at line 23 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxRecoveredEcalCells
private

Definition at line 19 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxRecoveredHcalCells
private

Definition at line 22 of file AnomalousTower.h.

Referenced by operator()().