CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ShallowClustersProducer.h
Go to the documentation of this file.
1 #ifndef SHALLOW_CLUSTERS_PRODUCER
2 #define SHALLOW_CLUSTERS_PRODUCER
3 
10 class TrackerTopology;
11 
13 
14  public:
15 
17 
18  private:
19 
22  void produce( edm::Event &, const edm::EventSetup & );
23 
24  struct moduleVars {
25  moduleVars(uint32_t, const TrackerTopology*);
27  uint32_t module;
28  };
29 
30  struct NearDigis {
34  float etaX() const {return (left+right)/max/2.;}
35  float eta() const {return right>left ? max/(max+right) : left/(left+max);}
36  float etaasymm() const {return right>left ? (right-max)/(right+max) : (max-left)/(max+left);}
37  float outsideasymm() const {return (last-first)/(last+first);}
38  };
39 
40 };
41 
42 #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 &)