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  public:
12  void analyze(const edm::Event&, const edm::EventSetup&) override {}
13  void endRun(const edm::Run&, const edm::EventSetup&) override;
14  void endJob() override;
15 
16  private:
17  void write_ensembles_text(const Book&);
18  void write_ensembles_plots(const Book&) const;
19  void write_samples_plots(const Book&) const;
20  void write_calibrations() const;
21 
22  const std::vector<std::string> inputFiles;
24  const unsigned maxEvents, samples, nbins;
25  const double lowBin, highBin;
26  std::vector<int> vMethods;
27 
30  : slopes(std::vector<float>(14, 0)), offsets(std::vector<float>(14, 10)), pulls(std::vector<float>(14, 0)) {}
31  std::vector<float> slopes;
32  std::vector<float> offsets;
33  std::vector<float> pulls;
34  };
35  std::map<std::string, MethodCalibrations> calibrations;
36 
38  };
39 } // namespace sistrip
40 #endif
sistrip::EnsembleCalibrationLA::calibrations
std::map< std::string, MethodCalibrations > calibrations
Definition: EnsembleCalibrationLA.h:35
sistrip::EnsembleCalibrationLA::nbins
const unsigned nbins
Definition: EnsembleCalibrationLA.h:24
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
LA_Filler_Fitter.h
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
sistrip::EnsembleCalibrationLA::EnsembleCalibrationLA
EnsembleCalibrationLA(const edm::ParameterSet &)
Definition: EnsembleCalibrationLA.cc:13
EDAnalyzer.h
sistrip::EnsembleCalibrationLA::write_calibrations
void write_calibrations() const
Definition: EnsembleCalibrationLA.cc:106
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
sistrip::EnsembleCalibrationLA::write_ensembles_text
void write_ensembles_text(const Book &)
Definition: EnsembleCalibrationLA.cc:51
Book
Definition: Book.h:16
sistrip::EnsembleCalibrationLA::MethodCalibrations::offsets
std::vector< float > offsets
Definition: EnsembleCalibrationLA.h:32
sistrip::EnsembleCalibrationLA::maxEvents
const unsigned maxEvents
Definition: EnsembleCalibrationLA.h:24
sistrip::EnsembleCalibrationLA::write_ensembles_plots
void write_ensembles_plots(const Book &) const
Definition: EnsembleCalibrationLA.cc:90
sistrip::EnsembleCalibrationLA::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: EnsembleCalibrationLA.cc:45
sistrip::EnsembleCalibrationLA
Definition: EnsembleCalibrationLA.h:9
sistrip::EnsembleCalibrationLA::MethodCalibrations::pulls
std::vector< float > pulls
Definition: EnsembleCalibrationLA.h:33
sistrip::EnsembleCalibrationLA::endJob
void endJob() override
Definition: EnsembleCalibrationLA.cc:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
sistrip::EnsembleCalibrationLA::MethodCalibrations
Definition: EnsembleCalibrationLA.h:28
sistrip::EnsembleCalibrationLA::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EnsembleCalibrationLA.h:12
edm::ParameterSet
Definition: ParameterSet.h:36
sistrip::EnsembleCalibrationLA::vMethods
std::vector< int > vMethods
Definition: EnsembleCalibrationLA.h:26
sistrip::EnsembleCalibrationLA::write_samples_plots
void write_samples_plots(const Book &) const
Definition: EnsembleCalibrationLA.cc:99
sistrip::EnsembleCalibrationLA::MethodCalibrations::MethodCalibrations
MethodCalibrations()
Definition: EnsembleCalibrationLA.h:29
edm::EventSetup
Definition: EventSetup.h:57
sistrip::EnsembleCalibrationLA::Prefix
const std::string Prefix
Definition: EnsembleCalibrationLA.h:23
std
Definition: JetResolutionObject.h:76
Frameworkfwd.h
sistrip::EnsembleCalibrationLA::lowBin
const double lowBin
Definition: EnsembleCalibrationLA.h:25
sistrip::EnsembleCalibrationLA::highBin
const double highBin
Definition: EnsembleCalibrationLA.h:25
sistrip::EnsembleCalibrationLA::inFileLocation
const std::string inFileLocation
Definition: EnsembleCalibrationLA.h:23
sistrip::EnsembleCalibrationLA::inputFiles
const std::vector< std::string > inputFiles
Definition: EnsembleCalibrationLA.h:22
sistrip
sistrip classes
Definition: SiStripQualityHelpers.h:14
sistrip::EnsembleCalibrationLA::MethodCalibrations::slopes
std::vector< float > slopes
Definition: EnsembleCalibrationLA.h:31
edm::Event
Definition: Event.h:73
sistrip::EnsembleCalibrationLA::samples
const unsigned samples
Definition: EnsembleCalibrationLA.h:24
sistrip::EnsembleCalibrationLA::tTopo_
const TrackerTopology * tTopo_
Definition: EnsembleCalibrationLA.h:37