Public Types | Public Member Functions | Private Attributes | List of all members
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

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.

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.

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.


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