#include <AlcaBeamSpotManager.h>
Public Types | |
typedef std::map < edm::LuminosityBlockNumber_t, reco::BeamSpot >::iterator | bsMap_iterator |
Public Member Functions | |
AlcaBeamSpotManager (void) | |
AlcaBeamSpotManager (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
void | createWeightedPayloads (void) |
const std::map < edm::LuminosityBlockNumber_t, 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, reco::BeamSpot > | beamSpotMap_ |
std::string | beamSpotModuleName_ |
std::string | beamSpotOutputBase_ |
edm::InputTag | beamSpotTag_ |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
No description available.
Definition at line 20 of file AlcaBeamSpotManager.h.
typedef std::map<edm::LuminosityBlockNumber_t,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 24 of file AlcaBeamSpotManager.cc.
References align::BeamSpot, beamSpotLabel_, beamSpotModuleName_, beamSpotOutputBase_, beamSpotTag_, beamSpotToken_, edm::InLumi, and reset().
|
virtual |
Definition at line 38 of file AlcaBeamSpotManager.cc.
void AlcaBeamSpotManager::createWeightedPayloads | ( | void | ) |
Definition at line 70 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotOutputBase_, delta(), deltaSig(), align_cfg::iteration, MessageLogger_cff::limit, ntuplemaker::tmprun, align::Tracker, Unknown, and weight().
Referenced by AlcaBeamSpotHarvester::endRun().
|
private |
Definition at line 396 of file AlcaBeamSpotManager.cc.
References funct::pow(), and mathSSE::sqrt().
Referenced by createWeightedPayloads().
|
private |
|
inline |
Definition at line 29 of file AlcaBeamSpotManager.h.
References beamSpotMap_.
Referenced by AlcaBeamSpotHarvester::endRun().
void AlcaBeamSpotManager::readLumi | ( | const edm::LuminosityBlock & | iLumi | ) |
Definition at line 46 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotToken_, edm::LuminosityBlock::getByToken(), edm::HandleBase::isValid(), edm::LuminosityBlockBase::luminosityBlock(), 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(), and MatrixReader.MatrixReader::showRaw().
|
private |
Definition at line 333 of file AlcaBeamSpotManager.cc.
References end, relativeConstraints::error, reco::BeamSpot::setBeamWidthY(), align::Tracker, Unknown, x, y, and z.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and createWeightedPayloads().
|
private |
Definition at line 381 of file AlcaBeamSpotManager.cc.
References alignCSCRings::e, and mathSSE::sqrt().
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
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().