Jpp - the software that should make you happy
|
Auxiliary program to merge the time offsets of two detector files. More...
#include <string>
#include <iostream>
#include <iomanip>
#include "TROOT.h"
#include "TFile.h"
#include "TH1D.h"
#include "TH2D.h"
#include "JDAQ/JDAQTimesliceIO.hh"
#include "JGeometry3D/JQuaternion3D.hh"
#include "JTools/JRange.hh"
#include "JTools/JConstants.hh"
#include "JTools/JQuantile.hh"
#include "JDetector/JDetector.hh"
#include "JDetector/JDetectorToolkit.hh"
#include "JDetector/JModuleRouter.hh"
#include "JTrigger/JTriggerToolkit.hh"
#include "Jeep/JPrint.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Auxiliary program to merge the time offsets of two detector files.
The time offsets can be averaged (-T "average") or merge accordingly to the odd/even PMT identification (-T "odd"). If the keyword odd
is used, the time offsets of the PMTs with an odd identity are extracted from the detector file corresponding to the -a option. The other time offsets are extracted from the detector file corresponding to the -b option. The parity is calculated as following:
(floor id - 1)*31 + PMT id
Definition in file mergeTimeOffsets.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 65 of file mergeTimeOffsets.cc.