14 doACheck_(conf.getParameter<bool>(
"doClusterCheck")),
15 selector_(conf.getParameter<bool>(
"doClusterCheck") && conf.existsAs<std::string>(
"cut") ?
16 conf.getParameter<std::string>(
"cut") :
24 if (conf.
existsAs<uint32_t>(
"DontCountDetsAboveNClusters")) {
56 for (; DSViter!=DSViter_end; DSViter++ ) {
57 size_t siz = DSViter->
size();
69 totals.
strip = lazyGH->size();
72 edm::LogError(
"ClusterChecker")<<
"could not get any SiStrip cluster collections of type edm::DetSetVector<SiStripCluster> or edm::LazyGetter<SiStripCluster, with label: "<<
clusterCollectionInputTag_;
73 totals.
strip = 999999;
92 for (; DSViter!=DSViter_end; DSViter++ ) {
93 size_t siz = DSViter->
size();
103 totals.
pixel = 999999;
T getParameter(std::string const &) const
int stripdets
number of pixel clusters
int pixeldets
number of strip detectors with at least one cluster
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator begin() const
size_type dataSize() const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::InputTag clusterCollectionInputTag_
StringCutObjectSelector< reco::utils::ClusterTotals > selector_
ClusterChecker(const edm::ParameterSet &conf)
unsigned int maxNrOfPixelClusters_
int pixel
number of strip clusters
unsigned int maxNrOfCosmicClusters_
size_t tooManyClusters(const edm::Event &e) const
unsigned int ignoreDetsAboveNClusters_
const_iterator end() const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag pixelClusterCollectionInputTag_