Commit 4ae51443 authored by Cyril Lenain's avatar Cyril Lenain 🏄🏽
Browse files

adding getters for SamuraiHodoscope & Minos

parent c0e0c3de
Pipeline #122642 passed with stages
in 4 minutes and 29 seconds
......@@ -160,6 +160,9 @@ class TMinosPhysics : public TObject, public NPL::VDetector {
double GetVertexX() {return X_Vertex;} //!
double GetVertexY() {return Y_Vertex;} //!
double GetVertexZ() {return Z_Vertex;} //!
double GetDeltaVertex() {return Delta_Vertex;} //!
double GetTheta12() {return Theta_12;} //!
int GetNbrOfTracks(){return Tracks_P0.size();}
......@@ -156,6 +156,11 @@ class TSamuraiHodoscopePhysics : public TObject, public NPL::VDetector {
// clear the pre-treated object
void ClearPreTreatedData() {m_PreTreatedData->Clear();}
vector <double> GetCharge() {return Charge;}
vector <double> GetTime() {return Time;}
vector<int> GetID(unsigned int i) {return ID;}
// give and external TSamuraiHodoscopeData object to TSamuraiHodoscopePhysics.
// needed for online analysis for example
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment