CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
AnomalousTower Class Reference

#include <AnomalousTower.h>

Public Member Functions

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

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
AnomalousTower::AnomalousTower ( )
delete
virtual AnomalousTower::~AnomalousTower ( )
inlinevirtual

Definition at line 11 of file AnomalousTower.h.

11 {}

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.

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:212
unsigned int numRecoveredHcalCells() const
Definition: CaloTower.h:216
unsigned int numBadHcalCells() const
Definition: CaloTower.h:215
const unsigned maxBadEcalCells
const unsigned maxRecoveredEcalCells
static std::string const input
Definition: EdmProvDump.cc:47
unsigned int numBadEcalCells() const
Definition: CaloTower.h:211
const unsigned maxProblematicEcalCells
const unsigned maxBadHcalCells
unsigned int numProblematicEcalCells() const
Definition: CaloTower.h:213
unsigned int numProblematicHcalCells() const
Definition: CaloTower.h:217
const unsigned maxProblematicHcalCells
const unsigned maxRecoveredHcalCells

Member Data Documentation

const unsigned AnomalousTower::maxBadEcalCells
private

Definition at line 17 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxBadHcalCells
private

Definition at line 20 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxProblematicEcalCells
private

Definition at line 19 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxProblematicHcalCells
private

Definition at line 22 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxRecoveredEcalCells
private

Definition at line 18 of file AnomalousTower.h.

Referenced by operator()().

const unsigned AnomalousTower::maxRecoveredHcalCells
private

Definition at line 21 of file AnomalousTower.h.

Referenced by operator()().