38 if (!vertexContainer.isValid()){
41 return StatusCode::FAILURE;
43 auto pvcont = vertexContainer.cptr();
44 if ( pvcont == 0 || pvcont->size()==0 ) {
46 return StatusCode::FAILURE;
48 for (
const auto vx : *pvcont) {
58 ATH_MSG_DEBUG(
"Could not find a primary vertex in this event" );
59 for (
auto theVertex : *pvcont) {
78 if (!pfoContainer.isValid()){
81 return StatusCode::FAILURE;
83 auto cpfos = pfoContainer.cptr();
97 dec_z0(*cpfo) = ptrk->
z0();
98 dec_vz(*cpfo) = ptrk->
vz();
99 dec_d0(*cpfo) = ptrk->
d0();
100 dec_theta(*cpfo) = ptrk->
theta();
104 const static SG::AuxElement::ConstAccessor<int> accIsInDE(
"IsInDenseEnvironment");
105 if(accIsInDE.isAvailable(*cpfo)){
110 dec_corrP4_pt(*cpfo) = weight*cpfo->pt();
111 dec_envWeight(*cpfo) = weight;
114 return StatusCode::SUCCESS;
float theta() const
Returns the parameter, which has range 0 to .
float vz() const
The z origin for the parameters.