#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 &) | |
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_ |
No description available.
No description available.
Definition at line 21 of file AlcaBeamSpotManager.h.
typedef std::map<edm::LuminosityBlockNumber_t,reco::BeamSpot>::iterator AlcaBeamSpotManager::bsMap_iterator |
Definition at line 32 of file AlcaBeamSpotManager.h.
AlcaBeamSpotManager::AlcaBeamSpotManager | ( | void | ) |
Definition at line 22 of file AlcaBeamSpotManager.cc.
AlcaBeamSpotManager::AlcaBeamSpotManager | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 26 of file AlcaBeamSpotManager.cc.
References beamSpotOutputBase_, and reset().
|
virtual |
Definition at line 38 of file AlcaBeamSpotManager.cc.
void AlcaBeamSpotManager::createWeightedPayloads | ( | void | ) |
Definition at line 71 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 30 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 beamSpotLabel_, beamSpotMap_, beamSpotModuleName_, edm::LuminosityBlock::getByLabel(), 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__(), BeautifulSoup.BeautifulStoneSoup::__init__(), AlcaBeamSpotManager(), AlcaBeamSpotHarvester::beginRun(), and MatrixReader.MatrixReader::showRaw().
|
private |
Definition at line 333 of file AlcaBeamSpotManager.cc.
References end, error, reco::BeamSpot::setBeamWidthY(), align::Tracker, Unknown, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by createWeightedPayloads().
|
private |
Definition at line 381 of file AlcaBeamSpotManager.cc.
References alignCSCRings::e, and mathSSE::sqrt().
|
private |
Definition at line 43 of file AlcaBeamSpotManager.h.
Referenced by readLumi().
|
private |
Definition at line 39 of file AlcaBeamSpotManager.h.
Referenced by createWeightedPayloads(), getPayloads(), readLumi(), and reset().
|
private |
Definition at line 42 of file AlcaBeamSpotManager.h.
Referenced by readLumi().
|
private |
Definition at line 41 of file AlcaBeamSpotManager.h.
Referenced by AlcaBeamSpotManager(), and createWeightedPayloads().