24 ,
m_jtcTool(
"CP::JetTileCorrectionTool/JetTileCorrectionTool", this )
38 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
54 return StatusCode::SUCCESS;
70 for( ; jet_itr != jet_end; ++jet_itr ){
77 jet->makePrivateStore( **jet_itr );
91 std::string str_status=
"";
94 str_status =
"NotAffected";
96 str_status =
"EdgeAffected";
98 str_status =
"CoreAffected";
100 str_status =
"Unknown";
102 ATH_MSG_INFO(
"Jet status : " << str_status <<
", Pt raw = " <<
acc_ptraw(*
jet)*0.001 <<
" GeV, Pt corrected = " <<
jet->pt()*0.001 <<
" GeV");
106 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Helper class to provide type-safe access to aux data.
static const SG::Accessor< unsigned int > acc_tileok("TileStatus")
static const SG::Accessor< float > acc_ptraw("Ptraw")
AthAnalysisAlgorithm(const std::string &name)
Constructor taking just a name.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
Return value from object correction CP tools.
@ OutOfValidityRange
Input object is out of validity range.
@ Ok
The correction was done successfully.
virtual StatusCode execute()
virtual ~JetTileCorrectionAlg()
virtual StatusCode initialize()
virtual StatusCode finalize()
virtual StatusCode firstExecute()
Function called when first execute is encountered user can read event information with evtStore()
JetTileCorrectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IJetTileCorrectionTool > m_jtcTool
DataModel_detail::const_iterator< DataVector > const_iterator
Helper class to provide type-safe access to aux data.
Select isolated Photons, Electrons and Muons.
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".