1 #ifndef AlcaBeamSpotManager_H
2 #define AlcaBeamSpotManager_H
32 typedef std::map<edm::LuminosityBlockNumber_t,reco::BeamSpot>::iterator
bsMap_iterator;
36 void weight (
double&
mean,
double& meanError,
const double& val,
const double& valError);
37 std::pair<float,float>
delta (
const float&
x,
const float& xError,
const float& nextX,
const float& nextXError);
39 std::map<edm::LuminosityBlockNumber_t,reco::BeamSpot>
beamSpotMap_;
std::string beamSpotOutputBase_
AlcaBeamSpotManager(void)
std::map< edm::LuminosityBlockNumber_t, reco::BeamSpot >::iterator bsMap_iterator
std::string beamSpotModuleName_
const std::map< edm::LuminosityBlockNumber_t, reco::BeamSpot > & getPayloads(void)
reco::BeamSpot weight(const bsMap_iterator &begin, const bsMap_iterator &end)
virtual ~AlcaBeamSpotManager(void)
void createWeightedPayloads(void)
void readLumi(const edm::LuminosityBlock &)
std::string beamSpotLabel_
std::pair< float, float > delta(const float &x, const float &xError, const float &nextX, const float &nextXError)
std::map< edm::LuminosityBlockNumber_t, reco::BeamSpot > beamSpotMap_
float deltaSig(const float &num, const float &den)