9 std::ostream& operator<<(std::ostream& os, const
ValRange& vldr)
11 return os << vldr.AsString();
16 : fDetectorMask(0), fSimMask(0),
17 fTimeStart(), fTimeEnd(), fDataSource(
"unknown")
25 const TString& source)
26 : fDetectorMask(detMask), fSimMask(simMask),
27 fTimeStart(tstart), fTimeEnd(tend), fDataSource(source)
54 static char newstring[255] =
" ";
59 Bool_t opt_a = opt.Contains(
"a");
60 Bool_t opt_c = opt.Contains(
"c");
74 sprintf(newstring,
"sim %#4.4x",
fSimMask);
80 static char timeopt[4] =
"c ";
81 timeopt[0] = (opt.Contains(
"s")?
's':
'c');
84 if ( ! opt.Contains(
"1")) {
86 if ( !opt_c ) { end_str.Prepend(
"\n\t "); }
87 else { end_str.Prepend(
" "); }
89 if ( ! opt_c ) { start_str.Prepend(
"\n\t "); }
92 if ( ! opt.Contains(
"-")) {
93 source += (opt_c) ?
" '" :
"\n\t from source: ";
95 source += (opt_c) ?
"'" :
"";
100 (
const char*)detbits,
101 (
const char*)simbits,
102 (
const char*)start_str,
103 (
const char*)end_str,
104 (
const char*)source);