11 doACheck_(conf.getParameter<bool>(
"doClusterCheck")),
12 selector_(conf.getParameter<bool>(
"doClusterCheck") && conf.existsAs<std::
string>(
"cut") ?
13 conf.getParameter<std::
string>(
"cut") :
23 if (conf.
existsAs<uint32_t>(
"DontCountDetsAboveNClusters")) {
55 for (; DSViter!=DSViter_end; DSViter++ ) {
56 size_t siz = DSViter->
size();
68 totals.
strip = lazyGH->size();
71 edm::LogError(
"ClusterChecker")<<
"could not get any SiStrip cluster collections of type edm::DetSetVector<SiStripCluster> or edm::LazyGetter<SiStripCluster, with label: "<<
clusterCollectionInputTag_;
72 totals.
strip = 999999;
91 for (; DSViter!=DSViter_end; DSViter++ ) {
92 size_t siz = DSViter->
size();
102 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_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
unsigned int maxNrOfPixelClusters_
static std::string const input
int pixel
number of strip clusters
unsigned int maxNrOfCosmicClusters_
size_t tooManyClusters(const edm::Event &e) const
unsigned int ignoreDetsAboveNClusters_
const_iterator end() const
edm::InputTag pixelClusterCollectionInputTag_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > token_pc
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_sc