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