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 
19  public:
20 
22 
23  private:
24 
27  void produce( edm::Event &, const edm::EventSetup & ) override;
28 
29  struct moduleVars {
30  moduleVars(uint32_t, const TrackerTopology*);
32  uint32_t module;
33  };
34 
35  struct NearDigis {
38  float max, left, right, first, last, Lleft, Rright;
39  float etaX() const {return ((left+right)/max)/2.;}
40  float eta() const {return right>left ? max/(max+right) : left/(left+max);}
41  float etaasymm() const {return right>left ? (right-max)/(right+max) : (max-left)/(max+left);}
42  float outsideasymm() const {return (last-first)/(last+first);}
43  };
44 
47 
48 };
49 
50 #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_