Commit 6b4f8fd9 authored by Adrien Matta's avatar Adrien Matta
Browse files

* fixing compilation of hodoscope

parent 8073c3d1
Pipeline #116912 passed with stages
in 15 minutes and 50 seconds
......@@ -215,8 +215,9 @@ void TSamuraiHodoscopePhysics::ReadConfiguration(NPL::InputParser parser) {
if(NPOptionManager::getInstance()->GetVerboseLevel())
cout << endl << "//// SamuraiHodoscope " << i+1 << endl;
string XML= blocks[i]->GetString("XML");
NPL::XmlParser xml(XML);
string xmlpath= blocks[i]->GetString("XML");
NPL::XmlParser xml;
xml.LoadFile(xmlpath);
ReadXML(xml);
}
else{
......@@ -227,7 +228,10 @@ void TSamuraiHodoscopePhysics::ReadConfiguration(NPL::InputParser parser) {
}
///////////////////////////////////////////////////////////////////////////
void ReadXML()
void TSamuraiHodoscopePhysics::ReadXML(NPL::XmlParser& xml){
}
///////////////////////////////////////////////////////////////////////////
void TSamuraiHodoscopePhysics::InitSpectra() {
//m_Spectra = new TSamuraiHodoscopeSpectra(m_NumberOfDetectors);
......
......@@ -77,18 +77,10 @@ class TSamuraiHodoscopePhysics : public TObject, public NPL::VDetector {
// calibration parameter original ID vs coeff
map<unsigned int , double > qup_gain;
map<unsigned int , double > qup_offset;
map<unsigned int , double > qup_gain;
map<unsigned int , double > qup_offset;
map<unsigned int , double > tup_gain;
map<unsigned int , double > tup_offset;
map<unsigned int , double > tup_gain;
map<unsigned int , double > tup_offset;
map<unsigned int , double > qdw_gain;
map<unsigned int , double > qdw_offset;
map<unsigned int , double > qdw_gain;
map<unsigned int , double > qdw_offset;
map<unsigned int , double > tdw_gain;
map<unsigned int , double > tdw_offset;
map<unsigned int , double > tdw_gain;
map<unsigned int , double > tdw_offset;
......
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