130 edm::LogInfo(
"ScaleFactors") <<
"x-axis range scale factors: ";
134 edm::LogInfo(
"BinMaxValue") <<
"Setting bin max values";
136 for (std::map<int, std::string>::const_iterator lab =
m_labels.begin(); lab !=
m_labels.end(); lab++) {
137 const int i = lab->first;
139 const unsigned int ui =
i;
143 <<
"Bin max for " << lab->second <<
" not configured: " << trnumb.
nstrips(
i) <<
" used";
150 edm::LogInfo(
"PhasePartitions") <<
"Partitions for APV Cycle Phase";
152 for (std::map<int, std::string>::const_iterator lab =
m_labels.begin(); lab !=
m_labels.end(); lab++) {
153 const int i = lab->first;
155 const unsigned int ui =
i;
156 edm::LogVerbatim(
"PhasePartitions") <<
"Partition for " << lab->second <<
" is " 161 for (std::map<int, std::string>::const_iterator lab =
m_labels.begin(); lab !=
m_labels.end(); lab++) {
162 const int i = lab->first;
164 const unsigned int ui =
i;
172 sprintf(
title,
"%s %s multiplicity vs BX separation", slab.c_str(),
m_hitname.c_str());
173 sprintf(
name,
"n%sdigivsdbx2D", slab.c_str());
176 sprintf(
name,
"n%sdigivsdbx2Dzoom2", slab.c_str());
179 sprintf(
name,
"n%sdigivsdbx2Dzoom", slab.c_str());
191 sprintf(
title,
"%s %s multiplicity vs BX separation", slab.c_str(),
m_hitname.c_str());
192 sprintf(
name,
"n%sdigivsdbx", slab.c_str());
194 sprintf(
name,
"n%sdigivsdbxzoom2", slab.c_str());
196 sprintf(
name,
"n%sdigivsdbxzoom", slab.c_str());
205 sprintf(
name,
"n%sdigivsdbx3zoom", slab.c_str());
206 sprintf(
title,
"%s %s multiplicity vs Triplets BX separation", slab.c_str(),
m_hitname.c_str());
211 sprintf(
name,
"%sdigicorr", slab.c_str());
212 sprintf(
title,
"%s %s DBX correlation", slab.c_str(),
m_hitname.c_str());
215 m_digicorr[
i]->GetYaxis()->SetTitle(
"Number of Hits");
221 sprintf(
name,
"n%sdigivsdbxincycle", slab.c_str());
222 sprintf(
title,
"%s %s multiplicity vs BX separation w.r.t. cycle", slab.c_str(),
m_hitname.c_str());
227 sprintf(
name,
"n%sdigivsdbxincycle2D", slab.c_str());
228 sprintf(
title,
"%s %s multiplicity vs BX separation w.r.t. cycle", slab.c_str(),
m_hitname.c_str());
235 sprintf(
name,
"n%sdigivsdbxincycle3", slab.c_str());
236 sprintf(
title,
"%s %s multiplicity vs Triplets BX separation w.r.t. cycle", slab.c_str(),
m_hitname.c_str());
242 sprintf(
name,
"n%sdigivsdbxincycle33D", slab.c_str());
244 title,
"%s %s multiplicity vs Triplets BX separation w.r.t. cycle", slab.c_str(),
m_hitname.c_str());
266 sprintf(
title,
"%s Mean %s multiplicity vs BX mod(70)", slab.c_str(),
m_hitname.c_str());
267 sprintf(
name,
"n%smeandigivscycle", slab.c_str());
272 sprintf(
title,
"%s %s multiplicity vs BX mod(70)", slab.c_str(),
m_hitname.c_str());
275 sprintf(
name,
"n%sdigivscycle", slab.c_str());
282 sprintf(
name,
"n%sdigivscyclezoom", slab.c_str());
289 sprintf(
name,
"n%sdigivscyclezoom2", slab.c_str());
296 sprintf(
name,
"n%sdigivscycledbx", slab.c_str());
297 sprintf(
title,
"%s %s multiplicity vs BX mod(70) and DBX", slab.c_str(),
m_hitname.c_str());
302 sprintf(
name,
"n%sdigivscycle2dbx", slab.c_str());
303 sprintf(
title,
"%s %s multiplicity vs BX mod(70) and DBX", slab.c_str(),
m_hitname.c_str());
312 sprintf(
name,
"n%sdigivscycletime", slab.c_str());
313 sprintf(
title,
"%s %s multiplicity vs BX mod(70) and Orbit", slab.c_str(),
m_hitname.c_str());
321 sprintf(
title,
"%s %s mean multiplicity vs BX", slab.c_str(),
m_hitname.c_str());
322 sprintf(
name,
"n%sdigivsbx", slab.c_str());
325 m_ndigivsbx[
i]->GetYaxis()->SetTitle(
"Mean Number of Hits");
327 sprintf(
title,
"%s %s multiplicity vs BX", slab.c_str(),
m_hitname.c_str());
330 sprintf(
name,
"n%sdigivsbx2D", slab.c_str());
337 sprintf(
name,
"n%sdigivsbx2Dzoom", slab.c_str());
344 sprintf(
name,
"n%sdigivsbx2Dzoom2", slab.c_str());
Log< level::Info, true > LogVerbatim
std::map< int, TProfile2D * > m_ndigivsdbxincycle3
RunHistogramManager m_rhm
std::map< int, TProfile2D * > m_ndigivscycle2dbx
std::map< int, TH2F * > m_ndigivsdbx2Dzoom2
int nstrips(const DetId &detid) const
std::map< int, TH2F * > m_ndigivsbx2D
std::map< int, TH2F * > m_ndigivsbx2Dzoom
std::map< int, TProfile * > m_ndigivsdbx
std::map< int, std::string > m_labels
std::map< int, TProfile * > m_ndigivsdbxzoom2
std::map< int, TProfile * > m_ndigivsdbxzoom
std::map< int, TProfile * > m_ndigivsbx
T * make(const Args &...args) const
make new ROOT object
std::map< int, TProfile2D ** > m_ndigivscycletime
std::map< int, TH2F * > m_ndigivsdbx2Dzoom
std::map< int, TProfile2D * > m_ndigivsdbx3zoom
std::map< unsigned int, int > m_binmax
std::map< int, std::string > m_phasepart
std::map< int, TH2F * > m_ndigivscycle
Log< level::Info, false > LogInfo
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
TProfile2D ** makeTProfile2D(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax, const unsigned int nbiny, const double ymin, const double ymax)
std::map< int, TProfile * > m_nmeandigivscycle
std::map< int, TH2F * > m_ndigivsdbxincycle2D
std::map< int, TH2F * > m_ndigivsdbx2D
std::map< int, TH3F * > m_ndigivsdbxincycle33D
std::map< int, TH2F * > m_ndigivscyclezoom
std::map< int, TH2F * > m_ndigivsbx2Dzoom2
std::vector< int > m_scalefact
std::map< int, TProfile * > m_digicorr
std::map< int, TH2F * > m_ndigivscyclezoom2
std::map< int, TProfile * > m_ndigivsdbxincycle
std::map< int, TProfile2D * > m_ndigivscycledbx