Jpp
18.6.0-rc.1
the software that should make you happy
|
Auxiliary program to edit PMT parameters map. More...
#include <string>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include "JLang/JLangToolkit.hh"
#include "JDetector/JDetector.hh"
#include "JDetector/JDetectorToolkit.hh"
#include "JDetector/JPMTParametersMap.hh"
#include "JDetector/JPMTReadoutAddress.hh"
#include "JDetector/JPMTPhysicalAddress.hh"
#include "JDetector/JModuleAddressMap.hh"
#include "JDetector/JDetectorAddressMap.hh"
#include "JDetector/JDetectorSupportkit.hh"
#include "JDetector/JPMTAnalogueSignalProcessor.hh"
#include "JSupport/JMeta.hh"
#include "JTools/JRange.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 edit PMT parameters map.
Syntax:
-@ "(set|add|sub|mul|div) <key> <value>" -A "<PMT physical address> (set|add|sub|mul|div) <key> <value>" -M "<PMT identifier> (set|add|sub|mul|div) <key> <value>"
In this, the PMT physical address corresponds to the data structure JDETECTOR::JPMTPhysicalAddress and the PMT identifier to JDETECTOR::JPMTIdentifier.
The key corresponds to one of the data members of the JDETECTOR::JPMTParameters data structure.
The option -@
corresponds to the default PMT values.
Note that in the absence of option -a
, the detector identifier should be specified using option -D
so to obtain the correct PMT address mapping.
The default value for option -E
(expectation value for npe given two-fold coincidence) is taken from Analysis e-log entry 519.
The (default) values for option -T
(time-over-threshold range) should correspond to the minimal and maximal value at option -t
of application JCalibrateK40.cc.
The values for option -Q
(QE range) can be used to take into account the light scaling factor applied in the simulation of the detector response.
Multiple options -@
, -A
and -M
will be processed in order of appearance.
Definition in file JEditPMTParameters.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 209 of file JEditPMTParameters.cc.