92 : _apvphasecollectionToken(
96 _selectedvectorparts(iConfig.getUntrackedParameter<
std::vector<
std::
string> >(
"selectedVectorPartitions",
98 m_maxLS(iConfig.getUntrackedParameter<unsigned
int>(
"maxLSBeforeRebin", 125)),
99 m_LSfrac(iConfig.getUntrackedParameter<unsigned
int>(
"startingLSFraction", 16)),
100 m_rhm(consumesCollector()),
103 _hselectedphasesvector(),
104 _hselectedphasessize(),
106 _hselectedphasevsorbit(),
107 _hselectedphasevectorvsorbit(),
117 sprintf(hname,
"selected_phase_%s",
part->c_str());
118 edm::LogInfo(
"SelectedTH1FBeingBooked") <<
"TH1F " << hname <<
" being booked";
121 sprintf(hname,
"selected_phasevsorbit_%s",
part->c_str());
122 edm::LogInfo(
"SelectedTProfileBeingBooked") <<
"TProfile " << hname <<
" being booked";
130 sprintf(hname,
"selected_phase_vector_%s",
part->c_str());
131 edm::LogInfo(
"SelectedVectTH1FBeingBooked") <<
"TH1F " << hname <<
" being booked";
134 sprintf(hname,
"selected_phase_size_%s",
part->c_str());
135 edm::LogInfo(
"SelectedVectSizeTH1FBeingBooked") <<
"TH1F " << hname <<
" being booked";
138 sprintf(hname,
"selected_phasevectorvsorbit_%s",
part->c_str());
139 edm::LogInfo(
"SelectedVectTProfileBeingBooked") <<
"TProfile " << hname <<
" being booked";
166 for (std::map<std::string, int>::const_iterator
phase = apvphases->
get().begin();
phase != apvphases->
get().end();
175 sprintf(hname,
"phase_%s",
phase->first.c_str());
176 edm::LogInfo(
"TH1FBeingBooked") <<
"TH1F " << hname <<
" being booked";
177 _hphases[
phase->first] = subrun.make<TH1F>(hname, hname, 70, -0.5, 69.5);
181 sprintf(hname,
"phasevsorbit_%s",
phase->first.c_str());
182 edm::LogInfo(
"TProfileBeingBooked") <<
"TProfile " << hname <<
" being booked";
234 if (*(
hist->second)) {
235 (*(
hist->second))->GetXaxis()->SetTitle(
"BX mod 70");
236 (*(
hist->second))->GetYaxis()->SetTitle(
"Events");
242 if (*(prof->second)) {
243 (*(prof->second))->SetCanExtend(TH1::kXaxis);
244 (*(prof->second))->GetXaxis()->SetTitle(
"time [orbit#]");
245 (*(prof->second))->GetYaxis()->SetTitle(
"Phase");
251 if (*(
hist->second)) {
252 (*(
hist->second))->GetXaxis()->SetTitle(
"BX mod 70");
253 (*(
hist->second))->GetYaxis()->SetTitle(
"Events");
259 if (*(
hist->second)) {
260 (*(
hist->second))->GetXaxis()->SetTitle(
"Number of Phases");
261 (*(
hist->second))->GetYaxis()->SetTitle(
"Events");
267 if (*(prof->second)) {
268 (*(prof->second))->SetCanExtend(TH1::kXaxis);
269 (*(prof->second))->GetXaxis()->SetTitle(
"time [orbit#]");
270 (*(prof->second))->GetYaxis()->SetTitle(
"Phase");