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 
13 
14 
25 
26 
29 
33 
40 
41 
42 
58 
59 
60 #include <ext/hash_map>
61 
62 
64 public:
66 private:
68  std::string Suffix;
69  std::string Prefix;
70 
71  void produce( edm::Event &, const edm::EventSetup & );
72 // virtual void beginJob(EventSetup const&);
73 // virtual void beginRun(Run&, EventSetup const&);
74  bool IsFarFromBorder(TrajectoryStateOnSurface* trajState, const uint32_t detid, const edm::EventSetup* iSetup);
75  double thickness (DetId id);
76 
78  std::map<DetId,double> m_thicknessMap;
79 
80 /*
81  struct stAPVGain{int DetId; int APVId; double PreviousGain;};
82  class isEqual{
83  public:
84  template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
85  };
86  std::vector<stAPVGain*> APVsCollOrdered;
87  hash_map<unsigned int, stAPVGain*, hash<unsigned int>, isEqual > APVsColl;
88 */
89 };
90 #endif
91 
92 
93 
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:20
const TrackerGeometry * m_tracker
void produce(edm::Event &, const edm::EventSetup &)