18 for (
int i = 0;
i < 10; ++
i) {
19 char title1[200], title2[200], title3[200];
20 sprintf(title1,
"CSCWireDigiTimeType%d",
i + 1);
21 sprintf(title2,
"CSCWireDigisPerLayerType%d",
i + 1);
22 sprintf(title3,
"CSCWireDigiResolution%d",
i + 1);
34 if (!
wires.isValid()) {
38 unsigned nDigisPerEvent = 0;
41 std::vector<CSCWireDigi>::const_iterator beginDigi = (*j).second.first;
42 std::vector<CSCWireDigi>::const_iterator endDigi = (*j).second.second;
43 int detId = (*j).first.rawId();
47 int nDigis = endDigi - beginDigi;
48 nDigisPerEvent += nDigis;
51 for (std::vector<CSCWireDigi>::const_iterator digiItr = beginDigi; digiItr != endDigi; ++digiItr) {
57 if (nDigis == 1 &&
simHits.size() == 1) {
70 double hitX =
hit.localPosition().
x();
71 double hitY =
hit.localPosition().
y();