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 
12 
13  public:
14 
16 
17  private:
18 
20  std::string Prefix;
21  void produce( edm::Event &, const edm::EventSetup & );
22 
23  struct moduleVars {
24  moduleVars(uint32_t);
26  uint32_t module;
27  };
28 
29  struct NearDigis {
33  float etaX() const {return (left+right)/max/2.;}
34  float eta() const {return right>left ? max/(max+right) : left/(left+max);}
35  float etaasymm() const {return right>left ? (right-max)/(right+max) : (max-left)/(max+left);}
36  float outsideasymm() const {return (last-first)/(last+first);}
37  };
38 
39 };
40 
41 #endif
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
ShallowClustersProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &)