Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions | Variables
JSUPPORT Namespace Reference

Support classes and methods for experiment specific I/O. More...

Classes

struct  JAutoTreeScanner
 Auxiliary class to select JTreeScanner based on ROOT class name. More...
 
class  JAutoTreeWriter
 Auxiliary class to copy input data to corresponding TTree. More...
 
class  JDAQFileReader
 DAQ object reading from binary file (i.e. More...
 
class  JDAQFileReader< T, true >
 Template specialisation of JDAQFileReader for DAQ compatible data types. More...
 
class  JDAQFileReader< T, false >
 Template specialisation of JDAQFileReader for DAQ incompatible data types. More...
 
class  JDAQWriterObjectOutput
 Auxiliary class for DAQ object writing to binary stream. More...
 
class  JDAQWriterObjectOutput< T, true >
 Implementation of object output for DAQ compatible data types. More...
 
class  JDAQWriterObjectOutput< T, false >
 Implementation of object output for DAQ incompatible data types. More...
 
class  JDAQWriter
 Implementation of object output to binary file for single data type. More...
 
class  JDAQWriter< JTypeList< JHead_t, JTail_t > >
 Implementation of object output to binary file for multiple data types. More...
 
class  JDAQWriter< JTypeList< JHead_t, JNullType > >
 Terminator class of recursive JDAQWriter class. More...
 
class  JDAQFileWriter
 Object(s) writing to binary file (i.e. More...
 
class  JFileRecorder
 Object writing to file. More...
 
class  JFileScanner
 Object reading from file. More...
 
struct  JLimit
 Auxiliary class for defining the range of iterations of objects. More...
 
struct  JMeta
 Auxiliary class for ROOT I/O of application specific meta data. More...
 
struct  JMetaOld_t
 Type definition of old meta data. More...
 
class  JMonteCarloASCIIFileReader
 Template definition of Monte Carlo object reader for ASCII formatted file (i.e. More...
 
class  JMonteCarloGZFileReader
 Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i.e. More...
 
class  JMonteCarloFileReader
 Template definition of Monte Carlo object reader. More...
 
class  JMonteCarloFileReader< Head, JFileReader_t >
 Template specialisation of JMonteCarloFileReader for Head. More...
 
class  JMonteCarloFileReader< Evt, JFileReader_t >
 Template specialisation of JMonteCarloFileReader for Event. More...
 
class  JMonteCarloASCIIFileReader< Head >
 Template implementation of Monte Carlo object reader for ASCII formatted file (i.e. More...
 
class  JMonteCarloASCIIFileReader< Evt >
 Template implementation of Monte Carlo object reader for ASCII formatted file (i.e. More...
 
class  JMonteCarloGZFileReader< Head >
 Template implementation of Monte Carlo object reader for gzipped ASCII formatted file (i.e. More...
 
class  JMonteCarloGZFileReader< Evt >
 Template implementation of Monte Carlo object reader for gzipped ASCII formatted file (i.e. More...
 
class  JMonteCarloStreamObjectOutput< Head >
 Template specialisation of JMonteCarloStreamObjectOutput for Head. More...
 
class  JMonteCarloStreamObjectOutput< Evt >
 Template specialisation of JMonteCarloStreamObjectOutput for Evt. More...
 
class  JMultipleFileScanner< Head >
 Template specialisation of JMultipleFileScanner for Monte Carlo header. More...
 
class  JMonteCarloStreamObjectOutput
 Template definition of Monte Carlo stream output for single data type. More...
 
class  JMonteCarloStreamObjectOutput< JTypeList< JHead_t, JTail_t > >
 Template specialisation of Monte Carlo stream object output for multiple data types. More...
 
class  JMonteCarloStreamObjectOutput< JTypeList< JHead_t, JNullType > >
 Terminator class of recursive JMonteCarloStreamObjectOutput class. More...
 
class  JMonteCarloFileWriter
 Object(s) writing to Monte Carlo ASCII file (i.e .evt) More...
 
struct  JMultipleFileSampler
 Auxiliary class to sample from a list of files. More...
 
struct  JMultipleFileScanner_t
 Auxiliary base class for list of file names. More...
 
class  JMultipleFileScanner
 General purpose class for object reading from a list of file names. More...
 
class  JMultipleFileScanner< JNullType >
 Template specialisation of JMultipleFileScanner for undefined type. More...
 
class  JMultipleFileScanner< JTypeList< JHead_t, JTail_t > >
 Implementation of object reading for multiple data types from a list of file names. More...
 
class  JMultipleFileScanner< JTypeList< JHead_t, JNullType > >
 Terminator class of recursive JMultipleFileScanner class. More...
 
class  JParallelFileScanner
 General purpose class for parallel reading of objects from a single file or multiple files. More...
 
class  JParallelFileScanner< JTypeList< JHead_t, JTail_t >, JFileScanner_t >
 Template specialisation of JParallelFileScanner for multiple data types. More...
 
class  JParallelFileScanner< JTypeList< JHead_t, JNullType >, JFileScanner_t >
 Terminator class of recursive JParallelFileScanner class. More...
 
struct  JRandomSampler
 Template class for randomly sampling from a JRewindableObjectIterator. More...
 
struct  JSingleFileScanner_t
 Auxiliary base class for file name. More...
 
class  JSingleFileScanner
 Object reading from a list of files. More...
 
class  JSingleFileScanner< JNullType >
 Template specialisation of JSingleFileScanner for undefined type. More...
 
class  JSingleFileScanner< JTypeList< JHead_t, JTail_t > >
 Template specialisation of JSingleFileScanner for single data types. More...
 
class  JSingleFileScanner< JTypeList< JHead_t, JNullType > >
 Terminator class of recursive JSingleFileScanner class. More...
 
struct  JSummaryslice
 Auxiliary class to create summary data. More...
 
class  JTreeScanner_t
 Base class for JTreeScanner. More...
 
struct  JTreeScanner
 Template definition for direct access of elements in ROOT TChain. More...
 
struct  JTreeScanner< JNullType, JNullType >
 Auxiliary base class for reporting messages. More...
 
class  JTreeScanner< JAssertConversion< JDerived_t, JBase_t >, JNullType >
 Specialiation of class JTreeScanner for unordered direct access of elements in ROOT TChain. More...
 
struct  JTreeScanner< JClass_t, JNullType >
 Specialiation of class JTreeScanner for unordered direct access of elements in ROOT TChain. More...
 
class  JTreeScanner< JAssertConversion< JDerived_t, JBase_t >, JEvaluator_t >
 Specialiation of class JTreeScanner for ordered direct access of elements in ROOT TChain. More...
 
struct  JTreeScannerInterface
 Auxiliary interface for direct access of elements in ROOT TChain. More...
 
struct  JTreeScannerInterface< JClass_t, JNullType >
 Specialiation of interface JTreeScannerInterface for unordered direct access of elements in ROOT TChain. More...
 
struct  JTriggeredFileScanner
 Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events). More...
 
class  JMultipleFileScanner< JTriggerParameters >
 Template specialisation of JMultipleFileScanner for trigger parameters. More...
 

Typedefs

typedef JLimit JLimit_t
 Type definition of limit. More...
 
typedef JTOOLS::JRange< int > JFrameIndexRange
 Type definition for frame index range. More...
 

Functions

bool isROOTFile (const char *file_name)
 Check file format. More...
 
bool isDAQFile (const char *file_name)
 Check file format. More...
 
bool isMonteCarloFile (const char *file_name)
 Check file format. More...
 
bool isGzipFile (const char *file_name)
 Check file format. More...
 
const char * getName (const JType< JMeta > &type)
 Get ROOT name of given data type. More...
 
int getNumberOfCycles (TFile *file, const TString key)
 Get number of cycles of named objects with same title as given key. More...
 
void getObject (TFile *file, const char *key, JMeta *&ps)
 Read object from ROOT file. More...
 
bool putMeta (TDirectory *dir, const std::string key, const std::string buffer)
 Write meta data as ROOT TNamed object. More...
 
bool putObject (TDirectory *dir, const JMeta &meta)
 Write meta data to ROOT directory. More...
 
const char * getName (const JType< JMetaOld_t > &type)
 Get ROOT name of given data type. More...
 
void getObject (TFile *file, const char *key, JMetaOld_t *&ps)
 Read object from ROOT file. More...
 
bool putObject (TDirectory *dir, const JMetaOld_t &meta)
 Write meta data to ROOT directory. More...
 
Head getHeader (const JMultipleFileScanner_t &file_list)
 Get Monte Carlo header. More...
 
template<class T >
JFrameIndexRange getFrameIndexRange (const std::string &file_name)
 Get range of frame indices for given file name of data taking run. More...
 
double getLivetime (const std::string &file_name)
 Get data taking live time. More...
 
template<class T >
double getLivetime (T __begin, T __end)
 Get data taking live time. More...
 
JTriggerParameters getTriggerParameters (const JMultipleFileScanner_t &file_list)
 Get trigger parameters. More...
 

Variables

static const char *const ROOT_FILE_FORMAT = "root"
 ROOT file name extension. More...
 
static const char *const DAQ_FILE_FORMAT = "dat"
 DAQ binary file name extension. More...
 
static const char *const MONTE_CARLO_FILE_FORMAT = "evt"
 ASCII file name extension. More...
 
static const char *const GZIP_FILE_FORMAT = "gz"
 gzip file name extension More...
 
static const char *const META_NAME = "JMeta"
 ROOT name for meta data. More...
 
static const char *const META_DIRECTORY = "META"
 ROOT sub-directory for meta data. More...
 
static const char *const application_t = "application"
 Definition of meta data parameters. More...
 
static const char *const SVNrelease_t = "SVN"
 SVN release. More...
 
static const char *const GITrelease_t = "GIT"
 GIT release. More...
 
static const char *const ROOTrelease_t = "ROOT"
 ROOT release. More...
 
static const char *const namespace_t = "namespace"
 name space More...
 
static const char *const command_t = "command"
 Linux command. More...
 
static const char *const system_t = "system"
 system information More...
 
static const char *const BRANCH_PATTERN = "vector"
 Pattern match for names of sub-branches that will not be read when ordering elements in a TTree. More...
 

Detailed Description

Support classes and methods for experiment specific I/O.

Author
mdejong

Typedef Documentation

Type definition of limit.

Definition at line 214 of file JLimit.hh.

Type definition for frame index range.

Definition at line 33 of file JSupportToolkit.hh.

Function Documentation

bool JSUPPORT::isROOTFile ( const char *  file_name)
inline

Check file format.

Returns
true if ROOT format; else false

Definition at line 32 of file JFilenameSupportkit.hh.

33  {
34  return getFilenameExtension(file_name) == ROOT_FILE_FORMAT;
35  }
std::string getFilenameExtension(const std::string &file_name)
Get file name extension, i.e.
Definition: JeepToolkit.hh:66
static const char *const ROOT_FILE_FORMAT
ROOT file name extension.
bool JSUPPORT::isDAQFile ( const char *  file_name)
inline

Check file format.

Returns
true if DAQ format; else false

Definition at line 43 of file JFilenameSupportkit.hh.

44  {
45  return getFilenameExtension(file_name) == DAQ_FILE_FORMAT;
46  }
static const char *const DAQ_FILE_FORMAT
DAQ binary file name extension.
std::string getFilenameExtension(const std::string &file_name)
Get file name extension, i.e.
Definition: JeepToolkit.hh:66
bool JSUPPORT::isMonteCarloFile ( const char *  file_name)
inline

Check file format.

Returns
true if MONTE CARLO format; else false

Definition at line 54 of file JFilenameSupportkit.hh.

55  {
56  return getFilenameExtension(file_name) == MONTE_CARLO_FILE_FORMAT;
57  }
static const char *const MONTE_CARLO_FILE_FORMAT
ASCII file name extension.
std::string getFilenameExtension(const std::string &file_name)
Get file name extension, i.e.
Definition: JeepToolkit.hh:66
bool JSUPPORT::isGzipFile ( const char *  file_name)
inline

Check file format.

Returns
true if gzip format; else false

Definition at line 65 of file JFilenameSupportkit.hh.

66  {
67  return getFilenameExtension(file_name) == GZIP_FILE_FORMAT;
68  }
static const char *const GZIP_FILE_FORMAT
gzip file name extension
std::string getFilenameExtension(const std::string &file_name)
Get file name extension, i.e.
Definition: JeepToolkit.hh:66
const char* JSUPPORT::getName ( const JType< JMeta > &  type)
inline

Get ROOT name of given data type.

Parameters
typeJMeta type
Returns
name of object to be read

Definition at line 241 of file JMeta.hh.

242  {
243  return META_NAME;
244  }
static const char *const META_NAME
ROOT name for meta data.
Definition: JMeta.hh:47
int JSUPPORT::getNumberOfCycles ( TFile *  file,
const TString  key 
)
inline

Get number of cycles of named objects with same title as given key.

Parameters
filepointer to file
keyROOT key (including possible directory)
Returns
number of cycles

Definition at line 254 of file JMeta.hh.

255  {
256  using namespace std;
257 
258  int counter = 0;
259 
260  if (file != NULL) {
261 
262  TNamed* __p = NULL;
263 
264  file->GetObject(key, __p);
265 
266  if (__p != NULL) {
267 
268  ++counter;
269 
270  const TString title = __p->GetTitle();
271 
272  string buffer(key);
273 
274  const string::size_type pos = buffer.find(';');
275 
276  if (pos != string::npos) {
277 
278  int cycle = -1;
279 
280  istringstream(buffer.substr(pos + 1)) >> cycle;
281 
282  buffer = buffer.substr(0, pos);
283 
284  for (int i = 1; i < cycle; ++i) {
285 
286  file->GetObject(MAKE_CSTRING(buffer << ';' << i), __p);
287 
288  if (__p != NULL && __p->GetTitle() == title) {
289  ++counter;
290  }
291  }
292  }
293  }
294  }
295 
296  return counter;
297  }
#define MAKE_CSTRING(A)
Make C-string.
Definition: JPrint.hh:611
void JSUPPORT::getObject ( TFile *  file,
const char *  key,
JMeta *&  ps 
)
inline

Read object from ROOT file.

Parameters
filepointer to file
keykey of object to be read
pspointer to object

Definition at line 307 of file JMeta.hh.

308  {
309  using namespace std;
310  using namespace JPP;
311 
312  if (ps != NULL) {
313 
314  delete ps;
315 
316  ps = NULL;
317  }
318 
319  if (file != NULL) {
320 
321  const int number_of_cycles = getNumberOfCycles(file, MAKE_CSTRING(META_DIRECTORY << '/' << key));
322 
323  if (number_of_cycles != 0) {
324 
325  TNamed* __p = NULL;
326 
327  file->GetObject(MAKE_CSTRING(META_DIRECTORY << '/' << key), __p);
328 
329  ps = new JMeta();
330 
331  (*ps)[application_t] = __p->GetTitle();
332 
333  file->GetObject(MAKE_CSTRING(META_DIRECTORY << '/' << (*ps)[application_t] << ';' << number_of_cycles), __p);
334 
335  if (__p != NULL) {
336  *ps = JMeta::valueOf(__p->GetTitle());
337  }
338  }
339  }
340  }
Auxiliary class for ROOT I/O of application specific meta data.
Definition: JMeta.hh:71
static const char *const application_t
Definition of meta data parameters.
Definition: JMeta.hh:59
#define MAKE_CSTRING(A)
Make C-string.
Definition: JPrint.hh:611
int getNumberOfCycles(TFile *file, const TString key)
Get number of cycles of named objects with same title as given key.
Definition: JMeta.hh:254
static const char *const META_DIRECTORY
ROOT sub-directory for meta data.
Definition: JMeta.hh:53
bool JSUPPORT::putMeta ( TDirectory *  dir,
const std::string  key,
const std::string  buffer 
)
inline

Write meta data as ROOT TNamed object.

Parameters
dirpointer to directory
keyROOT key
bufferuser data
Returns
true if OK; else false

Definition at line 351 of file JMeta.hh.

352  {
353  static TNamed object;
354 
355  if (dir != NULL) {
356 
357  if (dir->GetListOfKeys()->FindObject(META_DIRECTORY) == NULL) {
358  dir->mkdir(META_DIRECTORY);
359  }
360 
361  dir = dir->GetDirectory(META_DIRECTORY);
362 
363  object.SetName (key.c_str()); // ROOT key
364  object.SetTitle(buffer.c_str()); // user data
365 
366  return (dir->WriteTObject(&object) > 0);
367  }
368 
369  return false;
370  }
static const char *const META_DIRECTORY
ROOT sub-directory for meta data.
Definition: JMeta.hh:53
bool JSUPPORT::putObject ( TDirectory *  dir,
const JMeta meta 
)
inline

Write meta data to ROOT directory.

Parameters
dirpointer to directory
metameta data
Returns
true if OK; else false

Definition at line 380 of file JMeta.hh.

381  {
382  JMeta::const_iterator p = meta.find(application_t);
383 
384  if (p != meta.end()) {
385  if (putMeta(dir, getName(JType<JMeta>()), p->second)) {
386  return putMeta(dir, p->second, meta.toString());
387  }
388  }
389 
390  return false;
391  }
static const char *const application_t
Definition of meta data parameters.
Definition: JMeta.hh:59
std::string toString() const
Convert meta data to string.
Definition: JMeta.hh:192
bool putMeta(TDirectory *dir, const std::string key, const std::string buffer)
Write meta data as ROOT TNamed object.
Definition: JMeta.hh:351
const char * getName()
Get ROOT name of given data type.
const char* JSUPPORT::getName ( const JType< JMetaOld_t > &  type)
inline

Get ROOT name of given data type.

Parameters
typeJMetaOld_t type
Returns
name of object to be read

Definition at line 427 of file JMeta.hh.

428  {
429  return META_NAME;
430  }
static const char *const META_NAME
ROOT name for meta data.
Definition: JMeta.hh:47
void JSUPPORT::getObject ( TFile *  file,
const char *  key,
JMetaOld_t *&  ps 
)
inline

Read object from ROOT file.

Parameters
filepointer to file
keykey of object to be read
pspointer to object

< application name

< SVN release

< ROOT release

< name space

< Linux command

< system information

< number of items

Definition at line 440 of file JMeta.hh.

441  {
442  enum JParameter_t {
443  JApplication_t = 0, //!< application name
444  JSVNRelease_t, //!< SVN release
445  JROOTRelease_t, //!< ROOT release
446  JNamespace_t, //!< name space
447  JCommand_t, //!< Linux command
448  JSystem_t, //!< system information
449  number_of_items //!< number of items
450  };
451 
452  const char* buffer[number_of_items] = {
454  SVNrelease_t,
456  namespace_t,
457  command_t,
458  system_t
459  };
460 
461  if (ps != NULL) {
462 
463  delete ps;
464 
465  ps = NULL;
466  }
467 
468  if (file != NULL) {
469 
470  const int number_of_cycles = getNumberOfCycles(file, key);
471 
472  if (number_of_cycles != 0) {
473 
474  TNamed* __p = NULL;
475 
476  file->GetObject(key, __p);
477 
478  ps = new JMetaOld_t();
479 
480  (*ps)[application_t] = __p->GetTitle();
481 
482  for (int i = 1; i != number_of_items; ++i) {
483 
484  file->GetObject(MAKE_CSTRING((*ps)[application_t] << ';' << ((number_of_cycles - 1) * (number_of_items - 1) + i)), __p);
485 
486  if (__p != NULL)
487  (*ps)[buffer[i]] = __p->GetTitle();
488  else
489  break;
490  }
491  }
492  }
493  }
static const char *const application_t
Definition of meta data parameters.
Definition: JMeta.hh:59
#define MAKE_CSTRING(A)
Make C-string.
Definition: JPrint.hh:611
static const char *const ROOTrelease_t
ROOT release.
Definition: JMeta.hh:62
static const char *const SVNrelease_t
SVN release.
Definition: JMeta.hh:60
static const char *const system_t
system information
Definition: JMeta.hh:65
static const char *const namespace_t
name space
Definition: JMeta.hh:63
Type definition of old meta data.
Definition: JMeta.hh:418
static const char *const command_t
Linux command.
Definition: JMeta.hh:64
int getNumberOfCycles(TFile *file, const TString key)
Get number of cycles of named objects with same title as given key.
Definition: JMeta.hh:254
bool JSUPPORT::putObject ( TDirectory *  dir,
const JMetaOld_t meta 
)
inline

Write meta data to ROOT directory.

Parameters
dirpointer to directory
metameta data
Returns
true if OK; else false

Definition at line 503 of file JMeta.hh.

504  {
505  return putObject(dir, static_cast<const JMeta&>(meta));
506  }
bool putObject(TDirectory *dir, const T &object)
Write object to ROOT directory.
Head JSUPPORT::getHeader ( const JMultipleFileScanner_t file_list)
inline

Get Monte Carlo header.

Parameters
file_listfile list
Returns
Monte Carlo header

Definition at line 417 of file JMonteCarloFileSupportkit.hh.

418  {
419  return JMultipleFileScanner<Head>(file_list).getHeader();
420  }
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
Template specialisation of JMultipleFileScanner for Monte Carlo header.
template<class T >
JFrameIndexRange JSUPPORT::getFrameIndexRange ( const std::string &  file_name)
inline

Get range of frame indices for given file name of data taking run.

Parameters
file_namefile name
Returns
frame index range

Definition at line 43 of file JSupportToolkit.hh.

44  {
45  using namespace KM3NETDAQ;
46 
48 
49  TDirectory*& dir = TDirectory::CurrentDirectory();
50 
51  if (isROOTFile(file_name.c_str())) {
52 
53  JTreeScanner<T, JDAQEvaluator> in(file_name);
54 
55  result = JFrameIndexRange(in.begin()->getFrameIndex(), in.rbegin()->getFrameIndex());
56 
57  } else {
58 
59  JFileScanner<T> in(file_name.c_str());
60 
61  while (in.hasNext()) {
62  result.include(in.next()->getFrameIndex());
63  }
64  }
65 
66  if (dir != NULL) {
67  dir->cd(); // restore current working directory
68  }
69 
70  return result;
71  }
static const JRange< int, std::less< int > > DEFAULT_RANGE
Default range.
Definition: JRange.hh:506
JTOOLS::JRange< int > JFrameIndexRange
Type definition for frame index range.
Template definition for direct access of elements in ROOT TChain.
Definition: JTreeScanner.hh:89
bool isROOTFile(const char *file_name)
Check file format.
Object reading from file.
Definition: JFileScanner.hh:34
double JSUPPORT::getLivetime ( const std::string &  file_name)
inline

Get data taking live time.

Parameters
file_namefile name
Returns
live time [s]

Definition at line 80 of file JSupportToolkit.hh.

81  {
82  using namespace KM3NETDAQ;
83  using namespace JTRIGGER;
84 
85  TDirectory*& dir = TDirectory::CurrentDirectory();
86 
87  double livetime = 0.0;
88 
89  const JTriggerParameters parameters = getTriggerParameters(file_name);
90 
91  if (parameters.writeSummary.prescale != 0) {
92 
93  JTreeScanner<JDAQSummaryslice> in(file_name);
94 
95  livetime = in.getEntries() * getFrameTime() * 1.0e-9 / parameters.writeSummary.prescale;
96  }
97 
98  if (dir != NULL) {
99  dir->cd(); // restore current working directory
100  }
101 
102  return livetime;
103  }
Data structure for all trigger parameters.
Template definition for direct access of elements in ROOT TChain.
Definition: JTreeScanner.hh:89
double getFrameTime()
Get frame time duration.
Definition: JDAQClock.hh:162
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.
template<class T >
double JSUPPORT::getLivetime ( __begin,
__end 
)
inline

Get data taking live time.

Parameters
__beginbegin of file list
__endend of file list
Returns
live time [s]

Definition at line 114 of file JSupportToolkit.hh.

115  {
116  double livetime = 0.0;
117 
118  for (T i = __begin; i != __end; ++i) {
119  livetime += getLivetime(*i);
120  }
121 
122  return livetime;
123  }
double getLivetime(const std::string &file_name)
Get data taking live time.
JTriggerParameters JSUPPORT::getTriggerParameters ( const JMultipleFileScanner_t file_list)
inline

Get trigger parameters.

Parameters
file_listfile list
Returns
trigger parameters

Definition at line 148 of file JTriggerParametersSupportkit.hh.

149  {
151  }
Template specialisation of JMultipleFileScanner for trigger parameters.
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.

Variable Documentation

const char* const JSUPPORT::ROOT_FILE_FORMAT = "root"
static

ROOT file name extension.

Definition at line 21 of file JFilenameSupportkit.hh.

const char* const JSUPPORT::DAQ_FILE_FORMAT = "dat"
static

DAQ binary file name extension.

Definition at line 22 of file JFilenameSupportkit.hh.

const char* const JSUPPORT::MONTE_CARLO_FILE_FORMAT = "evt"
static

ASCII file name extension.

Definition at line 23 of file JFilenameSupportkit.hh.

const char* const JSUPPORT::GZIP_FILE_FORMAT = "gz"
static

gzip file name extension

Definition at line 24 of file JFilenameSupportkit.hh.

const char* const JSUPPORT::META_NAME = "JMeta"
static

ROOT name for meta data.

Definition at line 47 of file JMeta.hh.

const char* const JSUPPORT::META_DIRECTORY = "META"
static

ROOT sub-directory for meta data.

Definition at line 53 of file JMeta.hh.

const char* const JSUPPORT::application_t = "application"
static

Definition of meta data parameters.

application name

Definition at line 59 of file JMeta.hh.

const char* const JSUPPORT::SVNrelease_t = "SVN"
static

SVN release.

Definition at line 60 of file JMeta.hh.

const char* const JSUPPORT::GITrelease_t = "GIT"
static

GIT release.

Definition at line 61 of file JMeta.hh.

const char* const JSUPPORT::ROOTrelease_t = "ROOT"
static

ROOT release.

Definition at line 62 of file JMeta.hh.

const char* const JSUPPORT::namespace_t = "namespace"
static

name space

Definition at line 63 of file JMeta.hh.

const char* const JSUPPORT::command_t = "command"
static

Linux command.

Definition at line 64 of file JMeta.hh.

const char* const JSUPPORT::system_t = "system"
static

system information

Definition at line 65 of file JMeta.hh.

const char* const JSUPPORT::BRANCH_PATTERN = "vector"
static

Pattern match for names of sub-branches that will not be read when ordering elements in a TTree.

Definition at line 42 of file JTreeScanner.hh.