CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxDiscriminatorLearner.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxDiscriminatorLearner_H
2 #define TrackRecoDeDx_DeDxDiscriminatorLearner_H
3 
8 
11 
16 
18 
19 #include "TFile.h"
20 #include "TH3F.h"
21 
22 class DeDxDiscriminatorLearner : public ConditionDBWriter<PhysicsTools::Calibration::HistogramD3D> {
23 
24 public:
25 
28 
29 private:
30  virtual void algoBeginJob(const edm::EventSetup&) ;
31  virtual void algoAnalyze(const edm::Event&, const edm::EventSetup&);
32  virtual void algoEndJob();
33 
34  void processHit(const TrackingRecHit* recHit, float trackMomentum, float& cosine, const TrajectoryStateOnSurface& trajState);
35  void algoAnalyzeTheTree(const edm::EventSetup& iSetup);
36 
38 
39  // ----------member data ---------------------------
42 
45  float MinTrackEta;
46  float MaxTrackEta;
47  unsigned int MaxNrStrips;
48  unsigned int MinTrackHits;
50 
51  float P_Min;
52  float P_Max;
53  int P_NBins;
54  float Path_Min;
55  float Path_Max;
57  float Charge_Min;
58  float Charge_Max;
60 
61  std::vector<std::string> VInputFiles;
64 
66 
67 
70  bool shapetest;
71 
72  std::vector< std::vector<float> > calibGains;
73  unsigned int m_off;
74 
75 };
76 
77 #endif
78 
virtual void algoBeginJob(const edm::EventSetup &)
void algoAnalyzeTheTree(const edm::EventSetup &iSetup)
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, const TrajectoryStateOnSurface &trajState)
virtual void algoAnalyze(const edm::Event &, const edm::EventSetup &)
std::vector< std::string > VInputFiles
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
std::vector< std::vector< float > > calibGains
PhysicsTools::Calibration::HistogramD3D * getNewObject()
DeDxDiscriminatorLearner(const edm::ParameterSet &)