LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 33 of file PFParticleMetadata.h.

Constructor & Destructor Documentation

larpandoraobj::PFParticleMetadata::PFParticleMetadata ( )

Default constructor.

Definition at line 13 of file PFParticleMetadata.cxx.

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

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

Definition at line 17 of file PFParticleMetadata.cxx.

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

Member Function Documentation

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

Definition at line 23 of file PFParticleMetadata.cxx.

References m_propertiesMap.

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

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

Definition at line 30 of file PFParticleMetadata.cxx.

References m_propertiesMap.

31  {
32  m_propertiesMap = propertiesMap;
33  }
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: