CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
BeamSpotAnalyzer Class Reference
Inheritance diagram for BeamSpotAnalyzer:
edm::one::EDAnalyzer< edm::one::WatchLuminosityBlocks > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 BeamSpotAnalyzer (const edm::ParameterSet &)
 
 ~BeamSpotAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchLuminosityBlocks >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex >
const & 
esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) 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_
 
BeamFittertheBeamFitter
 
bool write2DB_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description


class: BeamSpotAnalyzer.cc package: RecoVertex/BeamSpotProducer

author: Francisco Yumiceva, Fermilab (yumic.nosp@m.eva@.nosp@m.fnal..nosp@m.gov) Geng-Yuan Jeng, UC Riverside (Geng-.nosp@m.Yuan.nosp@m..Jeng.nosp@m.@cer.nosp@m.n.ch)


Definition at line 27 of file BeamSpotAnalyzer.cc.

Constructor & Destructor Documentation

BeamSpotAnalyzer::BeamSpotAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 58 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_.

58  {
59  // get parameter
60  write2DB_ = iConfig.getParameter<edm::ParameterSet>("BSAnalyzerParameters").getParameter<bool>("WriteToDB");
61  runallfitters_ = iConfig.getParameter<edm::ParameterSet>("BSAnalyzerParameters").getParameter<bool>("RunAllFitters");
62  fitNLumi_ =
63  iConfig.getParameter<edm::ParameterSet>("BSAnalyzerParameters").getUntrackedParameter<int>("fitEveryNLumi", -1);
65  iConfig.getParameter<edm::ParameterSet>("BSAnalyzerParameters").getUntrackedParameter<int>("resetEveryNLumi", -1);
67  iConfig.getParameter<edm::ParameterSet>("BSAnalyzerParameters").getParameter<bool>("RunBeamWidthFit");
68 
69  theBeamFitter = new BeamFitter(iConfig, consumesCollector());
75 
76  ftotalevents = 0;
77  ftmprun0 = ftmprun = -1;
78  countLumi_ = 0;
82 }
void resetTrkVector()
Definition: BeamFitter.h:58
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void resetLSRange()
Definition: BeamFitter.h:60
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
BeamFitter * theBeamFitter
void resetPVFitter()
Definition: BeamFitter.h:72
void resetCutFlow()
Definition: BeamFitter.h:104
void resetRefTime()
Definition: BeamFitter.h:61
BeamSpotAnalyzer::~BeamSpotAnalyzer ( )
override

Definition at line 84 of file BeamSpotAnalyzer.cc.

References theBeamFitter.

84 { delete theBeamFitter; }
BeamFitter * theBeamFitter

Member Function Documentation

void BeamSpotAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 86 of file BeamSpotAnalyzer.cc.

References ftmprun, ftotalevents, edm::EventBase::id(), BeamFitter::readEvent(), edm::EventID::run(), and theBeamFitter.

86  {
87  ftotalevents++;
88  theBeamFitter->readEvent(iEvent);
89  ftmprun = iEvent.id().run();
90 }
RunNumber_t run() const
Definition: EventID.h:38
void readEvent(const edm::Event &iEvent)
Definition: BeamFitter.cc:261
BeamFitter * theBeamFitter
edm::EventID id() const
Definition: EventBase.h:59
void BeamSpotAnalyzer::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
overrideprivate

Definition at line 93 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().

93  {
94  const edm::TimeValue_t fbegintimestamp = lumiSeg.beginTime().value();
95  const std::time_t ftmptime = fbegintimestamp >> 32;
96 
97  if (countLumi_ == 0 || (resetFitNLumi_ > 0 && countLumi_ % resetFitNLumi_ == 0)) {
98  ftmprun0 = lumiSeg.run();
99  ftmprun = ftmprun0;
101  refBStime[0] = ftmptime;
102  }
103 
104  countLumi_++;
105  if (ftmprun == previousRun_) {
106  if ((previousLumi_ + 1) != int(lumiSeg.luminosityBlock()))
107  edm::LogWarning("BeamSpotAnalyzer") << "LUMI SECTIONS ARE NOT SORTED!";
108  }
109 }
Timestamp const & beginTime() const
LuminosityBlockNumber_t luminosityBlock() const
std::time_t refBStime[2]
RunNumber_t run() const
unsigned long long TimeValue_t
Definition: Timestamp.h:28
Log< level::Warning, false > LogWarning
TimeValue_t value() const
Definition: Timestamp.h:45
void BeamSpotAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 175 of file BeamSpotAnalyzer.cc.

References countLumi_, fitNLumi_, ftmprun, ftmprun0, ftotalevents, BeamFitter::getBeamSpot(), BeamFitter::getBeamWidth(), BeamFitter::getFitLSRange(), resetFitNLumi_, BeamFitter::runAllFitter(), runallfitters_, runbeamwidthfit_, BeamFitter::runBeamWidthFitter(), BeamFitter::runPVandTrkFitter(), theBeamFitter, BeamFitter::write2DB(), and write2DB_.

