18 m_h3_w=
new TH3F(
"h3_w",
"; #it{#eta}; #it{phi}; Sampling",100,-5,5,64,-TMath::Pi(),TMath::Pi(),24,-0.5,23.5);
19 m_h3_eta=
new TH3F(
"h3_eta",
"; #it{#eta}; #it{phi}; Sampling",100,-5,5,64,-TMath::Pi(),TMath::Pi(),24,-0.5,23.5);
20 m_h3_phi=
new TH3F(
"h3_phi",
"; #it{#eta}; #it{phi}; Sampling",100,-5,5,64,-TMath::Pi(),TMath::Pi(),24,-0.5,23.5);
21 m_h3_R=
new TH3F(
"h3_R",
"; #it{#eta}; #it{phi}; Sampling",100,-5,5,64,-TMath::Pi(),TMath::Pi(),24,-0.5,23.5);
27 return StatusCode::SUCCESS;
36 return(StatusCode::FAILURE);
43 return(StatusCode::FAILURE);
47 for(
auto towerItr : *navInColl)
53 towerItr->fillToken(cellToken,
double(1.));
54 if ( cellToken.
size() == 0 )
continue;
56 cellItr != cellToken.
end(); ++cellItr )
59 int layer = (*cellItr)->caloDDE()->getSampling();
60 double cell_x=(*cellItr)->caloDDE()->x();
61 double cell_y=(*cellItr)->caloDDE()->y();
62 double cell_z=(*cellItr)->caloDDE()->z();
63 double cell_r2=cell_x*cell_x+cell_y*cell_y+cell_z*cell_z;
64 float deta=(*cellItr)->caloDDE()->deta();
65 float dphi=(*cellItr)->caloDDE()->dphi();
66 float area= std::abs(deta*dphi)*geoWeight;
74 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;