26 doAllPlots_(conf_.getParameter<
bool>(
"doAllPlots")),
27 doDeDxPlots_(conf_.getParameter<
bool>(
"doDeDxPlots")),
29 conf_.getParameter<
edm::
ParameterSet>(
"genericTriggerEventPSet"), consumesCollector(), *this)) {
99 dEdxMEsVector[
i].ME_MipDeDx->setAxisTitle(
"dEdx of each MIP Track (MeV/cm)");
102 histname =
"MIP_NumberOfdEdxHitsPerTrack_";
104 dEdxMEsVector[
i].ME_MipDeDxNHits->setAxisTitle(
"Number of dEdxHits of each MIP Track");
105 dEdxMEsVector[
i].ME_MipDeDxNHits->setAxisTitle(
"Number of Tracks", 2);
107 histname =
"MIP_FractionOfSaturateddEdxHitsPerTrack_";
109 dEdxMEsVector[
i].ME_MipDeDxNSatHits->setAxisTitle(
"Fraction of Saturated dEdxHits of each MIP Track");
110 dEdxMEsVector[
i].ME_MipDeDxNSatHits->setAxisTitle(
"Number of Tracks", 2);
115 dEdxMEsVector[
i].ME_MipDeDxMass->setAxisTitle(
"dEdx Mass of each MIP Track (GeV/c^{2})");
116 dEdxMEsVector[
i].ME_MipDeDxMass->setAxisTitle(
"Number of Tracks", 2);
121 dEdxMEsVector[
i].ME_HipDeDxMass->setAxisTitle(
"dEdx Mass of each HIP Track (GeV/c^{2})");
122 dEdxMEsVector[
i].ME_HipDeDxMass->setAxisTitle(
"Number of Tracks", 2);
124 histname =
"MIPOfHighPt_dEdxPerTrack_";
126 dEdxMEsVector[
i].ME_MipHighPtDeDx->setAxisTitle(
"dEdx of each MIP (of High pT) Track (MeV/cm)");
127 dEdxMEsVector[
i].ME_MipHighPtDeDx->setAxisTitle(
"Number of Tracks", 2);
129 histname =
"MIPOfHighPt_NumberOfdEdxHitsPerTrack_";
132 dEdxMEsVector[
i].ME_MipHighPtDeDxNHits->setAxisTitle(
"Number of dEdxHits of each MIP (of High pT) Track");
133 dEdxMEsVector[
i].ME_MipHighPtDeDxNHits->setAxisTitle(
"Number of Tracks", 2);
154 if (!trackCollectionHandle.
isValid())
160 if (!dEdxObjectHandle.
isValid())
164 for (
unsigned int t = 0;
t < trackCollectionHandle->size();
t++) {
172 if (dEdxColl[
track].numberOfMeasurements() != 0)
173 dEdxMEsVector[
i].ME_MipDeDxNSatHits->Fill((1.0 * dEdxColl[
track].numberOfSaturatedMeasurements()) /
174 dEdxColl[
track].numberOfMeasurements());