Skip to content

Commit

Permalink
Merge CMSSW_8_0_X into CMSSW_8_1_X.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Apr 27, 2016
2 parents 0761cdd + 987fab5 commit 687abbc
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions DQM/TrackingMonitor/src/TrackBuildingAnalyzer.cc
Expand Up @@ -210,17 +210,32 @@ void TrackBuildingAnalyzer::initHisto(DQMStore::IBooker & ibooker)
std::vector<std::string> StopReasonName = { "UNINITIALIZED", "MAX_HITS", "MAX_LOST_HITS", "MAX_CONSECUTIVE_LOST_HITS", "LOST_HIT_FRACTION", "MIN_PT", "CHARGE_SIGNIFICANCE", "LOOPER", "MAX_CCC_LOST_HITS", "NO_SEGMENTS_FOR_VALID_LAYERS", "NOT_STOPPED" };

histname = "StoppingSource_"+seedProducer.label() + "_";
stoppingSource = ibooker.book1D(histname+CatagoryName, histname+CatagoryName,StopReasonName.size(), 0., double(StopReasonName.size()));
stoppingSource = ibooker.book1D(histname+CatagoryName,
histname+CatagoryName,
StopReasonName.size(),
0., double(StopReasonName.size()));
stoppingSource->setAxisTitle("stopping reason",1);
stoppingSource->setAxisTitle("Number of Tracks",2);

histname = "StoppingSourceVSeta_"+seedProducer.label() + "_";
stoppingSourceVSeta = ibooker.book2D(histname+CatagoryName, histname+CatagoryName,EtaBin, EtaMin, EtaMax, StopReasonName.size(), 0., double(StopReasonName.size()));
stoppingSourceVSeta = ibooker.book2D(histname+CatagoryName,
histname+CatagoryName,
EtaBin,
EtaMin,
EtaMax,
StopReasonName.size(),
0., double(StopReasonName.size()));
stoppingSourceVSeta->setAxisTitle("track #eta",1);
stoppingSourceVSeta->setAxisTitle("stopping reason",2);

histname = "StoppingSourceVSphi_"+seedProducer.label() + "_";
stoppingSourceVSphi = ibooker.book2D(histname+CatagoryName, histname+CatagoryName,PhiBin, PhiMax, PhiMax, StopReasonName.size(), 0., double(StopReasonName.size()));
stoppingSourceVSphi = ibooker.book2D(histname+CatagoryName,
histname+CatagoryName,
PhiBin,
PhiMin,
PhiMax,
StopReasonName.size(),
0., double(StopReasonName.size()));
stoppingSourceVSphi->setAxisTitle("track #phi",1);
stoppingSourceVSphi->setAxisTitle("stopping reason",2);

Expand Down

0 comments on commit 687abbc

Please sign in to comment.