CMS 3D CMS Logo

EnsembleCalibrationLA.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripLorentzAngle_EnsembleCalibrationLA_h
2 #define CalibTracker_SiStripLorentzAngle_EnsembleCalibrationLA_h
3 
7 
8 namespace sistrip {
10 
11  public:
12 
14  void analyze(const edm::Event&, const edm::EventSetup&) override {}
15  void endRun(const edm::Run&, const edm::EventSetup&) override;
16  void endJob() override;
17 
18  private:
19 
20  void write_ensembles_text(const Book&);
21  void write_ensembles_plots(const Book&) const;
22  void write_samples_plots(const Book&) const;
23  void write_calibrations() const;
24 
25  const std::vector<std::string> inputFiles;
27  const unsigned maxEvents,samples, nbins;
28  const double lowBin,highBin;
29  std::vector<int> vMethods;
30 
33  slopes(std::vector<float>(14,0)),
34  offsets(std::vector<float>(14,10)),
35  pulls(std::vector<float>(14,0)) {}
36  std::vector<float> slopes;
37  std::vector<float> offsets;
38  std::vector<float> pulls;
39  };
40  std::map<std::string,MethodCalibrations> calibrations;
41 
43 };
44 }
45 #endif
std::map< std::string, MethodCalibrations > calibrations
void write_ensembles_plots(const Book &) const
void analyze(const edm::Event &, const edm::EventSetup &) override
sistrip classes
const std::vector< std::string > inputFiles
void write_samples_plots(const Book &) const
EnsembleCalibrationLA(const edm::ParameterSet &)
Definition: Book.h:16
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:45