~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/reduce/ReduceCppKLPlot/ReduceCppKLPlot.cc

  • Committer: Adam Dobbs
  • Date: 2016-09-14 16:28:53 UTC
  • mfrom: (659.2.49 release-candidate)
  • Revision ID: phuccj@gmail.com-20160914162853-6cyg9n8322bsl9jh
Tags: MAUS-v2.6, MAUS-v2.6.0
MAUS-v2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include "src/common_cpp/DataStructure/ImageData/ImageData.hh"
30
30
#include "src/common_cpp/DataStructure/ImageData/Image.hh"
31
31
#include "src/common_cpp/DataStructure/ImageData/CanvasWrapper.hh"
32
 
#include "src/legacy/Interface/Squeak.hh"
 
32
#include "Utils/Squeak.hh"
33
33
#include "src/reduce/ReduceCppKLPlot/ReduceCppKLPlot.hh"
34
34
 
35
35
 
51
51
void ReduceCppKLPlot::_birth(const std::string& str_config) {
52
52
 
53
53
  if (!_output) {
54
 
    throw MAUS::Exception(Exception::nonRecoverable,
 
54
    throw MAUS::Exceptions::Exception(Exceptions::nonRecoverable,
55
55
                          "The output is disconnected.",
56
56
                          "ReduceCppKLPlot::_birth");
57
57
  }
123
123
 
124
124
void ReduceCppKLPlot::_process(MAUS::Data* data) {
125
125
  if (data == NULL)
126
 
    throw Exception(Exception::recoverable, "Data was NULL",
 
126
    throw Exceptions::Exception(Exceptions::recoverable, "Data was NULL",
127
127
                    "ReduceCppKLPlot::_process");
128
128
 
129
129
  if (data->GetSpill() == NULL)
130
 
    throw Exception(Exception::recoverable, "Spill was NULL",
 
130
    throw Exceptions::Exception(Exceptions::recoverable, "Spill was NULL",
131
131
                    "ReduceCppKLPlot::_process");
132
132
 
133
133
  std::string ev_type = data->GetSpill()->GetDaqEventType();
135
135
     return;
136
136
 
137
137
  if (data->GetSpill()->GetReconEvents() == NULL)
138
 
     throw Exception(Exception::recoverable, "ReconEvents were NULL",
 
138
     throw Exceptions::Exception(Exceptions::recoverable, "ReconEvents were NULL",
139
139
                        "ReduceCppKLPlot::_process");
140
140
 
141
141
  int xRun = data->GetSpill()->GetRunNumber();