25 #include "WConverterIndexes.h" 
   34     m_parentID = protonData->getColumnIndexBySelection( 
"Parent id" );
 
   35     m_posX = protonData->getColumnIndexBySelection( 
"X" );
 
   36     m_posY = protonData->getColumnIndexBySelection( 
"Y" );
 
   37     m_posZ = protonData->getColumnIndexBySelection( 
"Z" );
 
   38     m_edep = protonData->getColumnIndexBySelection( 
"Energy deposition" );
 
   39     m_PDGEncoding = protonData->getColumnIndexBySelection( 
"Particle Data Group" );
 
   40     m_eventID = protonData->getColumnIndexBySelection( 
"Event id" );
 
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.
 
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