129 edm::LogInfo(
"ScaleFactors") <<
"x-axis range scale factors: ";
133 edm::LogInfo(
"BinMaxValue") <<
"Setting bin max values";
135 for(std::map<int,std::string>::const_iterator lab=
m_labels.begin();lab!=
m_labels.end();lab++) {
137 const int i = lab->first;
const std::string slab = lab->second;
const unsigned int ui =
i;
141 <<
" not configured: " << trnumb.
nstrips(i) <<
" used";
149 edm::LogInfo(
"PhasePartitions") <<
"Partitions for APV Cycle Phase";
151 for(std::map<int,std::string>::const_iterator lab=
m_labels.begin();lab!=
m_labels.end();lab++) {
153 const int i = lab->first;
const std::string slab = lab->second;
const unsigned int ui =
i;
158 for(std::map<int,std::string>::const_iterator lab=
m_labels.begin();lab!=
m_labels.end();lab++) {
160 const int i = lab->first;
const std::string slab = lab->second;
const unsigned int ui =
i;
168 sprintf(title,
"%s %s multiplicity vs BX separation",slab.c_str(),
m_hitname.c_str());
169 sprintf(name,
"n%sdigivsdbx2D",slab.c_str());
171 sprintf(name,
"n%sdigivsdbx2Dzoom2",slab.c_str());
173 sprintf(name,
"n%sdigivsdbx2Dzoom",slab.c_str());
181 sprintf(title,
"%s %s multiplicity vs BX separation",slab.c_str(),
m_hitname.c_str());
182 sprintf(name,
"n%sdigivsdbx",slab.c_str());
184 sprintf(name,
"n%sdigivsdbxzoom2",slab.c_str());
186 sprintf(name,
"n%sdigivsdbxzoom",slab.c_str());
192 sprintf(name,
"n%sdigivsdbx3zoom",slab.c_str());
193 sprintf(title,
"%s %s multiplicity vs Triplets BX separation",slab.c_str(),
m_hitname.c_str());
197 sprintf(name,
"%sdigicorr",slab.c_str());
198 sprintf(title,
"%s %s DBX correlation",slab.c_str(),
m_hitname.c_str());
207 sprintf(name,
"n%sdigivsdbxincycle",slab.c_str());
208 sprintf(title,
"%s %s multiplicity vs BX separation w.r.t. cycle",slab.c_str(),
m_hitname.c_str());
212 sprintf(name,
"n%sdigivsdbxincycle2D",slab.c_str());
213 sprintf(title,
"%s %s multiplicity vs BX separation w.r.t. cycle",slab.c_str(),
m_hitname.c_str());
215 m_ndigivsdbxincycle2D[
i]->GetXaxis()->SetTitle(
"#DeltaBX w.r.t. cycle"); m_ndigivsdbxincycle2D[
i]->GetYaxis()->SetTitle(
"Number of Hits");
218 sprintf(name,
"n%sdigivsdbxincycle3",slab.c_str());
219 sprintf(title,
"%s %s multiplicity vs Triplets BX separation w.r.t. cycle",slab.c_str(),
m_hitname.c_str());
225 sprintf(name,
"n%sdigivsdbxincycle33D",slab.c_str());
226 sprintf(title,
"%s %s multiplicity vs Triplets BX separation w.r.t. cycle",slab.c_str(),
m_hitname.c_str());
227 m_ndigivsdbxincycle33D[
i] = subev.
make<TH3F>(
name,
title,2000,-0.5,1999.5,30,-0.5,2099.5,50,0.,(1+
m_binmax[
ui]/(
m_scalefact[0]*50))*50);
228 m_ndigivsdbxincycle33D[
i]->GetXaxis()->SetTitle(
"#DeltaBX(n,n-1)");
229 m_ndigivsdbxincycle33D[
i]->GetYaxis()->SetTitle(
"#DeltaBX(n,n-2)-#DeltaBX(n,n-1)");
240 sprintf(title,
"%s Mean %s multiplicity vs BX mod(70)",slab.c_str(),
m_hitname.c_str());
241 sprintf(name,
"n%smeandigivscycle",slab.c_str());
246 sprintf(title,
"%s %s multiplicity vs BX mod(70)",slab.c_str(),
m_hitname.c_str());
249 sprintf(name,
"n%sdigivscycle",slab.c_str());
254 sprintf(name,
"n%sdigivscyclezoom",slab.c_str());
260 sprintf(name,
"n%sdigivscyclezoom2",slab.c_str());
266 sprintf(name,
"n%sdigivscycledbx",slab.c_str());
267 sprintf(title,
"%s %s multiplicity vs BX mod(70) and DBX",slab.c_str(),
m_hitname.c_str());
271 sprintf(name,
"n%sdigivscycle2dbx",slab.c_str());
272 sprintf(title,
"%s %s multiplicity vs BX mod(70) and DBX",slab.c_str(),
m_hitname.c_str());
281 sprintf(name,
"n%sdigivscycletime",slab.c_str());
282 sprintf(title,
"%s %s multiplicity vs BX mod(70) and Orbit",slab.c_str(),
m_hitname.c_str());
290 sprintf(title,
"%s %s mean multiplicity vs BX",slab.c_str(),
m_hitname.c_str());
291 sprintf(name,
"n%sdigivsbx",slab.c_str());
295 sprintf(title,
"%s %s multiplicity vs BX",slab.c_str(),
m_hitname.c_str());
298 sprintf(name,
"n%sdigivsbx2D",slab.c_str());
303 sprintf(name,
"n%sdigivsbx2Dzoom",slab.c_str());
308 sprintf(name,
"n%sdigivsbx2Dzoom2",slab.c_str());
std::map< int, TH2F * > m_ndigivsbx2D
std::map< int, TH2F * > m_ndigivscycle
std::map< int, TProfile2D * > m_ndigivscycle2dbx
std::map< int, TProfile * > m_ndigivsdbxzoom2
std::map< int, TProfile * > m_ndigivsdbxzoom
std::map< int, TH2F * > m_ndigivscyclezoom2
RunHistogramManager m_rhm
std::map< int, std::string > m_labels
std::map< int, TH3F * > m_ndigivsdbxincycle33D
std::map< int, TH2F * > m_ndigivsdbx2D
std::map< int, TProfile * > m_ndigivsbx
std::map< int, TH2F * > m_ndigivsbx2Dzoom2
std::map< int, TH2F * > m_ndigivsdbx2Dzoom2
std::map< int, TProfile * > m_digicorr
int nstrips(const SiStripDetId &detid) const
std::map< int, TH2F * > m_ndigivsdbx2Dzoom
std::map< int, TProfile * > m_ndigivsdbxincycle
std::map< unsigned int, int > m_binmax
std::map< int, TProfile2D * > m_ndigivsdbx3zoom
std::map< int, TProfile2D * > m_ndigivsdbxincycle3
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, TProfile2D ** > m_ndigivscycletime
std::map< int, TProfile2D * > m_ndigivscycledbx
T * make() const
make new ROOT object
std::map< int, TProfile * > m_ndigivsdbx
std::map< int, TH2F * > m_ndigivsdbxincycle2D
std::vector< int > m_scalefact
std::map< int, TProfile * > m_nmeandigivscycle
std::map< int, TH2F * > m_ndigivsbx2Dzoom
std::map< int, std::string > m_phasepart
std::map< int, TH2F * > m_ndigivscyclezoom