#include <ClusterChecker.h>
Public Member Functions | |
ClusterChecker (const edm::ParameterSet &conf) | |
size_t | tooManyClusters (const edm::Event &e) const |
~ClusterChecker () | |
Private Attributes | |
edm::InputTag | clusterCollectionInputTag_ |
bool | doACheck_ |
unsigned int | ignoreDetsAboveNClusters_ |
unsigned int | maxNrOfCosmicClusters_ |
unsigned int | maxNrOfPixelClusters_ |
edm::InputTag | pixelClusterCollectionInputTag_ |
StringCutObjectSelector < reco::utils::ClusterTotals > | selector_ |
Definition at line 19 of file ClusterChecker.h.
ClusterChecker::ClusterChecker | ( | const edm::ParameterSet & | conf | ) |
Definition at line 13 of file ClusterChecker.cc.
References clusterCollectionInputTag_, doACheck_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), ignoreDetsAboveNClusters_, maxNrOfCosmicClusters_, maxNrOfPixelClusters_, and pixelClusterCollectionInputTag_.
ClusterChecker::~ClusterChecker | ( | ) |
Definition at line 33 of file ClusterChecker.cc.
size_t ClusterChecker::tooManyClusters | ( | const edm::Event & | e | ) | const |
Definition at line 37 of file ClusterChecker.cc.
References edmNew::DetSetVector< T >::begin(), clusterCollectionInputTag_, edmNew::DetSetVector< T >::dataSize(), doACheck_, edmNew::DetSetVector< T >::end(), edm::HandleBase::failedToGet(), edm::Event::getByLabel(), ignoreDetsAboveNClusters_, LaserDQM_cfg::input, maxNrOfCosmicClusters_, maxNrOfPixelClusters_, reco::utils::ClusterTotals::pixel, pixelClusterCollectionInputTag_, reco::utils::ClusterTotals::pixeldets, selector_, edmNew::DetSetVector< T >::size(), reco::utils::ClusterTotals::strip, and reco::utils::ClusterTotals::stripdets.
Referenced by PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::analyze(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::analyze(), SeedGeneratorFromRegionHitsEDProducer::produce(), CosmicSeedGenerator::produce(), RoadSearchSeedFinder::produce(), SimpleCosmicBONSeeder::produce(), and CtfSpecialSeedGenerator::produce().
|
private |
Definition at line 27 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 26 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 32 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 29 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 30 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 28 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 31 of file ClusterChecker.h.
Referenced by tooManyClusters().