#include <ClusterChecker.h>
Public Member Functions | |
ClusterChecker (const edm::ParameterSet &conf, edm::ConsumesCollector &iC) | |
ClusterChecker (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
size_t | tooManyClusters (const edm::Event &e) const |
~ClusterChecker () | |
Private Member Functions | |
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_ |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > | token_pc |
edm::EDGetTokenT < edmNew::DetSetVector < SiStripCluster > > | token_sc |
Definition at line 30 of file ClusterChecker.h.
ClusterChecker::ClusterChecker | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 14 of file ClusterChecker.cc.
References clusterCollectionInputTag_, edm::ConsumesCollector::consumes(), doACheck_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), ignoreDetsAboveNClusters_, maxNrOfCosmicClusters_, maxNrOfPixelClusters_, pixelClusterCollectionInputTag_, token_pc, and token_sc.
ClusterChecker::ClusterChecker | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 9 of file ClusterChecker.cc.
ClusterChecker::~ClusterChecker | ( | ) |
Definition at line 37 of file ClusterChecker.cc.
|
private |
size_t ClusterChecker::tooManyClusters | ( | const edm::Event & | e | ) | const |
Definition at line 41 of file ClusterChecker.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::dataSize(), doACheck_, edmNew::DetSetVector< T >::end(), edm::HandleBase::failedToGet(), edm::Event::getByToken(), ignoreDetsAboveNClusters_, input, maxNrOfCosmicClusters_, maxNrOfPixelClusters_, reco::utils::ClusterTotals::pixel, pixelClusterCollectionInputTag_, reco::utils::ClusterTotals::pixeldets, selector_, edmNew::DetSetVector< T >::size(), reco::utils::ClusterTotals::strip, reco::utils::ClusterTotals::stripdets, token_pc, and token_sc.
Referenced by PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::analyze(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find(), SeedGeneratorFromRegionHitsEDProducer::produce(), CosmicSeedGenerator::produce(), SimpleCosmicBONSeeder::produce(), and CtfSpecialSeedGenerator::produce().
|
private |
Definition at line 43 of file ClusterChecker.h.
Referenced by ClusterChecker().
|
private |
Definition at line 42 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 48 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 45 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 46 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 44 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 47 of file ClusterChecker.h.
Referenced by tooManyClusters().
|
private |
Definition at line 51 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 50 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().