25 #ifndef WCONVERTERINDEXES_H
26 #define WCONVERTERINDEXES_H
31 #include "WProtonData.h"
43 typedef std::shared_ptr< WConverterIndexes >
SPtr;
Holds the indexes of the columns and is able to update them.
int getPosY()
Gets the posY index as integer.
int m_posZ
The posZ index.
int getParentID()
Gets the parentID index as integer.
int getEventID()
Gets the eventID index as integer.
WConverterIndexes()
Empty constructor for class creation.
int m_parentID
The parentID index.
int m_posY
The posY index.
int getPosZ()
Gets the posZ index as integer.
int getEdep()
Gets the edep index as integer.
int getPosX()
Gets the posX index as integer.
int m_eventID
The eventID index.
std::shared_ptr< WConverterIndexes > SPtr
A shared_ptr to this class.
int m_posX
The posX index.
void update(WProtonData::SPtr protonData)
Updates the indexes based on the data given.
int getPDGEncoding()
Gets the PDGEncoding index as integer.
int m_PDGEncoding
The PDGEncoding index.
int m_edep
The edep index.
std::shared_ptr< WProtonData > SPtr
shared_ptr that points to itself