LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
larpandoraobj::PFParticleMetadata Class Reference

Metadata associated to PFParticles. More...

#include "PFParticleMetadata.h"

Public Types

typedef std::map< std::string, float > PropertiesMap
 

Public Member Functions

 PFParticleMetadata ()
 Default constructor. More...
 
 PFParticleMetadata (const PropertiesMap &propertiesMap)
 Constructor given a properties map (std::map<string,float>) More...
 
Accessors
const PropertiesMapGetPropertiesMap () const
 
Set method
void SetPropertiesMap (const PropertiesMap &propertiesMap)
 

Private Attributes

PropertiesMap m_propertiesMap
 The properties map. More...
 

Detailed Description

Metadata associated to PFParticles.

Originally defined in larpandora, moved to lardataobj for usage in other packages avoiding circular dependencies

This metadata contains information provided by pandora (e.g. IsClearCosmic, TrackScore, NuScore, etc) which is stored and accessed via a std::map<std::string, float>

Definition at line 27 of file PFParticleMetadata.h.

Member Typedef Documentation

typedef std::map<std::string, float> larpandoraobj::PFParticleMetadata::PropertiesMap

Definition at line 32 of file PFParticleMetadata.h.

Constructor & Destructor Documentation

larpandoraobj::PFParticleMetadata::PFParticleMetadata ( )

Default constructor.

Definition at line 13 of file PFParticleMetadata.cxx.

13 {}
larpandoraobj::PFParticleMetadata::PFParticleMetadata ( const PropertiesMap propertiesMap)

Constructor given a properties map (std::map<string,float>)

Definition at line 16 of file PFParticleMetadata.cxx.

17  : m_propertiesMap(propertiesMap)
18  {}
PropertiesMap m_propertiesMap
The properties map.

Member Function Documentation

const PFParticleMetadata::PropertiesMap & larpandoraobj::PFParticleMetadata::GetPropertiesMap ( ) const

Definition at line 21 of file PFParticleMetadata.cxx.

References m_propertiesMap.

Referenced by lar_pandora::LArPandoraExternalEventBuilding::GetMetadataValue().

22  {
23  return m_propertiesMap;
24  }
PropertiesMap m_propertiesMap
The properties map.
void larpandoraobj::PFParticleMetadata::SetPropertiesMap ( const PropertiesMap propertiesMap)

Definition at line 28 of file PFParticleMetadata.cxx.

References m_propertiesMap.

29  {
30  m_propertiesMap = propertiesMap;
31  }
PropertiesMap m_propertiesMap
The properties map.

Member Data Documentation

PropertiesMap larpandoraobj::PFParticleMetadata::m_propertiesMap
private

The properties map.

Definition at line 51 of file PFParticleMetadata.h.

Referenced by GetPropertiesMap(), and SetPropertiesMap().


The documentation for this class was generated from the following files: