CMS 3D CMS Logo

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:
65 
68 
69  void produce( edm::Event &, const edm::EventSetup & ) override;
70 // virtual void beginJob(EventSetup const&);
71 // virtual void beginRun(Run&, EventSetup const&);
72  bool IsFarFromBorder(TrajectoryStateOnSurface* trajState, const uint32_t detid, const edm::EventSetup* iSetup);
73  double thickness (DetId id);
74 
76  std::map<DetId,double> m_thicknessMap;
77 
78 /*
79  struct stAPVGain{int DetId; int APVId; double PreviousGain;};
80  class isEqual{
81  public:
82  template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
83  };
84  std::vector<stAPVGain*> APVsCollOrdered;
85  hash_map<unsigned int, stAPVGain*, hash<unsigned int>, isEqual > APVsColl;
86 */
87 };
88 #endif
89 
90 
91 
std::map< DetId, double > m_thicknessMap
ShallowGainCalibration(const edm::ParameterSet &)
bool IsFarFromBorder(TrajectoryStateOnSurface *trajState, const uint32_t detid, const edm::EventSetup *iSetup)
const edm::EDGetTokenT< edm::View< reco::Track > > tracks_token_
Definition: DetId.h:18
const TrackerGeometry * m_tracker
const edm::EDGetTokenT< TrajTrackAssociationCollection > association_token_
void produce(edm::Event &, const edm::EventSetup &) override