GF Struct Reference

#include <emcGlobals.h>

List of all members.


Detailed Description

Some utility functions for online stuff.

Definition at line 16 of file emcGlobals.h.

Static Public Member Functions

static Int_t Save (const Text_t *file, Option_t *option="", const Text_t *ftitle="", Int_t compress=1)
 This function is copied from PhRootHistogramFactory of M.Purschke.
static PHTimeStamp * getFileCreationDate (char *fName)
static void getEventTimeStamp (Event *ev, char *fName, PHTimeStamp *&StartTime, PHTimeStamp *&when)
static PHTimeStamp * getGLV1TimeStamp (Event *ev)
 Get timestamp from GLV1 packet of event.
static void zero (int *i, int n)
static void zero (float *f, int n)
static int reducedMean (int items, float *e, float &av, float &rms, float retain=0.7)
static char * getNextFileName (std::ifstream &conffile, PHTimeStamp *&fTS)
static void drawGrid (TH2 *, TLine &)


Member Function Documentation

void GF::drawGrid TH2 *  ,
TLine & 
[static]
 

Definition at line 267 of file emcGlobals.C.

void GF::getEventTimeStamp Event *  ev,
char *  fName,
PHTimeStamp *&  StartTime,
PHTimeStamp *&  when
[static]
 

Definition at line 128 of file emcGlobals.C.

References getFileCreationDate(), and getGLV1TimeStamp().

PHTimeStamp * GF::getFileCreationDate char *  fName  )  [static]
 

Definition at line 80 of file emcGlobals.C.

Referenced by getEventTimeStamp().

PHTimeStamp * GF::getGLV1TimeStamp Event *  ev  )  [static]
 

Get timestamp from GLV1 packet of event.

The returned pointer belongs to you, i.e. you must delete it when done with it.

Definition at line 159 of file emcGlobals.C.

Referenced by getEventTimeStamp().

static char* GF::getNextFileName std::ifstream &  conffile,
PHTimeStamp *&  fTS
[static]
 

int GF::reducedMean int  items,
float *  e,
float &  av,
float &  rms,
float  retain = 0.7
[static]
 

Definition at line 179 of file emcGlobals.C.

static Int_t GF::Save const Text_t *  file,
Option_t *  option = "",
const Text_t *  ftitle = "",
Int_t  compress = 1
[static]
 

This function is copied from PhRootHistogramFactory of M.Purschke.

static void GF::zero float *  f,
int  n
[inline, static]
 

Definition at line 31 of file emcGlobals.h.

static void GF::zero int *  i,
int  n
[inline, static]
 

Definition at line 30 of file emcGlobals.h.


The documentation for this struct was generated from the following files: