51 TDirectory* oldDir = gDirectory;
62 m_CorrelationU =
new TH2F(
"RawCorrelationU",
"Raw Correlation of U;U1/cells;U2/cells", nPixelsU1 + nPixelsU2, nPixelsU1, nPixelsU2,
63 nPixelsU1 + nPixelsU2, nPixelsU1, nPixelsU2);
64 m_CorrelationV =
new TH2F(
"RawCorrelationV",
"Raw Correlation of V;V1/cells;V2/cells", nPixelsV1 + nPixelsV2, nPixelsV1, nPixelsV2,
65 nPixelsV1 + nPixelsV2, nPixelsV1, nPixelsV2);
66 m_DeltaU =
new TH1F(
"RawDeltaU",
"Raw Correlation of U2-U1;Udiff/cells", 2 * nPixelsU1 + 2 * nPixelsU2, -nPixelsU2 + nPixelsU1,
67 nPixelsU2 - nPixelsU1);
68 m_DeltaV =
new TH1F(
"RawDeltaV",
"Raw Correlation of V2-V1;Vdiff/cells", 2 * nPixelsV1 + 2 * nPixelsV2, -nPixelsV2 + nPixelsV1,
69 nPixelsV2 - nPixelsV1);
71 m_In1CorrelationU =
new TH2F(
"RawIn1CorrelationU",
"Raw In1 Correlation of U;U1/cells;U2/cells", nPixelsU1 + nPixelsU2, nPixelsU1,
72 nPixelsU2, nPixelsU1 + nPixelsU2, nPixelsU1, nPixelsU2);
73 m_In1CorrelationV =
new TH2F(
"RawIn1CorrelationV",
"Raw In1 Correlation of V;V1/cells;V2/cells", nPixelsV1 + nPixelsV2, nPixelsV1,
74 nPixelsV2, nPixelsV1 + nPixelsV2, nPixelsV1, nPixelsV2);
75 m_In1DeltaU =
new TH1F(
"RawIn1DeltaU",
"Raw In1 Correlation of U2-U1;Udiff/cells", 2 * nPixelsU1 + 2 * nPixelsU2,
76 -nPixelsU2 + nPixelsU1, nPixelsU2 - nPixelsU1);
77 m_In1DeltaV =
new TH1F(
"RawIn1DeltaV",
"Raw In1 Correlation of V2-V1;Vdiff/cells", 2 * nPixelsV1 + 2 * nPixelsV2,
78 -nPixelsV2 + nPixelsV1, nPixelsV2 - nPixelsV1);
80 m_In2CorrelationU =
new TH2F(
"RawIn2CorrelationU",
"Raw In2 Correlation of U;U1/cells;U2/cells", nPixelsU1 + nPixelsU2, nPixelsU1,
81 nPixelsU2, nPixelsU1 + nPixelsU2, nPixelsU1, nPixelsU2);
82 m_In2CorrelationV =
new TH2F(
"RawIn2CorrelationV",
"Raw In2 Correlation of V;V1/cells;V2/cells", nPixelsV1 + nPixelsV2, nPixelsV1,
83 nPixelsV2, nPixelsV1 + nPixelsV2, nPixelsV1, nPixelsV2);
84 m_In2DeltaU =
new TH1F(
"RawIn2DeltaU",
"Raw In2 Correlation of U2-U1;Udiff/cells", 2 * nPixelsU1 + 2 * nPixelsU2,
85 -nPixelsU2 + nPixelsU1, nPixelsU2 - nPixelsU1);
86 m_In2DeltaV =
new TH1F(
"RawIn2DeltaV",
"Raw In2 Correlation of V2-V1;Vdiff/cells", 2 * nPixelsV1 + 2 * nPixelsV2,
87 -nPixelsV2 + nPixelsV1, nPixelsV2 - nPixelsV1);
126 int iPlane1 = hit1.getSensorID().getLayerNumber();
129 int iPlane2 = hit2.getSensorID().getLayerNumber();
133 m_DeltaU->Fill(hit2.getColumn() - hit1.getColumn());
134 m_DeltaV->Fill(hit2.getRow() - hit1.getRow());
136 if (hit1.getColumn() != hit2.getColumn()) {
138 m_In1DeltaU->Fill(hit2.getColumn() - hit1.getColumn());
140 if (hit1.getRow() != hit2.getRow()) {
148 int iPlane2 = hit2.getSensorID().getLayerNumber();
150 if (hit1.getColumn() != hit2.getColumn()) {
152 m_In2DeltaU->Fill(hit2.getColumn() - hit1.getColumn());
154 if (hit1.getRow() != hit2.getRow()) {
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.