CMS 3D CMS Logo

ShallowClustersProducer.h
Go to the documentation of this file.
1 #ifndef SHALLOW_CLUSTERS_PRODUCER
2 #define SHALLOW_CLUSTERS_PRODUCER
3 
10 
12 
13 class SiStripClusterInfo;
15 class TrackerTopology;
16 
18 public:
20 
21 private:
24  void produce(edm::Event &, const edm::EventSetup &) override;
25 
26  struct moduleVars {
27  moduleVars(uint32_t, const TrackerTopology *);
29  uint32_t module;
30  };
31 
32  struct NearDigis {
35  float max, left, right, first, last, Lleft, Rright;
36  float etaX() const { return ((left + right) / max) / 2.; }
37  float eta() const { return right > left ? max / (max + right) : left / (left + max); }
38  float etaasymm() const { return right > left ? (right - max) / (right + max) : (max - left) / (max + left); }
39  float outsideasymm() const { return (last - first) / (last + first); }
40  };
41 
44 };
45 
46 #endif
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
ShallowClustersProducer(const edm::ParameterSet &)
moduleVars(uint32_t, const TrackerTopology *)
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > theClustersToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripProcessedRawDigi > > theDigisToken_