30 declareInterface<IJetConstituentModifier>(
this);
72 size_t pos = inputContainerBase.find(
"ParticleFlowObjects");
73 if(pos != std::string::npos) inputContainerBase.erase(pos);
75 pos = outputContainerBase.find(
"ParticleFlowObjects");
76 if(pos != std::string::npos) outputContainerBase.erase(pos);
105 const std::string subString =
"ParticleFlowObjects";
106 const std::string subStringCharged =
"ChargedParticleFlowObjects";
107 const std::string subStringNeutral =
"NeutralParticleFlowObjects";
123 size_t pos = inputContainerBase.find(subString);
124 if(pos != std::string::npos) {
126 m_inChargedFEKey = inChargedString.replace(pos,subString.size(),subStringCharged);
128 m_inNeutralFEKey = inNeutralString.replace(pos,subString.size(),subStringNeutral);
135 pos = outputContainerBase.find(subString);
136 if(pos != std::string::npos) {
138 m_outChargedFEKey = outChargedString.replace(pos,subString.size(),subStringCharged);
140 m_outNeutralFEKey = outNeutralString.replace(pos,subString.size(),subStringNeutral);
149 pos = outputContainerBase.find(subString);
150 if(pos == std::string::npos)
m_outAllFEKey = outputContainerBase + subString;
183 return StatusCode::FAILURE;
186 return StatusCode::SUCCESS;
202 if(!
sc.isSuccess())
return 1;
208 if(!
sc.isSuccess())
return 1;
213 if(!
sc.isSuccess())
return 1;
220 if(!
sc.isSuccess()){
return 1;}
230 #ifndef XAOD_ANALYSIS
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Header file to be included by clients of the Monitored infrastructure.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
SG::ReadHandleKey< xAOD::FlowElementContainer > m_inChargedFEKey
StatusCode copyModRecord(const SG::ReadHandleKey< T > &, const SG::WriteHandleKey< T > &) const
helper function to cast, shallow copy and record a container.
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< bool > m_byVertex
SG::WriteHandleKey< xAOD::PFOContainer > m_outChargedPFOKey
Gaudi::Property< std::string > m_outputContainer
SG::WriteHandleKey< xAOD::PFOContainer > m_outNeutralPFOKey
SG::ReadHandleKey< xAOD::PFOContainer > m_inChargedPFOKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
SG::WriteHandleKey< xAOD::PFOContainer > m_outAllPFOKey
SG::WriteHandleKey< xAOD::TrackCaloClusterContainer > m_outTCCKey
SG::WriteHandleKey< xAOD::FlowElementContainer > m_outAllFEKey
SG::WriteHandleKey< xAOD::FlowElementContainer > m_outNeutralFEKey
SG::ReadDecorHandleKeyArray< xAOD::FlowElementContainer > m_inChargedFEDecorKeys
SG::ReadHandleKey< xAOD::TrackCaloClusterContainer > m_inTCCKey
unsigned short m_inputType
int execute() const
Method to be called for each event.
JetConstituentModSequence(const std::string &name)
StatusCode initialize()
Dummy implementation of the initialisation function.
ToolHandleArray< IJetConstituentModifier > m_modifiers
Gaudi::Property< std::string > m_inputContainer
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outClusterKey
SG::ReadHandleKey< xAOD::PFOContainer > m_inNeutralPFOKey
StatusCode copyModRecordFlowLike(const SG::ReadHandleKey< T > &, const SG::ReadHandleKey< T > &, const SG::WriteHandleKey< T > &, const SG::WriteHandleKey< T > &, const SG::WriteHandleKey< T > &) const
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inClusterKey
SG::ReadDecorHandleKeyArray< xAOD::FlowElementContainer > m_inNeutralFEDecorKeys
SG::WriteHandleKey< xAOD::FlowElementContainer > m_outChargedFEKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_inNeutralFEKey
Group of local monitoring quantities and retain correlation when filling histograms
@ ParticleFlow
The object is a particle-flow object.
@ FlowElement
The object is a track-calo-cluster.
@ CaloCluster
The object is a calorimeter cluster.
@ TrackCaloCluster
The object is a track-calo-cluster.