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;
 
   89     const EventContext& ctx = Gaudi::Hive::currentContext();
 
   96         return StatusCode::SUCCESS;
 
  119                               400,-20, 20, 400, -20, 20);
 
  135     if (!afpHitContainer.
isValid())
 
  138         return StatusCode::SUCCESS;
 
  143     if(!afpTrackContainer.
isValid()){
 
  145         return StatusCode::SUCCESS;
 
  156         int st=hit->stationID();
 
  157         int la=hit->pixelLayerID();
 
  170         m_pixelHits[
st][la].at(lb_index).Fill(hit->pixelRowIDChip(),hit->pixelColIDChip());
 
  182         nTrks[
track->stationID()]++;
 
  183         for(
const auto& cluster : 
track->clusters()){
 
  184             nClusterHits[(*cluster)->stationID()]++;
 
  185             nClusterHistPerPlane[(*cluster)->stationID()][(*cluster)->pixelLayerID()]++;
 
  193       if(nTrks[
track->stationID()] != 1) 
continue;    
 
  195       for (
const auto& cluster : 
track->clusters())
 
  197           int st=(*cluster)->stationID();
 
  198           int la=(*cluster)->pixelLayerID();
 
  214           if(nClusterHits[
st]<3 || nClusterHits[
st]>4) 
continue; 
 
  215           if(nClusterHistPerPlane[
st][la]>1) 
continue;  
 
  217           m_pixelCluster[
st][la].at(lb_index).Fill((*cluster)->xLocal(),(*cluster)->yLocal());
 
  219           double dx = 1
e3*(
track->xLocal() + (*cluster)->zLocal()*
track->xSlope() - (*cluster)->xLocal());
 
  220           double dy = 1
e3*(
track->yLocal() + (*cluster)->zLocal()*
track->ySlope() - (*cluster)->yLocal());
 
  241     return StatusCode::SUCCESS;
 
  247     std::unique_ptr<TFile> 
output_file(
new TFile(
"AFP_PixelHistoFiller.root",
"recreate"));
 
  249     TH1I 
lb(
"LBRangeLength",
"LBRangeLength",2,0,2);
 
  284     return StatusCode::SUCCESS;