43     JParser<> zap(
"Auxiliary program to project single PMT data from 2D histogram.");
 
   45     zap[
'a'] = 
make_field(detectorFile,   
"detector file.");
 
   46     zap[
'f'] = 
make_field(inputFile,      
"input file.");
 
   54   catch(
const exception &error) {
 
   55     FATAL(error.what() << endl);
 
   59   gErrorIgnoreLevel = kError;
 
   87       cout << setw(3) << i << 
" -> (" << 
FILL(2,
'0') << 
pair.first << 
"," << 
FILL(2,
'0') << 
pair.second << 
FILL() << 
")" << endl;
 
   91   TFile in(inputFile.c_str(), 
"read");
 
  100            h2->GetYaxis()->GetNbins(), h2->GetYaxis()->GetXmin(), h2->GetYaxis()->GetXmax());
 
  103            module.size(), -0.5, module.size() - 0.5,
 
  104            h2->GetYaxis()->GetNbins(), h2->GetYaxis()->GetXmin(), h2->GetYaxis()->GetXmax());
 
  106   for (
int i = 0; i != (int) module.size(); ++i) {
 
  112       for (Int_t iy = 1; iy <= h2->GetYaxis()->GetNbins(); ++iy) {
 
  114         ha.SetBinContent(iy,       ha.GetBinContent(iy) + h2->GetBinContent(ix,iy));
 
  115         ha.SetBinError  (iy, hypot(ha.GetBinError  (iy),  h2->GetBinError  (ix,iy)));
 
  117         hb.SetBinContent(i + 1, iy, h2->GetBinContent(ix,iy));
 
  118         hb.SetBinError  (i + 1, iy, h2->GetBinError  (ix,iy));
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
#define MAKE_CSTRING(A)
Make C-string.
 
Router for direct addressing of module data in detector data structure.
 
Data structure for a composite optical module.
 
int getModuleID() const
Get module identifier.
 
int getTDC() const
Get TDC.
 
Utility class to parse command line options.
 
static const char *const _2S
Name extension for 2D counts.
 
static const char *const _2F
Name extension for 2F rate fitted.
 
static const char *const _2R
Name extension for 2D rate measured.
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary data structure for sequence of same character.
 
Auxiliary class to sort pairs of PMT addresses within optical module.