test
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 
9 
11 
12 class SiStripClusterInfo;
14 class TrackerTopology;
15 
17 
18  public:
19 
21 
22  private:
23 
26  void produce( edm::Event &, const edm::EventSetup & );
27 
28  struct moduleVars {
29  moduleVars(uint32_t, const TrackerTopology*);
31  uint32_t module;
32  };
33 
34  struct NearDigis {
38  float etaX() const {return (left+right)/max/2.;}
39  float eta() const {return right>left ? max/(max+right) : left/(left+max);}
40  float etaasymm() const {return right>left ? (right-max)/(right+max) : (max-left)/(max+left);}
41  float outsideasymm() const {return (last-first)/(last+first);}
42  };
43 
46 
47 };
48 
49 #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 *)
edm::EDGetTokenT< edm::DetSetVector< SiStripCluster > > theClustersToken_
void produce(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< edm::DetSetVector< SiStripProcessedRawDigi > > theDigisToken_