175  {
176  edm::LogPrint("BeamSpotAnalyzer") << "\n-------------------------------------\n";
177  edm::LogPrint("BeamSpotAnalyzer") << "\n Total number of events processed: " << ftotalevents;
178  edm::LogPrint("BeamSpotAnalyzer") << "\n-------------------------------------\n\n";
179 
180  if (fitNLumi_ == -1 && resetFitNLumi_ == -1) {
182  reco::BeamSpot beam_default = theBeamFitter->getBeamSpot();
183  std::pair<int, int> LSRange = theBeamFitter->getFitLSRange();
184 
185  edm::LogPrint("BeamSpotAnalyzer") << "\n RESULTS OF DEFAULT FIT:";
186  edm::LogPrint("BeamSpotAnalyzer") << " for runs: " << ftmprun0 << " - " << ftmprun;
187  edm::LogPrint("BeamSpotAnalyzer") << " for lumi blocks : " << LSRange.first << " - " << LSRange.second;
188  edm::LogPrint("BeamSpotAnalyzer") << " lumi counter # " << countLumi_;
189  edm::LogPrint("BeamSpotAnalyzer") << beam_default;
190 
191  if (write2DB_) {
192  edm::LogPrint("BeamSpotAnalyzer") << "\n-------------------------------------\n\n";
193  edm::LogPrint("BeamSpotAnalyzer") << " write results to DB...";
195  }
196 
197  if (runallfitters_) {
199  }
200  }
201  if ((runbeamwidthfit_)) {
203  reco::BeamSpot beam_width = theBeamFitter->getBeamWidth();
204  edm::LogPrint("BeamSpotAnalyzer") << beam_width;
205  } else {
206  edm::LogPrint("BeamSpotAnalyzer") << "[BeamSpotAnalyzer] beamfit fails !!!";
207  }
208  }
209 
210  edm::LogPrint("BeamSpotAnalyzer") << "[BeamSpotAnalyzer] endJob done \n";
211 }
bool runPVandTrkFitter()
Definition: BeamFitter.cc:449
void write2DB()
Definition: BeamFitter.cc:746
bool runBeamWidthFitter()
Definition: BeamFitter.cc:620
reco::BeamSpot getBeamWidth()
Definition: BeamFitter.h:56
Log< level::Warning, true > LogPrint
void runAllFitter()
Definition: BeamFitter.cc:783
BeamFitter * theBeamFitter
std::pair< int, int > getFitLSRange()
Definition: BeamFitter.h:114
reco::BeamSpot getBeamSpot()
Definition: BeamFitter.h:93
void BeamSpotAnalyzer::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
overrideprivate

Definition at line 112 of file BeamSpotAnalyzer.cc.

References beginLumiOfBSFit_, cms::cuda::bs, countLumi_, 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().

112  {
113  edm::LogPrint("BeamSpotAnalyzer") << "for lumis " << beginLumiOfBSFit_ << " - " << endLumiOfBSFit_ << std::endl
114  << "number of selected tracks = " << theBeamFitter->getNTracks();
115  edm::LogPrint("BeamSpotAnalyzer") << "number of selected PVs = " << theBeamFitter->getNPVs();
116  //edm::LogPrint("BeamSpotAnalyzer") << "number of selected PVs per bx: " << theBeamFitter->getNPVsperBX() std::endl;
117 
118  const edm::TimeValue_t fendtimestamp = lumiSeg.endTime().value();
119  const std::time_t fendtime = fendtimestamp >> 32;
120  refBStime[1] = fendtime;
121 
122  endLumiOfBSFit_ = lumiSeg.luminosityBlock();
124 
125  if (fitNLumi_ == -1 && resetFitNLumi_ == -1)
126  return;
127 
128  if (fitNLumi_ > 0 && countLumi_ % fitNLumi_ != 0)
129  return;
130 
134 
135  std::pair<int, int> LSRange = theBeamFitter->getFitLSRange();
136 
139  edm::LogPrint("BeamSpotAnalyzer") << "\n RESULTS OF DEFAULT FIT ";
140  edm::LogPrint("BeamSpotAnalyzer") << " for runs: " << ftmprun0 << " - " << ftmprun;
141  edm::LogPrint("BeamSpotAnalyzer") << " for lumi blocks : " << LSRange.first << " - " << LSRange.second;
142  edm::LogPrint("BeamSpotAnalyzer") << " lumi counter # " << countLumi_;
143  edm::LogPrint("BeamSpotAnalyzer") << bs;
144  edm::LogPrint("BeamSpotAnalyzer") << "[BeamFitter] fit done. \n";
145  } else { // Fill in empty beam spot if beamfit fails
148  edm::LogPrint("BeamSpotAnalyzer") << "\n Empty Beam spot fit";
149  edm::LogPrint("BeamSpotAnalyzer") << " for runs: " << ftmprun0 << " - " << ftmprun;
150  edm::LogPrint("BeamSpotAnalyzer") << " for lumi blocks : " << LSRange.first << " - " << LSRange.second;
151  edm::LogPrint("BeamSpotAnalyzer") << " lumi counter # " << countLumi_;
152  edm::LogPrint("BeamSpotAnalyzer") << bs;
153  edm::LogPrint("BeamSpotAnalyzer") << "[BeamFitter] fit failed \n";
154  // accumulate more events
155  // disable this for the moment
156  //resetFitNLumi_ += 1;
157  //edm::LogPrint("BeamSpotAnalyzer") << "reset fitNLumi " << resetFitNLumi_ ;
158  }
159 
160  if (resetFitNLumi_ > 0 && countLumi_ % resetFitNLumi_ == 0) {
161  std::vector<BSTrkParameters> theBSvector = theBeamFitter->getBSvector();
162  edm::LogPrint("BeamSpotAnalyzer") << "Total number of tracks accumulated = " << theBSvector.size();
163  edm::LogPrint("BeamSpotAnalyzer") << "Reset track collection for beam fit";
169  countLumi_ = 0;
170  // reset counter to orginal
172  }
173 }
int getNPVs()
Definition: BeamFitter.h:122
int getNTracks()
Definition: BeamFitter.h:121
bool runPVandTrkFitter()
Definition: BeamFitter.cc:449
void setRun(int run)
Definition: BeamFitter.h:119
std::vector< BSTrkParameters > getBSvector()
Definition: BeamFitter.h:95
void resetTrkVector()
Definition: BeamFitter.h:58
void setType(BeamType type)
set beam type
Definition: BeamSpot.h:124
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & endTime() const
std::time_t refBStime[2]
void setFitLSRange(int ls0, int ls1)
Definition: BeamFitter.h:115
void resetLSRange()
Definition: BeamFitter.h:60
unsigned long long TimeValue_t
Definition: Timestamp.h:28
Log< level::Warning, true > LogPrint
BeamFitter * theBeamFitter
void resetPVFitter()
Definition: BeamFitter.h:72
void resetCutFlow()
Definition: BeamFitter.h:104
std::pair< int, int > getFitLSRange()
Definition: BeamFitter.h:114
void setRefTime(time_t t0, time_t t1)
Definition: BeamFitter.h:62
TimeValue_t value() const
Definition: Timestamp.h:45
reco::BeamSpot getBeamSpot()
Definition: BeamFitter.h:93
void resetRefTime()
Definition: BeamFitter.h:61
void BeamSpotAnalyzer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 213 of file BeamSpotAnalyzer.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, BeamFitter::fillDescription(), PVFitter::fillDescription(), and edm::ParameterSetDescription::setComment().

