28 int main(
int argc,
char **argv) {
42 cout <<
"Calibrating DOM t0s with run number: " << run.
getRunNumber() << endl ;
44 cout << options.
ifname << endl ;
vector< SuperModule * > getSuperModules()
Get the SuperModules in the DU.
void write_output_checks(string filename, NBRun &run)
Writes a .root file with some objects that can be used to check the calibration.
Structure to store the different command line arguments for JRunAnalyzer.
JDetector Update_Detector(JDetector detector, const vector< SuperModule * > &SuperMods)
Produces a new detector file by updating the existing t0s of the PMTs.
void write_output_compare(string filename, const JDetector &old_detector, const JDetector &new_detector, int string_number, int ref_pmt, int tgt_pmt)
Writes a .txt with the comparison of the t0s in a given DU for two JDetectors.
int read_options(IO &options, int argc, char **argv)
Parses the command line options and fills an IO structure with them.
void write_output_det(string filename, const JDetector &detector)
Writes a .detx file with a JDetector.
JDetector loadDetector(string detectorFile)
Loads the content of a detector file in a JDetector object.
Direct access to PMT in detector data structure.
int getRunNumber()
Get run number.
void analyze(int option)
Loops over all the SUPERMODULES.
Class dedicated to the nanobeacon analyses, where the Modules in the detector are not regarded as sin...
int main(int argc, char *argv[])