#include <AlcaBeamSpotManager.h>
Public Types | |
typedef std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > >::iterator | bsMap_iterator |
Public Member Functions | |
AlcaBeamSpotManager (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
AlcaBeamSpotManager (void) | |
void | createWeightedPayloads (void) |
const std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > > & | getPayloads (void) |
void | readLumi (const edm::LuminosityBlock &) |
void | reset (void) |
virtual | ~AlcaBeamSpotManager (void) |
Private Member Functions | |
std::pair< float, float > | delta (const float &x, const float &xError, const float &nextX, const float &nextXError) |
float | deltaSig (const float &num, const float &den) |
reco::BeamSpot | weight (const bsMap_iterator &begin, const bsMap_iterator &end) |
void | weight (double &mean, double &meanError, const double &val, const double &valError) |
Private Attributes | |
std::string | beamSpotLabel_ |
std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > > | beamSpotMap_ |
std::string | beamSpotModuleName_ |
std::string | beamSpotOutputBase_ |
edm::InputTag | beamSpotTag_ |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
double | sigmaZCut_ |
No description available.
Definition at line 18 of file AlcaBeamSpotManager.h.
typedef std::map<edm::LuminosityBlockNumber_t, std::pair<edm::Timestamp, reco::BeamSpot> >::iterator AlcaBeamSpotManager::bsMap_iterator |
Definition at line 31 of file AlcaBeamSpotManager.h.
AlcaBeamSpotManager::AlcaBeamSpotManager | ( | void | ) |
Definition at line 20 of file AlcaBeamSpotManager.cc.
AlcaBeamSpotManager::AlcaBeamSpotManager | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 23 of file AlcaBeamSpotManager.cc.
References align::BeamSpot, beamSpotLabel_, beamSpotModuleName_, beamSpotOutputBase_, beamSpotTag_, beamSpotToken_, edm::InLumi, and reset().
|
virtual |
Definition at line 39 of file AlcaBeamSpotManager.cc.
void AlcaBeamSpotManager::createWeightedPayloads | ( | void | ) |
Definition at line 62 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotOutputBase_, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthXError(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::BeamWidthYError(), delta(), deltaSig(), reco::BeamSpot::dxdz(), reco::BeamSpot::dxdzError(), reco::BeamSpot::dydz(), reco::BeamSpot::dydzError(), align_cfg::iteration, remoteMonitoring_LED_IterMethod_cfg::limit, reco::BeamSpot::sigmaZ(), reco::BeamSpot::sigmaZ0Error(), sigmaZCut_, ntuplemaker::tmprun, align::Tracker, funct::true, reco::Unknown, weight(), reco::BeamSpot::x0(), reco::BeamSpot::x0Error(), reco::BeamSpot::y0(), reco::BeamSpot::y0Error(), reco::BeamSpot::z0(), and reco::BeamSpot::z0Error().
Referenced by AlcaBeamSpotHarvester::endRun().
|
private |
Definition at line 405 of file AlcaBeamSpotManager.cc.
References funct::pow(), mathSSE::sqrt(), and x.
Referenced by createWeightedPayloads().
|
private |
Definition at line 413 of file AlcaBeamSpotManager.cc.
References dqmMemoryStats::float, and EgammaValidation_cff::num.
Referenced by createWeightedPayloads().
|
inline |
Definition at line 27 of file AlcaBeamSpotManager.h.
References beamSpotMap_.
Referenced by AlcaBeamSpotHarvester::endRun().
void AlcaBeamSpotManager::readLumi | ( | const edm::LuminosityBlock & | iLumi | ) |
Definition at line 44 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotToken_, es_hardcode_cfi::iLumi, edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by AlcaBeamSpotHarvester::endLuminosityBlock().
void AlcaBeamSpotManager::reset | ( | void | ) |
Definition at line 42 of file AlcaBeamSpotManager.cc.
References beamSpotMap_.
Referenced by MatrixReader.MatrixReader::__init__(), AlcaBeamSpotManager(), AlcaBeamSpotHarvester::beginRun(), data_sources.json_list::next(), and MatrixReader.MatrixReader::showRaw().
|
private |
Definition at line 350 of file AlcaBeamSpotManager.cc.
References begin, BeamSpotFakeParameters_cfi::dxdz, BeamSpotFakeParameters_cfi::dydz, end, relativeConstraints::error, reco::BeamSpot::setBeamWidthY(), fftjetvertexadder_cfi::sigmaZ, align::Tracker, reco::Unknown, ApeEstimator_cff::widthX, ApeEstimator_cff::widthY, x, y, and z.
Referenced by createWeightedPayloads().
|
private |
Definition at line 391 of file AlcaBeamSpotManager.cc.
References MillePedeFileConverter_cfg::e, SiStripPI::mean, mathSSE::sqrt(), and heppy_batch::val.
|
private |
Definition at line 42 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager().
|
private |
Definition at line 38 of file AlcaBeamSpotManager.h.
Referenced by createWeightedPayloads(), getPayloads(), readLumi(), and reset().
|
private |
Definition at line 41 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager().
|
private |
Definition at line 40 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager(), and createWeightedPayloads().
|
private |
Definition at line 44 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager().
|
private |
Definition at line 45 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager(), and readLumi().
|
private |
Definition at line 43 of file AlcaBeamSpotManager.h.
Referenced by createWeightedPayloads().