CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ClusterChecker.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_ClusterChecker_H
2 #define RecoTracker_TkSeedGenerator_ClusterChecker_H
3 
9 
10 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
12 #else
13 namespace edm {
14  class ConsumesCollector;
15 }
16 #endif
17 
18 namespace edm { class Event; class ParameterSet; }
19 
20 namespace reco { namespace utils {
21  struct ClusterTotals {
23  int strip;
24  int pixel;
25  int stripdets;
26  int pixeldets;
27  };
28 } }
29 
31  public:
32 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
35 #endif
36 
37  ~ClusterChecker() ;
38  size_t tooManyClusters(const edm::Event & e) const ;
39 
40  private:
41  ClusterChecker(); // This is only needed for StringCutObjectSelector
42  bool doACheck_;
45  unsigned int maxNrOfCosmicClusters_;
46  unsigned int maxNrOfPixelClusters_;
49 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
52 #endif
53 };
54 
55 #endif
int stripdets
number of pixel clusters
int pixeldets
number of strip detectors with at least one cluster
edm::InputTag clusterCollectionInputTag_
StringCutObjectSelector< reco::utils::ClusterTotals > selector_
unsigned int maxNrOfPixelClusters_
int pixel
number of strip clusters
unsigned int maxNrOfCosmicClusters_
size_t tooManyClusters(const edm::Event &e) const
unsigned int ignoreDetsAboveNClusters_
tuple conf
Definition: dbtoconf.py:185
edm::InputTag pixelClusterCollectionInputTag_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > token_pc
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_sc