CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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&) {}
15  void endJob();
16 
17  private:
18 
19  void write_ensembles_text(const Book&);
20  void write_ensembles_plots(const Book&) const;
21  void write_samples_plots(const Book&) const;
22  void write_calibrations() const;
23 
24  const std::vector<std::string> inputFiles;
25  const std::string inFileLocation, Prefix;
26  const unsigned maxEvents,samples, nbins;
27  const double lowBin,highBin;
28  std::vector<int> vMethods;
29 
32  slopes(std::vector<float>(14,0)),
33  offsets(std::vector<float>(14,10)),
34  pulls(std::vector<float>(14,0)) {}
35  std::vector<float> slopes;
36  std::vector<float> offsets;
37  std::vector<float> pulls;
38  };
39  std::map<std::string,MethodCalibrations> calibrations;
40 
41 };
42 }
43 #endif
std::map< std::string, MethodCalibrations > calibrations
void write_ensembles_plots(const Book &) const
const std::vector< std::string > inputFiles
void analyze(const edm::Event &, const edm::EventSetup &)
void write_samples_plots(const Book &) const
EnsembleCalibrationLA(const edm::ParameterSet &)
Definition: Book.h:16