213  {
215  desc.setComment("Analyzer of BeamSpot Objects");
216 
217  edm::ParameterSetDescription bsAnalyzerParamsDesc;
218  bsAnalyzerParamsDesc.add("WriteToDB", false);
219  bsAnalyzerParamsDesc.add("RunAllFitters", false);
220  bsAnalyzerParamsDesc.addUntracked("fitEveryNLumi", -1);
221  bsAnalyzerParamsDesc.addUntracked("resetEveryNLumi", -1);
222  bsAnalyzerParamsDesc.add("RunBeamWidthFit", false);
223  desc.add<edm::ParameterSetDescription>("BSAnalyzerParameters", bsAnalyzerParamsDesc);
224 
227 
228  descriptions.addWithDefaultLabel(desc);
229 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescription(edm::ParameterSetDescription &)
Definition: PVFitter.cc:97
static void fillDescription(edm::ParameterSetDescription &)
Definition: BeamFitter.cc:224

Member Data Documentation

int BeamSpotAnalyzer::beginLumiOfBSFit_
private

Definition at line 47 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().

int BeamSpotAnalyzer::countLumi_
private
int BeamSpotAnalyzer::endLumiOfBSFit_
private

Definition at line 48 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().

int BeamSpotAnalyzer::fitNLumi_
private

Definition at line 40 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), endJob(), and endLuminosityBlock().

int BeamSpotAnalyzer::ftmprun
private
int BeamSpotAnalyzer::ftmprun0
private
int BeamSpotAnalyzer::ftotalevents
private

Definition at line 39 of file BeamSpotAnalyzer.cc.

Referenced by analyze(), BeamSpotAnalyzer(), and endJob().

int BeamSpotAnalyzer::org_resetFitNLumi_
private

Definition at line 43 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and endLuminosityBlock().

int BeamSpotAnalyzer::previousLumi_
private

Definition at line 44 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), beginLuminosityBlock(), and endLuminosityBlock().

int BeamSpotAnalyzer::previousRun_
private

Definition at line 45 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and beginLuminosityBlock().

std::time_t BeamSpotAnalyzer::refBStime[2]
private

Definition at line 49 of file BeamSpotAnalyzer.cc.

Referenced by beginLuminosityBlock(), and endLuminosityBlock().

int BeamSpotAnalyzer::resetFitNLumi_
private
bool BeamSpotAnalyzer::runallfitters_
private

Definition at line 53 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and endJob().

bool BeamSpotAnalyzer::runbeamwidthfit_
private

Definition at line 52 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and endJob().

BeamFitter* BeamSpotAnalyzer::theBeamFitter
private
bool BeamSpotAnalyzer::write2DB_
private

Definition at line 51 of file BeamSpotAnalyzer.cc.

Referenced by BeamSpotAnalyzer(), and endJob().