Go to the documentation of this file. 1 #ifndef AlcaBeamSpotManager_H
2 #define AlcaBeamSpotManager_H
27 const std::map<edm::LuminosityBlockNumber_t, std::pair<edm::Timestamp, reco::BeamSpot>> &
getPayloads(
void) {
31 typedef std::map<edm::LuminosityBlockNumber_t, std::pair<edm::Timestamp, reco::BeamSpot>>::iterator
bsMap_iterator;
35 void weight(
double &
mean,
double &meanError,
const double &
val,
const double &valError);
36 std::pair<float, float>
delta(
const float &
x,
const float &xError,
const float &nextX,
const float &nextXError);
38 std::map<edm::LuminosityBlockNumber_t, std::pair<edm::Timestamp, reco::BeamSpot>>
beamSpotMap_;
float deltaSig(const float &num, const float &den)
AlcaBeamSpotManager(void)
std::string beamSpotOutputBase_
void createWeightedPayloads(void)
void readLumi(const edm::LuminosityBlock &)
reco::BeamSpot weight(const bsMap_iterator &begin, const bsMap_iterator &end)
edm::InputTag beamSpotTag_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
const std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > > & getPayloads(void)
virtual ~AlcaBeamSpotManager(void)
std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > >::iterator bsMap_iterator
std::string beamSpotModuleName_
std::pair< float, float > delta(const float &x, const float &xError, const float &nextX, const float &nextXError)
std::string beamSpotLabel_
std::map< edm::LuminosityBlockNumber_t, std::pair< edm::Timestamp, reco::BeamSpot > > beamSpotMap_