CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ShallowGainCalibration.h
Go to the documentation of this file.
1 #ifndef SHALLOW_GAINCALIBRATION_PRODUCER
2 #define SHALLOW_GAINCALIBRATION_PRODUCER
3 
6 
8 
14 
25 
26 
29 
33 
40 
41 
42 
54 
55 
56 #include <ext/hash_map>
57 
58 
60 public:
62 private:
66 
67  void produce( edm::Event &, const edm::EventSetup & );
68 // virtual void beginJob(EventSetup const&);
69 // virtual void beginRun(Run&, EventSetup const&);
70  bool IsFarFromBorder(TrajectoryStateOnSurface* trajState, const uint32_t detid, const edm::EventSetup* iSetup);
71  double thickness (DetId id);
72 
74  std::map<DetId,double> m_thicknessMap;
75 
76 /*
77  struct stAPVGain{int DetId; int APVId; double PreviousGain;};
78  class isEqual{
79  public:
80  template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
81  };
82  std::vector<stAPVGain*> APVsCollOrdered;
83  hash_map<unsigned int, stAPVGain*, hash<unsigned int>, isEqual > APVsColl;
84 */
85 };
86 #endif
87 
88 
89 
std::map< DetId, double > m_thicknessMap
ShallowGainCalibration(const edm::ParameterSet &)
bool IsFarFromBorder(TrajectoryStateOnSurface *trajState, const uint32_t detid, const edm::EventSetup *iSetup)
Definition: DetId.h:18
const TrackerGeometry * m_tracker
void produce(edm::Event &, const edm::EventSetup &)