36 return StatusCode::SUCCESS;
43 std::vector<HistData> hists;
44 std::vector<HistData> additional_hists;
70 hists.insert(hists.end(),additional_hists.begin(),additional_hists.end());
72 for (
auto hist : hists) {
73 ATH_MSG_DEBUG(
"Processing histogram named: "<<hist.first->GetName()<<
" (title) "<<hist.first->GetTitle());
77 return StatusCode::SUCCESS;
87 if(!vertexContainerReadHandle.
isValid()){
88 ATH_MSG_WARNING(
"Invalid ReadHandle for xAOD::VertexContainer with key: " << vertexContainerReadHandle.
key());
93 for (
auto vertex : *vertexContainerReadHandle) {
100 if (
nullptr == theVertex)
ATH_MSG_WARNING(
"Did not find either a PriVtx or a NoVtx in this event");
106 if (!eventInfoReadHandle.
isValid()){
107 ATH_MSG_WARNING(
"Invalid ReadHandle for xAOD::EventInfo with key: " << eventInfoReadHandle.
key());
111 if(!FEContainerReadHandle.
isValid()){
112 ATH_MSG_WARNING(
"Invalid ReadHandle for xAOD::FlowElementContainer with key: " << FEContainerReadHandle.
key());
113 return StatusCode::SUCCESS;
116 for (
auto theFE : *FEContainerReadHandle){
126 if(!MuonContainerReadDecorHandle.isValid()){
135 if(!MuonContainerReadDecorHandle.isValid()){
145 if(!ElectronContainerReadDecorHandle.isValid()){
154 if(!ElectronContainerReadDecorHandle.isValid()){
164 if(!PhotonContainerReadDecorHandle.isValid()){
173 if(!PhotonContainerReadDecorHandle.isValid()){
183 if(!TauJetContainerReadDecorHandle.isValid()){
192 if(!TauJetContainerReadDecorHandle.isValid()){
200 return StatusCode::SUCCESS;
205 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
SG::ReadHandleKey< xAOD::FlowElementContainer > m_FEContainerHandleKey
ReadHandle to retrieve xAOD::FlowElementContainer (charged)
bool m_useNeutralFE
Select whether to use neutral or charged FE.
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_tauJetChargedFEReadHandleKey
Read key for getting charged Flow Element link decorations to taus.
std::unique_ptr< LeptonCFEValidationPlots > m_LeptonLinkerPlots_CFE
Pointer to class that deals with histograms for lepton links.
std::unique_ptr< PFONeutralValidationPlots > m_FENeutralValidationPlots
Pointer to class that deals with histograms for neutral FE.
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_electronNeutralFEReadHandleKey
Read key for getting neutral Flow Element link decorations to electrons.
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonChargedFEReadHandleKey
Read key for getting charged Flow Element link decorations to muons.
virtual StatusCode initialize()
Standard AlgTool Functions.
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_tauJetNeutralFEReadHandleKey
Read key for getting neutral Flow Element link decorations to taus.
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_electronChargedFEReadHandleKey
Read key for getting charged Flow Element link decorations to electrons.
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonNeutralFEReadHandleKey
Read key for getting neutral Flow Element link decorations to muons.
virtual ~PhysValFE()
Standard Destructor.
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_photonChargedFEReadHandleKey
Read key for getting charged Flow Element link decorations to photons.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoReadHandleKey
ReadHandleKey for EventInfo.
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_photonNeutralFEReadHandleKey
Read key for getting neutral Flow Element link decorations to photons.
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
std::unique_ptr< LeptonNFEValidationPlots > m_LeptonLinkerPlots_NFE
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerReadHandleKey
ReadHandle to retrieve xAOD::VertexContainer.
PhysValFE(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
std::unique_ptr< PFOChargedValidationPlots > m_FEChargedValidationPlots
Pointer to class that deals with histograms for charged FE.
Handle class for reading a decoration on an object.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
Class describing an electron.
Class describing an photon.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Vertex_v1 Vertex
Define the latest version of the vertex class.