#include <AlcaBeamSpotManager.h>
Public Types | |
typedef std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, 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, 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 19 of file AlcaBeamSpotManager.cc.
AlcaBeamSpotManager::AlcaBeamSpotManager | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 22 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 61 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotOutputBase_, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthXError(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::BeamWidthYError(), delta(), deltaSig(), l1tTrackerHTMiss_cfi::deltaZ, reco::BeamSpot::dxdz(), reco::BeamSpot::dxdzError(), reco::BeamSpot::dydz(), reco::BeamSpot::dydzError(), align_cfg::iteration, remoteMonitoring_LASER_era2018_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 404 of file AlcaBeamSpotManager.cc.
References funct::pow(), mathSSE::sqrt(), and x.
Referenced by createWeightedPayloads().
|
private |
Definition at line 412 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 43 of file AlcaBeamSpotManager.cc.
References beamSpotMap_, beamSpotToken_, edm::LuminosityBlockBase::beginTime(), 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 41 of file AlcaBeamSpotManager.cc.
References beamSpotMap_.
Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::__next__(), AlcaBeamSpotManager(), AlcaBeamSpotHarvester::beginRun(), and MatrixReader.MatrixReader::showRaw().
|
private |
Definition at line 349 of file AlcaBeamSpotManager.cc.
References dxdz, dydz, mps_fire::end, relativeConstraints::error, reco::BeamSpot::setBeamWidthY(), BeamSpotPI::sigmaZ, globals_cff::sigmaZError, align::Tracker, reco::Unknown, ApeEstimator_cff::widthX, ApeEstimator_cff::widthY, x, y, z, and globals_cff::zError.
Referenced by createWeightedPayloads().
|
private |
Definition at line 390 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().