#include <BeamSpotAnalyzer.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | endJob () override |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
Private Attributes | |
int | beginLumiOfBSFit_ |
int | countLumi_ |
int | endLumiOfBSFit_ |
int | fitNLumi_ |
int | ftmprun |
int | ftmprun0 |
int | ftotalevents |
int | Org_resetFitNLumi_ |
int | previousLumi_ |
int | previousRun_ |
std::time_t | refBStime [2] |
int | resetFitNLumi_ |
bool | runallfitters_ |
bool | runbeamwidthfit_ |
BeamFitter * | theBeamFitter |
bool | write2DB_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
class: BeamSpotAnalyzer.h package: RecoVertex/BeamSpotProducer
author: Francisco Yumiceva, Fermilab (yumic) eva@ fnal. gov
Definition at line 24 of file BeamSpotAnalyzer.h.
|
explicit |
class: BeamSpotAnalyzer.cc package: RecoVertex/BeamSpotProducer
author: Francisco Yumiceva, Fermilab (yumic) Geng-Yuan Jeng, UC Riverside ( eva@ fnal. govGeng-) Yuan .Jeng @cer n.ch
Definition at line 27 of file BeamSpotAnalyzer.cc.
References AlcaBeamMonitor_cfi::BeamFitter, beginLumiOfBSFit_, edm::EDConsumerBase::consumesCollector(), countLumi_, endLumiOfBSFit_, fitNLumi_, ftmprun, ftmprun0, ftotalevents, edm::ParameterSet::getParameter(), Org_resetFitNLumi_, previousLumi_, previousRun_, BeamFitter::resetCutFlow(), resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), runallfitters_, runbeamwidthfit_, theBeamFitter, and write2DB_.
|
override |
|
overrideprivate |
Definition at line 55 of file BeamSpotAnalyzer.cc.
References ftmprun, ftotalevents, edm::EventBase::id(), BeamFitter::readEvent(), edm::EventID::run(), and theBeamFitter.
|
overrideprivatevirtual |
|
overrideprivate |
Definition at line 64 of file BeamSpotAnalyzer.cc.
References beginLumiOfBSFit_, edm::LuminosityBlockBase::beginTime(), countLumi_, ftmprun, ftmprun0, edm::LuminosityBlockBase::luminosityBlock(), previousLumi_, previousRun_, refBStime, resetFitNLumi_, edm::LuminosityBlockBase::run(), and edm::Timestamp::value().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 149 of file BeamSpotAnalyzer.cc.
References countLumi_, gather_cfg::cout, DEFINE_FWK_MODULE, fitNLumi_, ftmprun, ftmprun0, ftotalevents, BeamFitter::getBeamSpot(), BeamFitter::getBeamWidth(), BeamFitter::getFitLSRange(), resetFitNLumi_, BeamFitter::runAllFitter(), runallfitters_, runbeamwidthfit_, BeamFitter::runBeamWidthFitter(), BeamFitter::runPVandTrkFitter(), theBeamFitter, BeamFitter::write2DB(), and write2DB_.
|
overrideprivate |
Definition at line 84 of file BeamSpotAnalyzer.cc.
References beginLumiOfBSFit_, countLumi_, gather_cfg::cout, endLumiOfBSFit_, edm::LuminosityBlockBase::endTime(), reco::BeamSpot::Fake, fitNLumi_, ftmprun, ftmprun0, BeamFitter::getBeamSpot(), BeamFitter::getBSvector(), BeamFitter::getFitLSRange(), BeamFitter::getNPVs(), BeamFitter::getNTracks(), edm::LuminosityBlockBase::luminosityBlock(), Org_resetFitNLumi_, previousLumi_, refBStime, BeamFitter::resetCutFlow(), resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), BeamFitter::runPVandTrkFitter(), BeamFitter::setFitLSRange(), BeamFitter::setRefTime(), BeamFitter::setRun(), reco::BeamSpot::setType(), theBeamFitter, and edm::Timestamp::value().
|
private |
Definition at line 45 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 40 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 46 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 37 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 44 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 44 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 36 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 41 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 42 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 43 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and beginLuminosityBlock().
|
private |
Definition at line 47 of file BeamSpotAnalyzer.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 38 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 51 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 50 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 54 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), endJob(), endLuminosityBlock(), and ~BeamSpotAnalyzer().
|
private |
Definition at line 49 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().