44 TProfile lb_dx(Form(
"lb_dx_station_%d_layer_%d", st,la), Form(
"lb_dx, station %d, layer %d", st,la), 100, 0, 1000);
47 TProfile lb_dy(Form(
"lb_dy_station_%d_layer_%d", st,la), Form(
"lb_dy, station %d, layer %d", st,la), 100, 0, 1000);
50 TProfile2D lb_yc_dy(Form(
"lb_yCluster_dy_station_%d_layer_%d", st,la), Form(
"lb_yCluster_dy, station %d, layer %d", st,la), 100, 0, 1000, 40, -20., 20.);
53 TProfile2D lb_xc_dx(Form(
"lb_xCluster_dx_station_%d_layer_%d", st,la), Form(
"lb_xCluster_dx, station %d, layer %d", st,la), 100, 0, 1000, 40, -20., 20.);
56 TProfile2D lb_xC_dy(Form(
"lb_xCluster_dy_station_%d_layer_%d", st, la), Form(
"lb_xCluster_dy, station %d, layer %d", st, la), 100, 0, 1000, 40, -20, 20);
59 TProfile2D lb_yC_dx(Form(
"lb_yCluster_dx_station_%d_layer_%d", st, la), Form(
"lb_yCluster_dx, station %d, layer %d", st, la), 100, 0, 1000, 40, -20, 20);
62 TProfile2D lb_zC_dx(Form(
"lb_zCluster_dx_station_%d_layer_%d", st, la), Form(
"lb_zCluster_dx, station %d, layer %d", st, la), 100, 0, 1000, 100, 9*la - 3, 9*(la+1));
65 TProfile2D lb_zC_dy(Form(
"lb_zCluster_dy_station_%d_layer_%d", st, la), Form(
"lb_zCluster_dy, station %d, layer %d", st, la), 100, 0, 1000, 100, 9*la - 3, 9*(la+1));
68 TProfile2D lb_sx_dx(Form(
"lb_xSlopeTrack_dx_station_%d_layer_%d",st,la), Form(
"xSlopeTrack_dx, station %d, layer %d", st,la), 100, 0, 1000, 100, -1., 1.);
71 TProfile2D lb_sy_dy(Form(
"lb_ySlopeTrack_dy_station_%d_layer_%d", st,la), Form(
"lb_ySlopeTrack_dy, station %d, layer %d", st,la), 100, 0, 1000, 100, -1., 1.);
74 TProfile2D lb_sy_dx(Form(
"lb_ySlopeTrack_dx_station_%d_layer_%d", st,la), Form(
"lb_ySlopeTrack_dx, station %d, layer %d", st,la), 100, 0, 1000, 100, -1., 1.);
77 TProfile2D lb_sx_dy(Form(
"lb_xSlopeTrack_dy_station_%d_layer_%d", st,la), Form(
"lb_xSlopeTrack_dy, station %d, layer %d", st,la), 100, 0, 1000, 100, -1., 1.);
83 return StatusCode::SUCCESS;
95 return StatusCode::SUCCESS;
100 int current_lb=eventInfo->lumiBlock();
118 400,-20, 20, 400, -20, 20);
134 if (!afpHitContainer.
isValid())
137 return StatusCode::SUCCESS;
142 if(!afpTrackContainer.
isValid()){
144 return StatusCode::SUCCESS;
155 int st=hit->stationID();
156 int la=hit->pixelLayerID();
169 m_pixelHits[st][la].at(lb_index).Fill(hit->pixelRowIDChip(),hit->pixelColIDChip());
181 nTrks[track->stationID()]++;
182 for(
const auto& cluster : track->clusters()){
183 nClusterHits[(*cluster)->stationID()]++;
184 nClusterHistPerPlane[(*cluster)->stationID()][(*cluster)->pixelLayerID()]++;
192 if(nTrks[track->stationID()] != 1)
continue;
194 for (
const auto& cluster : track->clusters())
196 int st=(*cluster)->stationID();
197 int la=(*cluster)->pixelLayerID();
213 if(nClusterHits[st]<3 || nClusterHits[st]>4)
continue;
214 if(nClusterHistPerPlane[st][la]>1)
continue;
216 m_pixelCluster[st][la].at(lb_index).Fill((*cluster)->xLocal(),(*cluster)->yLocal());
218 double dx = 1e3*(track->xLocal() + (*cluster)->zLocal()*track->xSlope() - (*cluster)->xLocal());
219 double dy = 1e3*(track->yLocal() + (*cluster)->zLocal()*track->ySlope() - (*cluster)->yLocal());
240 return StatusCode::SUCCESS;