#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 () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &description) |
Private Member Functions | |
ClusterChecker ()=delete | |
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 24 of file ClusterChecker.h.
ClusterChecker::ClusterChecker | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 15 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 10 of file ClusterChecker.cc.
ClusterChecker::~ClusterChecker | ( | ) |
Definition at line 47 of file ClusterChecker.cc.
|
privatedelete |
|
static |
Definition at line 37 of file ClusterChecker.cc.
References edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ClusterCheckerEDProducer::fillDescriptions().
size_t ClusterChecker::tooManyClusters | ( | const edm::Event & | e | ) | const |
Definition at line 51 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(), ClusterCheckerEDProducer::produce(), SeedGeneratorFromRegionHitsEDProducer::produce(), CosmicSeedGenerator::produce(), SimpleCosmicBONSeeder::produce(), and CtfSpecialSeedGenerator::produce().
|
private |
Definition at line 37 of file ClusterChecker.h.
Referenced by ClusterChecker().
|
private |
Definition at line 36 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 42 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 39 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 40 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 38 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 41 of file ClusterChecker.h.
Referenced by tooManyClusters().
|
private |
Definition at line 44 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().
|
private |
Definition at line 43 of file ClusterChecker.h.
Referenced by ClusterChecker(), and tooManyClusters().