Commit 2143ad49 authored by Lennart Huth's avatar Lennart Huth
Browse files

removing debug histpgra,

parent 6e676c66
......@@ -106,8 +106,6 @@ void EventLoaderEUDAQ2::initialize() {
title = " # events per corry event; number of events from " + detector_->getName() + " per corry event;# entries";
hEudaqeventsPerCorry = new TH1D("hEudaqeventsPerCorryEvent", title.c_str(), 50, -.5, 49.5);
title = " col vs pivot; pivot ; col";
ColVsPivot = new TH2D("hColVSPIVOT", title.c_str(), 580, 0, 580, 580, 0, 580);
title = "number of hits in corry frame vs number of eudaq frames;eudaq frames;# hits";
hHitsVersusEUDAQ2Frames = new TH2D("hHitsVersusEUDAQ2Frames", title.c_str(), 15, -.5, 14.5, 200, -0.5, 199.5);
// Create the following histograms only when detector is not auxiliary:
......@@ -428,7 +426,6 @@ PixelVector EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<eudaq::StandardEve
auto col = static_cast<int>(plane.GetX(i));
auto row = static_cast<int>(plane.GetY(i));
ColVsPivot->Fill(plane.PivotPixel() / 16., row);
auto raw = static_cast<int>(plane.GetPixel(i)); // generic pixel raw value (could be ToT, ADC, ...)
double ts;
......@@ -438,8 +435,6 @@ PixelVector EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<eudaq::StandardEve
// redefined to time begin/end == trigger timestamp in get_trigger_position (see above), i.e. in
// that case, all pixel timestamp will be set to the corresponding trigger timestamp.
ts = static_cast<double>(evt->GetTimeBegin() + evt->GetTimeEnd()) / 2 / 1000 + detector_->timeOffset();
// FIXMe - not to be put to master
raw = static_cast<int>(plane.PivotPixel() / 16);
} else {
ts = static_cast<double>(plane.GetTimestamp(i)) / 1000 + detector_->timeOffset();
}
......
......@@ -170,7 +170,6 @@ namespace corryvreckan {
TH1D* hTriggersPerEvent;
TH1D* hEudaqeventsPerCorry;
TH2D* hHitsVersusEUDAQ2Frames;
TH2D* ColVsPivot;
std::map<std::string, TH1D*> tagHist;
std::map<std::string, TProfile*> tagProfile;
......
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