#include <BeamSpotAnalyzer.h>
Public Member Functions | |
BeamSpotAnalyzer (const edm::ParameterSet &) | |
~BeamSpotAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | countEvt_ |
int | countLumi_ |
int | endLumiOfBSFit_ |
int | fitNLumi_ |
int | ftmprun |
int | ftmprun0 |
int | ftotalevents |
double | inputBeamWidth_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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
version
Definition at line 27 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
version
Definition at line 28 of file BeamSpotAnalyzer.cc.
References beginLumiOfBSFit_, 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 50 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 44 of file BeamSpotAnalyzer.h.
|
private |
Definition at line 45 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 51 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 42 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 49 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 49 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 41 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 57 of file BeamSpotAnalyzer.h.
|
private |
Definition at line 46 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().
|
private |
Definition at line 47 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 48 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and beginLuminosityBlock().
|
private |
Definition at line 52 of file BeamSpotAnalyzer.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 43 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 56 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 55 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().
|
private |
Definition at line 59 of file BeamSpotAnalyzer.h.
Referenced by analyze(), BeamSpotAnalyzer(), endJob(), endLuminosityBlock(), and ~BeamSpotAnalyzer().
|
private |
Definition at line 54 of file BeamSpotAnalyzer.h.
Referenced by BeamSpotAnalyzer(), and endJob().