Jpp
|
#include <string>
#include <iostream>
#include <sstream>
#include <iomanip>
#include "JDAQ/JDAQ.hh"
#include "JDAQ/JDAQTimeslice.hh"
#include "JSupport/JMultipleFileScanner.hh"
#include "JSupport/JSupport.hh"
#include "JDetector/JDetector.hh"
#include "JDetector/JModuleRouter.hh"
#include "JTrigger/JSuperFrame2D.hh"
#include "JTrigger/JHitR0.hh"
#include "JTrigger/JHitL0.hh"
#include "JTrigger/JHitToolkit.hh"
#include "JTrigger/JTriggerParameters.hh"
#include "JTrigger/JTimesliceRouter.hh"
#include "TH1D.h"
#include "TH2D.h"
Go to the source code of this file.
Functions | |
int | get_offset (JPMT pmt, JModule NB, double c_w, IO options) |
Calculates an offset for a combinataion nanobeacon-pmt that allows to define the histogram range in a time window containing the corresponding pulse. More... | |
vector< vector< TH2D * > > | allocate_histograms (JDetector detector, IO options, double c_w, vector< int > top_pmts, vector< int > bottom_pmts, int max_distance) |
Allocates histograms to store the tot vs time hit distribution for all the combinations nanobeacon - pmt. More... | |
void | fill_histograms (vector< vector< TH2D * > > &histograms, IO options, JDetector detector, vector< int > top_pmts, vector< int > bottom_pmts, int max_distance) |
Fills the hit time vs ToT histograms for all the combinations nanobeacon - pmt. More... | |
vector< vector< TH1D * > > | project_ToT (vector< vector< TH2D * > > ToT_vs_time) |
Projects the hit time vs ToT histograms for all the combinations nanobeacon - pmt on the Y axis. More... | |
vector< vector< TH1D * > > | project_time (vector< vector< TH2D * > > ToT_vs_time) |
Projects the hit time vs ToT histograms for all the combinations nanobeacon - pmt on the X axis. More... | |
Calculates an offset for a combinataion nanobeacon-pmt that allows to define the histogram range in a time window containing the corresponding pulse.
pmt | The target pmt |
NB | The source module |
c_w | The speed light in water |
options | user options containing the stagger and pulse delay information |
Definition at line 53 of file JPulseFinder_utils.hh.
|
inline |
Allocates histograms to store the tot vs time hit distribution for all the combinations nanobeacon - pmt.
detector | The detector containing the DU to be analyzed |
options | user options containing the string number and the list of used nanobeacons |
c_w | The speed light in water |
top_pmts | List of FPGA channels for pmts in the upper hemisphere |
bottom_pmts | List of FPGA channels for pmts in the lower hemisphere. |
max_distance | Maximum distance between modules |
Definition at line 86 of file JPulseFinder_utils.hh.
|
inline |
Fills the hit time vs ToT histograms for all the combinations nanobeacon - pmt.
histograms | The vector of histograms to be filled |
options | User options containing the string number and the list files to be read |
detector | The detector containing the DU to be analyzed |
top_pmts | List of FPGA channels for pmts in the upper hemisphere |
bottom_pmts | List of FPGA channels for pmts in the lower hemisphere. |
max_distance | Maximum distance between modules |
Definition at line 159 of file JPulseFinder_utils.hh.
Projects the hit time vs ToT histograms for all the combinations nanobeacon - pmt on the Y axis.
ToT_vs_time | The vector of histograms to be projected |
Definition at line 270 of file JPulseFinder_utils.hh.
Projects the hit time vs ToT histograms for all the combinations nanobeacon - pmt on the X axis.
ToT_vs_time | The vector of histograms to be projected |
Definition at line 300 of file JPulseFinder_utils.hh.