#include <PVFitter.h>
Public Member Functions | |
void | compressStore () |
reduce size of primary vertex cache by increasing quality limit More... | |
void | dumpTxtFile () |
void | FitPerBunchCrossing () |
reco::BeamSpot | getBeamSpot () |
std::map< int, reco::BeamSpot > | getBeamSpotMap () |
int * | getFitLSRange () |
int | getNPVs () |
const std::map< int, int > & | getNPVsperBX () |
std::vector< BeamSpotFitPVData > | getpvStore () |
time_t * | getRefTime () |
double | getWidthX () |
double | getWidthXerr () |
double | getWidthY () |
double | getWidthYerr () |
double | getWidthZ () |
double | getWidthZerr () |
bool | IsFitPerBunchCrossing () |
PVFitter () | |
PVFitter (const edm::ParameterSet &iConfig) | |
double | pvQuality (const reco::Vertex &pv) const |
vertex quality measure More... | |
double | pvQuality (const BeamSpotFitPVData &pv) const |
vertex quality measure More... | |
void | readEvent (const edm::Event &iEvent) |
void | resetAll () |
void | resetLSRange () |
void | resetRefTime () |
void | resizepvStore (unsigned int rmSize) |
bool | runBXFitter () |
bool | runFitter () |
void | setFitLSRange (int ls0, int ls1) |
void | setRefTime (std::time_t t0, std::time_t t1) |
void | setTree (TTree *tree) |
virtual | ~PVFitter () |
Definition at line 39 of file PVFitter.h.
|
inline |
Definition at line 41 of file PVFitter.h.
PVFitter::PVFitter | ( | const edm::ParameterSet & | iConfig | ) |
class: PVFitter.cc package: RecoVertex/BeamSpotProducer
author: Francisco Yumiceva, Fermilab (yumic) Geng-Yuan Jeng, UC Riverside ( eva@ fnal. govGeng-) Yuan .Jeng @cer n.ch
version
Definition at line 50 of file PVFitter.cc.
References debug_, do3DFit_, dynamicQualityCut_, errorScale_, fFitPerBunchCrossing, edm::ParameterSet::getParameter(), hPVx, hPVy, maxNrVertices_, maxVtxNormChi2_, maxVtxR_, maxVtxZ_, minNrVertices_, minVtxNdf_, minVtxTracks_, minVtxWgt_, sigmaCut_, and vertexLabel_.
|
virtual |
Definition at line 78 of file PVFitter.cc.
void PVFitter::compressStore | ( | ) |
reduce size of primary vertex cache by increasing quality limit
Definition at line 522 of file PVFitter.cc.
References dynamicQualityCut_, i, pvQualities_, pvQuality(), pvStore_, and python.multivaluedict::sort().
Referenced by readEvent().
void PVFitter::dumpTxtFile | ( | ) |
Definition at line 479 of file PVFitter.cc.
|
inline |
|
inline |
Definition at line 85 of file PVFitter.h.
References fbeamspot.
Referenced by AlcaBeamMonitor::endLuminosityBlock(), and BeamFitter::runPVandTrkFitter().
|
inline |
Definition at line 86 of file PVFitter.h.
References fbspotMap.
Referenced by BeamFitter::runPVandTrkFitter().
|
inline |
|
inline |
Definition at line 114 of file PVFitter.h.
References pvStore_.
Referenced by BeamFitter::getNPVs().
|
inline |
Definition at line 116 of file PVFitter.h.
References bxMap_, python.multivaluedict::map(), npvsmap_, and findQualityFiles::size.
Referenced by BeamFitter::getNPVsperBX().
|
inline |
Definition at line 55 of file PVFitter.h.
References pvStore_.
Referenced by BeamFitter::getPVvectorSize().
|
inline |
|
inline |
|
inline |
Definition at line 51 of file PVFitter.h.
References fwidthXerr.
Referenced by BeamFitter::runPVandTrkFitter().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 87 of file PVFitter.h.
References fFitPerBunchCrossing.
Referenced by BeamFitter::dumpTxtFile(), and BeamFitter::runPVandTrkFitter().
double PVFitter::pvQuality | ( | const reco::Vertex & | pv | ) | const |
vertex quality measure
Definition at line 554 of file PVFitter.cc.
References reco::Vertex::covariance().
Referenced by compressStore(), and readEvent().
double PVFitter::pvQuality | ( | const BeamSpotFitPVData & | pv | ) | const |
vertex quality measure
Definition at line 565 of file PVFitter.cc.
References BeamSpotFitPVData::posCorr, and BeamSpotFitPVData::posError.
void PVFitter::readEvent | ( | const edm::Event & | iEvent | ) |
Definition at line 83 of file PVFitter.cc.
References BeamSpotFitPVData::bunchCrossing, BeamSpotTreeData::bunchCrossing(), edm::EventBase::bunchCrossing(), bxMap_, compressStore(), dynamicQualityCut_, fFitPerBunchCrossing, ftree_, edm::Event::getByLabel(), hPVx, hPVy, edm::EventBase::id(), BeamSpotTreeData::lumi(), edm::EventBase::luminosityBlock(), maxNrVertices_, minVtxNdf_, minVtxWgt_, BeamSpotFitPVData::posCorr, BeamSpotFitPVData::posError, BeamSpotFitPVData::position, edm::Handle< T >::product(), BeamSpotTreeData::pvData(), pvQuality(), pvStore_, BeamSpotTreeData::run(), edm::EventID::run(), theBeamSpotTreeData_, and vertexLabel_.
Referenced by AlcaBeamMonitor::analyze(), and BeamFitter::readEvent().
|
inline |
Definition at line 74 of file PVFitter.h.
References align::BeamSpot, bxMap_, dynamicQualityCut_, fbeamspot, fbspotMap, hPVx, hPVy, pvStore_, resetLSRange(), and resetRefTime().
Referenced by BeamFitter::BeamFitter(), AlcaBeamMonitor::endLuminosityBlock(), and BeamFitter::resetPVFitter().
|
inline |
Definition at line 60 of file PVFitter.h.
References fbeginLumiOfFit, and fendLumiOfFit.
Referenced by resetAll().
|
inline |
|
inline |
Definition at line 103 of file PVFitter.h.
References pvStore_.
Referenced by BeamFitter::resizePVvector().
bool PVFitter::runBXFitter | ( | ) |
Definition at line 193 of file PVFitter.cc.
References align::BeamSpot, bxMap_, errorScale_, fbeamspot, fbspotMap, fcn(), fwidthX, fwidthXerr, fwidthY, fwidthYerr, fwidthZ, fwidthZerr, python.multivaluedict::map(), minNrVertices_, funct::pow(), reco::BeamSpot::setBeamWidthX(), reco::BeamSpot::setBeamWidthY(), FcnBeamSpotFitPV::setLimits(), reco::BeamSpot::setType(), sigmaCut_, findQualityFiles::size, and reco::BeamSpot::Tracker.
Referenced by BeamFitter::runPVandTrkFitter().
bool PVFitter::runFitter | ( | ) |
Definition at line 327 of file PVFitter.cc.
References align::BeamSpot, do3DFit_, errorScale_, fbeamspot, fcn(), fwidthX, fwidthXerr, fwidthY, fwidthYerr, fwidthZ, fwidthZerr, hPVx, hPVy, edm::detail::isnan(), minNrVertices_, funct::pow(), pvStore_, reco::BeamSpot::setBeamWidthX(), reco::BeamSpot::setBeamWidthY(), FcnBeamSpotFitPV::setLimits(), reco::BeamSpot::setType(), sigmaCut_, and reco::BeamSpot::Tracker.
Referenced by AlcaBeamMonitor::endLuminosityBlock(), and BeamFitter::runPVandTrkFitter().
|
inline |
|
inline |
void PVFitter::setTree | ( | TTree * | tree | ) |
Definition at line 188 of file PVFitter.cc.
References BeamSpotTreeData::branch(), ftree_, theBeamSpotTreeData_, and diffTreeTool::tree.
Referenced by BeamFitter::BeamFitter().
|
private |
Definition at line 197 of file PVFitter.h.
Referenced by getNPVsperBX(), readEvent(), resetAll(), and runBXFitter().
|
private |
Definition at line 139 of file PVFitter.h.
Referenced by PVFitter().
|
private |
Definition at line 140 of file PVFitter.h.
Referenced by PVFitter(), and runFitter().
|
private |
Definition at line 198 of file PVFitter.h.
Referenced by compressStore(), PVFitter(), readEvent(), and resetAll().
|
private |
Definition at line 153 of file PVFitter.h.
Referenced by PVFitter(), runBXFitter(), and runFitter().
|
private |
Definition at line 137 of file PVFitter.h.
|
private |
Definition at line 133 of file PVFitter.h.
Referenced by getBeamSpot(), resetAll(), runBXFitter(), and runFitter().
|
private |
Definition at line 172 of file PVFitter.h.
Referenced by getFitLSRange(), resetLSRange(), and setFitLSRange().
|
private |
Definition at line 174 of file PVFitter.h.
|
private |
Definition at line 134 of file PVFitter.h.
Referenced by getBeamSpotMap(), resetAll(), and runBXFitter().
|
private |
Definition at line 187 of file PVFitter.h.
|
private |
Definition at line 193 of file PVFitter.h.
|
private |
Definition at line 188 of file PVFitter.h.
|
private |
Definition at line 194 of file PVFitter.h.
|
private |
Definition at line 173 of file PVFitter.h.
Referenced by getFitLSRange(), resetLSRange(), and setFitLSRange().
|
private |
Definition at line 175 of file PVFitter.h.
|
private |
Definition at line 135 of file PVFitter.h.
Referenced by FitPerBunchCrossing(), IsFitPerBunchCrossing(), PVFitter(), and readEvent().
|
private |
Definition at line 157 of file PVFitter.h.
|
private |
Definition at line 158 of file PVFitter.h.
Referenced by getRefTime(), resetRefTime(), and setRefTime().
|
private |
Definition at line 156 of file PVFitter.h.
|
private |
Definition at line 171 of file PVFitter.h.
|
private |
Definition at line 186 of file PVFitter.h.
|
private |
Definition at line 192 of file PVFitter.h.
|
private |
Definition at line 162 of file PVFitter.h.
Referenced by readEvent(), and setTree().
|
private |
Definition at line 176 of file PVFitter.h.
Referenced by getWidthX(), runBXFitter(), and runFitter().
|
private |
Definition at line 179 of file PVFitter.h.
Referenced by getWidthXerr(), runBXFitter(), and runFitter().
|
private |
Definition at line 177 of file PVFitter.h.
Referenced by getWidthY(), runBXFitter(), and runFitter().
|
private |
Definition at line 180 of file PVFitter.h.
Referenced by getWidthYerr(), runBXFitter(), and runFitter().
|
private |
Definition at line 178 of file PVFitter.h.
Referenced by getWidthZ(), runBXFitter(), and runFitter().
|
private |
Definition at line 181 of file PVFitter.h.
Referenced by getWidthZerr(), runBXFitter(), and runFitter().
|
private |
Definition at line 183 of file PVFitter.h.
|
private |
Definition at line 189 of file PVFitter.h.
|
private |
Definition at line 184 of file PVFitter.h.
|
private |
Definition at line 190 of file PVFitter.h.
|
private |
Definition at line 185 of file PVFitter.h.
|
private |
Definition at line 191 of file PVFitter.h.
|
private |
Definition at line 160 of file PVFitter.h.
Referenced by PVFitter(), readEvent(), resetAll(), and runFitter().
|
private |
Definition at line 160 of file PVFitter.h.
Referenced by PVFitter(), readEvent(), resetAll(), and runFitter().
|
private |
Definition at line 145 of file PVFitter.h.
Referenced by PVFitter(), and readEvent().
|
private |
Definition at line 148 of file PVFitter.h.
Referenced by PVFitter().
|
private |
Definition at line 151 of file PVFitter.h.
Referenced by PVFitter().
|
private |
Definition at line 152 of file PVFitter.h.
Referenced by PVFitter().
|
private |
Definition at line 146 of file PVFitter.h.
Referenced by PVFitter(), runBXFitter(), and runFitter().
|
private |
Definition at line 147 of file PVFitter.h.
Referenced by PVFitter(), and readEvent().
|
private |
Definition at line 149 of file PVFitter.h.
Referenced by PVFitter().
|
private |
Definition at line 150 of file PVFitter.h.
Referenced by PVFitter(), and readEvent().
|
private |
Definition at line 132 of file PVFitter.h.
Referenced by getNPVsperBX().
|
private |
Definition at line 143 of file PVFitter.h.
|
private |
Definition at line 199 of file PVFitter.h.
Referenced by compressStore().
|
private |
Definition at line 196 of file PVFitter.h.
Referenced by compressStore(), getNPVs(), getpvStore(), readEvent(), resetAll(), resizepvStore(), and runFitter().
|
private |
Definition at line 154 of file PVFitter.h.
Referenced by PVFitter(), runBXFitter(), and runFitter().
|
private |
Definition at line 201 of file PVFitter.h.
Referenced by readEvent(), and setTree().
|
private |
Definition at line 141 of file PVFitter.h.
Referenced by PVFitter(), and readEvent().
|
private |
Definition at line 142 of file PVFitter.h.