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 
53 
54 
55 #include <ext/hash_map>
56 
57 
59 public:
61 private:
64 
67 
68  void produce( edm::Event &, const edm::EventSetup & ) override;
69 // virtual void beginJob(EventSetup const&);
70 // virtual void beginRun(Run&, EventSetup const&);
71  bool IsFarFromBorder(TrajectoryStateOnSurface* trajState, const uint32_t detid, const edm::EventSetup* iSetup);
72  double thickness (DetId id);
73 
75  std::map<DetId,double> m_thicknessMap;
76 
77 /*
78  struct stAPVGain{int DetId; int APVId; double PreviousGain;};
79  class isEqual{
80  public:
81  template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
82  };
83  std::vector<stAPVGain*> APVsCollOrdered;
84  hash_map<unsigned int, stAPVGain*, hash<unsigned int>, isEqual > APVsColl;
85 */
86 };
87 #endif
88 
89 
90 
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