Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 53 of file EventTimeDistribution.cc.
Definition at line 105 of file EventTimeDistribution.cc.
125 std::vector<edm::ParameterSet> dbxhistoparams(iConfig.
getUntrackedParameter<std::vector<edm::ParameterSet> >(
126 "dbxHistosParams", std::vector<edm::ParameterSet>()));
128 for (std::vector<edm::ParameterSet>::const_iterator
params = dbxhistoparams.begin();
params != dbxhistoparams.end();
130 m_dbxindices.push_back(std::pair<unsigned int, unsigned int>(
params->getParameter<
unsigned int>(
"firstEvent"),
131 params->getParameter<
unsigned int>(
"secondEvent")));
135 params->getParameter<
unsigned int>(
"firstEvent"),
136 params->getParameter<
unsigned int>(
"secondEvent"));
140 params->getParameter<
unsigned int>(
"firstEvent"),
141 params->getParameter<
unsigned int>(
"secondEvent"));
145 params->getParameter<
int>(
"nbins"),
146 params->getParameter<
double>(
"min"),
147 params->getParameter<
double>(
"max")));
148 LogDebug(
"DBXHistoPreBooking") <<
"Booked DBX histo named " << hname <<
" untitled " << htitle;
References _bx, _bxincycle, _bxincyclevsbx, _dbx, _dbxvsbx, _dbxvsbxincycle, _orbit, _orbitvsbxincycle, _rhm, _wantbxincyclevsbx, _wantdbxvsbx, _wantdbxvsbxincycle, _wantorbitvsbxincycle, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, m_dbxhistos, m_dbxindices, m_ewhdepth, m_ewhdepthHisto, m_LSfrac, m_maxLS, RunHistogramManager::makeTH1F(), RunHistogramManager::makeTH2F(), and CalibrationSummaryClient_cfi::params.
Implements edm::EDAnalyzer.
Definition at line 181 of file EventTimeDistribution.cc.
191 (*_dbx)->Fill(
he->deltaBX());
192 std::vector<std::pair<unsigned int, unsigned int> >::const_iterator
indices =
m_dbxindices.begin();
198 (*_bx)->Fill(
iEvent.bunchCrossing() % 3564);
199 (*_orbit)->Fill(
iEvent.orbitNumber());
201 (*_dbxvsbx)->Fill(
iEvent.bunchCrossing() % 3564,
he->deltaBX());
203 (*m_ewhdepth)->Fill(
he->depth());
208 long long tbx =
he->absoluteBX();
214 (*_bxincycle)->Fill(tbx % 70);
216 (*_dbxvsbxincycle)->Fill(tbx % 70,
he->deltaBX());
218 (*_bxincyclevsbx)->Fill(
iEvent.bunchCrossing() % 3564, tbx % 70);
220 (*_orbitvsbxincycle)->Fill(tbx % 70,
iEvent.orbitNumber());
223 LogDebug(
"InvalidPhase") <<
"Invalid APVCyclePhase value : " <<
_phasepart <<
" " << thephase;
References _apvphasecollToken, _bxincyclevsbx, _dbxvsbx, _dbxvsbxincycle, _historyProductToken, _nevents, _orbitvsbxincycle, _phasepart, edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), APVCyclePhaseCollection::getPhase(), hcalSimParameters_cfi::he, iEvent, bTagCombinedSVVariables_cff::indices, APVCyclePhaseCollection::invalid, edm::HandleBase::isValid(), LogDebug, m_dbxhistos, m_dbxindices, m_ewhdepth, APVCyclePhaseCollection::multiphase, and APVCyclePhaseCollection::nopartition.
Reimplemented from edm::EDAnalyzer.
Definition at line 228 of file EventTimeDistribution.cc.
232 (*_dbx)->GetXaxis()->SetTitle(
"#DeltaBX");
236 for (std::vector<TH1F**>::const_iterator dbxhist =
m_dbxhistos.begin(); dbxhist !=
m_dbxhistos.end(); ++dbxhist) {
237 LogDebug(
"HistoPointer") << *dbxhist;
239 (*(*dbxhist))->GetXaxis()->SetTitle(
"#DeltaBX");
242 LogDebug(
"LabelDone") <<
"all labels set";
245 (*_bx)->GetXaxis()->SetTitle(
"BX");
249 (*_bxincycle)->GetXaxis()->SetTitle(
"Event BX mod(70)");
253 (*_orbit)->SetCanExtend(TH1::kXaxis);
254 (*_orbit)->GetXaxis()->SetTitle(
"time [Orb#]");
257 LogDebug(
"StdPlotsDone") <<
"all labels in std plots set";
260 (*_dbxvsbxincycle)->GetXaxis()->SetTitle(
"Event BX mod(70)");
261 (*_dbxvsbxincycle)->GetYaxis()->SetTitle(
"#DeltaBX");
265 (*_dbxvsbx)->GetXaxis()->SetTitle(
"BX");
266 (*_dbxvsbx)->GetYaxis()->SetTitle(
"#DeltaBX");
270 (*_bxincyclevsbx)->GetXaxis()->SetTitle(
"BX");
271 (*_bxincyclevsbx)->GetYaxis()->SetTitle(
"Event BX mod(70)");
275 (*_orbitvsbxincycle)->SetCanExtend(TH1::kYaxis);
276 (*_orbitvsbxincycle)->GetXaxis()->SetTitle(
"Event BX mod(70)");
277 (*_orbitvsbxincycle)->GetYaxis()->SetTitle(
"time [Orb#]");
281 (*m_ewhdepth)->GetXaxis()->SetTitle(
"Depth");
References _bx, _bxincycle, _bxincyclevsbx, _dbx, _dbxvsbx, _dbxvsbxincycle, _orbit, _orbitvsbxincycle, _rhm, RunHistogramManager::beginRun(), LogDebug, m_dbxhistos, and m_ewhdepth.