16 doACheck_(conf.getParameter<bool>(
"doClusterCheck")),
17 selector_(conf.getParameter<bool>(
"doClusterCheck") && conf.existsAs<std::
string>(
"cut") ?
18 conf.getParameter<std::
string>(
"cut") :
28 if (conf.
existsAs<uint32_t>(
"DontCountDetsAboveNClusters")) {
60 for (; DSViter!=DSViter_end; DSViter++ ) {
61 size_t siz = DSViter->
size();
73 totals.
strip = lazyGH->size();
76 edm::LogError(
"ClusterChecker")<<
"could not get any SiStrip cluster collections of type edm::DetSetVector<SiStripCluster> or edm::LazyGetter<SiStripCluster, with label: "<<
clusterCollectionInputTag_;
77 totals.
strip = 999999;
96 for (; DSViter!=DSViter_end; DSViter++ ) {
97 size_t siz = DSViter->
size();
107 totals.
pixel = 999999;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
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
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_
edm::InputTag pixelClusterCollectionInputTag_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > token_pc
const_iterator end(bool update=true) const
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_sc
const_iterator begin(bool update=true) const