25 doAllPlots_(conf_.getParameter<
bool>(
"doAllPlots")),
26 doDeDxPlots_(conf_.getParameter<
bool>(
"doDeDxPlots")),
28 conf_.getParameter<
edm::
ParameterSet>(
"genericTriggerEventPSet"), consumesCollector(), *this)) {
83 dEdxMEsVector[
i].ME_StripHitDeDx->setAxisTitle(
"dEdx of on-track strip cluster (ADC)");
84 dEdxMEsVector[
i].ME_StripHitDeDx->setAxisTitle(
"Number of Strip clusters", 2);
88 dEdxMEsVector[
i].ME_PixelHitDeDx->setAxisTitle(
"dEdx of on-track pixel cluster (ADC)");
89 dEdxMEsVector[
i].ME_PixelHitDeDx->setAxisTitle(
"Number of Pixel clusters", 2);
91 histname =
"NumberOfdEdxHitsPerTrack_";
93 dEdxMEsVector[
i].ME_NHitDeDx->setAxisTitle(
"Number of dEdxHits per Track");
98 dEdxMEsVector[
i].ME_Harm2DeDx->setAxisTitle(
"Harmonic2 dEdx estimator for each Track");
99 dEdxMEsVector[
i].ME_Harm2DeDx->setAxisTitle(
"Number of Tracks", 2);
107 std::vector<double> vect;
108 for (
unsigned int h = 0;
h < dedxHits->
size();
h++) {
110 double Norm = (detid.subdetId() < 3) ? 3.61
e-06 : 3.61
e-06 * 265;
112 vect.push_back(ChargeOverPathlength);
115 int size = vect.size();
120 for (
int i = 0;
i <
size;
i++) {
135 if (!trackCollectionHandle.
isValid())
140 if (!dEdxObjectHandle.
isValid())
143 for (
unsigned int t = 0;
t < trackCollectionHandle->size();
t++) {
148 if (!
track.isNull()) {
150 if (!dedxHitsRef.
isNull())
151 dedxHits = &(*dedxHitsRef);
156 for (
unsigned int h = 0;
h < dedxHits->
size();
h++) {
158 if (detid.subdetId() >= 3)
160 if (detid.subdetId() < 3)