test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxEstimatorProducerPixelTripplet.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxEstimatorProducerPixelTripplet_H
2 #define TrackRecoDeDx_DeDxEstimatorProducerPixelTripplet_H
3 // user include files
6 
9 
11 
14 
19 
20 #include <ext/hash_map>
21 
25 
26 #include "TFile.h"
27 #include "TChain.h"
28 
29 
30 //
31 // class declaration
32 //
33 
35 
36 public:
37 
40 
41 private:
42  virtual void beginRun(edm::Run const& run, const edm::EventSetup&) override;
43  virtual void produce(edm::Event&, const edm::EventSetup&) override;
44  virtual void endJob() ;
45 
46  void MakeCalibrationMap();
47 
48 
49  // ----------member data ---------------------------
51 
54 
55  bool usePixel;
56  bool useStrip;
59 
60  unsigned int MaxNrStrips;
61  unsigned int MinTrackHits;
62 
65  bool shapetest;
66 
67  private :
68  struct stModInfo{int DetId; float Thickness; float Distance; float Normalization; double Gain; GlobalVector Normal;};
69 
70  class isEqual{
71  public:
72  template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
73  };
74 
75  __gnu_cxx::hash_map<unsigned int, stModInfo*, __gnu_cxx::hash<unsigned int>, isEqual > MODsColl;
76 };
77 
78 #endif
79 
__gnu_cxx::hash_map< unsigned int, stModInfo *, __gnu_cxx::hash< unsigned int >, isEqual > MODsColl
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
bool operator()(const T &PseudoDetId1, const T &PseudoDetId2)
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
virtual void produce(edm::Event &, const edm::EventSetup &) override
long double T
Definition: Run.h:41
virtual void beginRun(edm::Run const &run, const edm::EventSetup &) override