#include <BeamSpotAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
virtual void | endJob () |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
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 |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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 26 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 28 of file BeamSpotAnalyzer.cc.
References beam_dqm_sourceclient-live_cfg::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_.
BeamSpotAnalyzer::~BeamSpotAnalyzer | ( | ) |
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 60 of file BeamSpotAnalyzer.cc.
References ftmprun, ftotalevents, edm::EventBase::id(), BeamFitter::readEvent(), edm::EventID::run(), and theBeamFitter.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 77 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().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 170 of file BeamSpotAnalyzer.cc.
References countLumi_, gather_cfg::cout, fitNLumi_, ftmprun, ftmprun0, ftotalevents, BeamFitter::getBeamSpot(), BeamFitter::getBeamWidth(), BeamFitter::getFitLSRange(), resetFitNLumi_, BeamFitter::runAllFitter(), runallfitters_, runbeamwidthfit_, BeamFitter::runBeamWidthFitter(), BeamFitter::runPVandTrkFitter(), theBeamFitter, BeamFitter::write2DB(), and write2DB_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 100 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 49 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 44 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 50 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 41 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 48 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 48 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 40 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 45 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 46 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 47 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and beginLuminosityBlock().
|
private |
Definition at line 51 of file BeamSpotAnalyzer.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 42 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 55 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 54 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 58 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), endJob(), endLuminosityBlock(), and ~BeamSpotAnalyzer().
|
private |
Definition at line 53 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().