17 doACheck_(conf.getParameter<bool>(
"doClusterCheck")),
18 selector_(conf.getParameter<bool>(
"doClusterCheck") && conf.existsAs<
std::
string>(
"cut") ?
29 if (conf.
existsAs<uint32_t>(
"DontCountDetsAboveNClusters")) {
38 desc.
add<
bool>(
"doClusterCheck",
true);
39 desc.
add<
unsigned>(
"MaxNumberOfCosmicClusters", 400000);
41 desc.
add<
unsigned>(
"MaxNumberOfPixelClusters", 40000);
43 desc.
add<
std::string>(
"cut",
"strip < 400000 && pixel < 40000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + 0.1*strip)");
70 for (; DSViter!=DSViter_end; DSViter++ ) {
71 size_t siz = DSViter->
size();
94 for (; DSViter!=DSViter_end; DSViter++ ) {
95 size_t siz = DSViter->
size();
105 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
const_iterator end(bool update=false) 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 void fillDescriptions(edm::ParameterSetDescription &description)
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_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::InputTag pixelClusterCollectionInputTag_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > token_pc
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_sc
const_iterator begin(bool update=false) const