Go to the documentation of this file.
13 : doACheck_(conf.getParameter<
bool>(
"doClusterCheck")),
14 selector_(conf.getParameter<
bool>(
"doClusterCheck") && conf.existsAs<
std::
string>(
"cut")
24 if (conf.
existsAs<uint32_t>(
"DontCountDetsAboveNClusters")) {
33 desc.add<
bool>(
"doClusterCheck",
true);
34 desc.add<
unsigned>(
"MaxNumberOfCosmicClusters", 400000);
36 desc.add<
unsigned>(
"MaxNumberOfPixelClusters", 40000);
39 "strip < 400000 && pixel < 40000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + 0.1*strip)");
63 for (; DSViter != DSViter_end; DSViter++) {
64 size_t siz = DSViter->
size();
89 for (; DSViter != DSViter_end; DSViter++) {
90 size_t siz = DSViter->
size();
100 <<
"could not get any SiPixel cluster collections of type edm::DetSetVector<SiPixelCluster> with label: "
102 totals.
pixel = 999999;
static const std::string input
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_sc
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > token_pc
static void fillDescriptions(edm::ParameterSetDescription &description)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
int pixeldets
number of strip detectors with at least one cluster
Log< level::Error, false > LogError
int pixel
number of strip clusters
unsigned int maxNrOfPixelClusters_
edm::InputTag clusterCollectionInputTag_
unsigned int maxNrOfCosmicClusters_
int stripdets
number of pixel clusters
StringCutObjectSelector< reco::utils::ClusterTotals > selector_
T getParameter(std::string const &) const
edm::InputTag pixelClusterCollectionInputTag_
size_t tooManyClusters(const edm::Event &e) const
unsigned int ignoreDetsAboveNClusters_