CMS 3D CMS Logo

DeDxDiscriminatorLearner.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxDiscriminatorLearner_H
2 #define TrackRecoDeDx_DeDxDiscriminatorLearner_H
3 
8 
11 
15 
17 
18 #include "TFile.h"
19 #include "TH3F.h"
20 
21 class DeDxDiscriminatorLearner : public ConditionDBWriter<PhysicsTools::Calibration::HistogramD3D> {
22 
23 public:
24 
27 
28 private:
29  virtual void algoBeginJob(const edm::EventSetup&) ;
30  virtual void algoAnalyze(const edm::Event&, const edm::EventSetup&);
31  virtual void algoEndJob();
32 
33  void processHit(const TrackingRecHit* recHit, float trackMomentum, float& cosine, const TrajectoryStateOnSurface& trajState);
34  void algoAnalyzeTheTree(const edm::EventSetup& iSetup);
35 
37 
38  // ----------member data ---------------------------
41 
44  float MinTrackEta;
45  float MaxTrackEta;
46  unsigned int MaxNrStrips;
47  unsigned int MinTrackHits;
49 
50  float P_Min;
51  float P_Max;
52  int P_NBins;
53  float Path_Min;
54  float Path_Max;
56  float Charge_Min;
57  float Charge_Max;
59 
60  std::vector<std::string> VInputFiles;
63 
65 
66 
69  bool shapetest;
70 
71  std::vector< std::vector<float> > calibGains;
72  unsigned int m_off;
73 
74 };
75 
76 #endif
77 
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 &)