Commit e6b4bd81 authored by Riccardo Longo's avatar Riccardo Longo
Browse files

bug fixing for alignment initialization

parent 3f01879d
......@@ -118,6 +118,8 @@ void DataReader::LoadAlignmentFile(std::string _inFile ){
return;
}
m_alignment = new Alignment();
std::cout << "Loading .xml Alignment File..." << std::endl;
std::cout << "Found " << m_XMLparser->getBaseNodeCount("Alignment") << " alignment entries " << std::endl;
std::cout << "Retrieving the information for run " << m_runNumber << std::endl;
......@@ -168,6 +170,7 @@ void DataReader::LoadConfigurationFile(std::string _inFile ){
//Discard entries for any channel that does not apply to our run
if(m_runNumber < first_run || m_runNumber > last_run) continue;
//If the entry applies, we store it in the vector
m_XMLparser->getChildValue("channel",i,"detector",buffer_ch->detector);
m_XMLparser->getChildValue("channel",i,"name",buffer_ch->name);
......
Supports Markdown
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