Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
22 msg.msg(MSG::ERROR) <<
"Link not available for firstEgMotherPdgId...BAD!!!" <<
endmsg;
23 msg.msg(MSG::ERROR) <<
"Need to have present: ( !(ele.isAvailable<int>('firstEgMotherPdgId')) )" <<
endmsg;
27 truthcharge = (-1)*firstEgMotherPdgIdAcc(ele);
29 truthcharge = (0 < truthcharge) - (truthcharge < 0);
43 int firstEgPdgId = -9999;
50 msg.msg(MSG::ERROR) <<
"firstEgMotherPdgId IS NOT AVAILABLE!!" <<
endmsg;
55 firstEgPdgId = firstEgMotherPdgIdAcc(ele);
57 if ( std::abs(firstEgPdgId) != 11) {
@ OutOfValidityRange
Input object is out of validity range.
Class mimicking the AthMessaging class from the offline software.
CP::CorrectionCode isGoodEle(const xAOD::Electron &ele, bool &goodEle)
Return true if it's good ele for charge flip measurements.
CP::CorrectionCode getEleTruthCharge(const xAOD::Electron &ele, int &truthcharge)
Get the charge of the original electron.
@ Ok
The correction was done successfully.
Return value from object correction CP tools.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Helper class to provide constant type-safe access to aux data.