FileGap.cxx File Reference

#include "FileGap.h"
#include <Validity/VldContext.h>
#include <DatabaseInterface/DbiSqlContext.h>
#include <Conventions/Detector.h>
#include <Conventions/SimFlag.h>
#include <algorithm>
#include <iostream>
#include <TSystem.h>

Go to the source code of this file.

Functions

bool bound_less_than (const FileGap::Bound &a, const FileGap::Bound &b)
static void dump_file_summary (const BeamMonFileSummary *fs)

Function Documentation

bool bound_less_than ( const FileGap::Bound a,
const FileGap::Bound b 
)

Definition at line 26 of file FileGap.cxx.

Referenced by FileGap::GetFileBounds().

00027 {
00028     return a.first<b.first;
00029 }

static void dump_file_summary ( const BeamMonFileSummary fs  )  [static]

Definition at line 84 of file FileGap.cxx.

References BeamMonFileSummary::fFileName, BeamMonFileSummary::fFileSize, BeamMonFileSummary::fFirstSpillTime, BeamMonFileSummary::fLastSpillTime, BeamMonFileSummary::fProtonCount, and BeamMonFileSummary::fSpillCount.

Referenced by FileGap::DumpMissing().

00085 {
00086     cerr << fs->fFileName << " size="
00087          << fs->fFileSize << " "
00088          << fs->fProtonCount << " prot in "
00089          << fs->fSpillCount << " spills, time range: "
00090          << fs->fFirstSpillTime << " --> "
00091          << fs->fLastSpillTime
00092          << endl;
00093 }


Generated on 3 Dec 2018 for loon by  doxygen 1.6.1