36 TAxis *axis = h->GetXaxis();
37 int bins = axis->GetNbins();
38 Axis_t min = axis->GetXmin();
39 Axis_t max = axis->GetXmax();
43 for (
int i = 0; i <=
bins; i++) {
44 new_bins[i] = TMath::Power(10, min + i * width);
71 catch(
const exception &error) {
82 s->configure(inputFile);
85 JFrameIndexRange range (s->begin()->getFrameIndex() , s->rbegin()->getFrameIndex());
98 for ( ; scanner.hasNext() && counter != inputFile.getLimit(); ++counter) {
102 for(JDAQTimeslice::const_iterator frame = slice->begin() ; frame != slice->end() ; ++frame) {
121 double width = i->second->GetXaxis()->GetBinWidth(
j);
122 i -> second->SetBinContent(
j ,i->second->GetBinContent(
j)/width);
123 i -> second->SetBinError (
j ,i->second->GetBinError (
j)/width);
KM3NeT DAQ constants, bit handling, etc.
int main(int argc, char **argv)
Dynamic ROOT object management.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
ROOT TTree parameter settings of various packages.
Template definition of a multi-dimensional oscillation probability interpolation table.
int getFrameIndex() const
Get frame index.
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
bool putObject(TDirectory &dir, const TObject &object)
Write object to ROOT directory.
KM3NeT DAQ data structures and auxiliaries.
double getFrameTime()
Get frame time duration.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Auxiliary class to select ROOT class based on class name.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.