FairRoot/PandaRoot
|
#include <ReadMainzProto60v4.h>
Public Member Functions | |
void | GetEnergies (Double_t *energies) |
void | GetTimes (Double_t *times) |
void | GetADCValues (Double_t *ADCs) |
void | GetTaggerTimes (Double_t *taggertimes) |
void | GetTaggerEnergies (Double_t *taggerEnergies) |
void | Reset () |
void | PrintEvent () |
Long_t | ReadNextEvent () |
Long_t | GetNumberOfEvents () |
ReadMainzProto60v4 () | |
ReadMainzProto60v4 (const char *datafilename, const char *calibrationfilename) | |
~ReadMainzProto60v4 () | |
Private Member Functions | |
unsigned int | read_one_event () |
void | convert_60 (void) |
void | calibrate_60 (void) |
void | read_energy_factor (const char *filename) |
Private Attributes | |
FILE * | in |
Bool_t | ResetToFirstEvent |
Long_t | NumberOfEvents |
double | LG [60] |
double | TIME [60] |
double | TAGGER [16] |
double | TP |
double | MU |
double | VETO |
double | LG_CAL [60] |
double | TIME_CAL [60] |
double | TAGGER_CAL [16] |
double | TP_CAL |
double | MU_CAL |
double | VETO_CAL |
unsigned int | rawdata [32][16] |
unsigned int | noe_of_board [16] |
int | no_of_boards |
int | what [16] |
int | geos [16] |
unsigned int | geo_to_bnr [32] |
char | versionsstr [15] |
int | RANGE |
int | BINS |
int | CAL_RANGE |
int | CAL_BINS |
int | central |
double | lg_factor [60] |
double | lg_ped [60] |
double | ctime_factor |
Bool_t | IsInit |
Definition at line 15 of file ReadMainzProto60v4.h.
ReadMainzProto60v4::ReadMainzProto60v4 | ( | ) |
Definition at line 153 of file ReadMainzProto60v4.cxx.
References IsInit, and printf().
ReadMainzProto60v4::ReadMainzProto60v4 | ( | const char * | datafilename, |
const char * | calibrationfilename | ||
) |
Definition at line 158 of file ReadMainzProto60v4.cxx.
References BINS, CAL_BINS, CAL_RANGE, central, ctime_factor, in, IsInit, NumberOfEvents, printf(), RANGE, read_energy_factor(), ResetToFirstEvent, and versionsstr.
ReadMainzProto60v4::~ReadMainzProto60v4 | ( | ) |
Definition at line 185 of file ReadMainzProto60v4.cxx.
References in.
|
private |
Definition at line 214 of file ReadMainzProto60v4.cxx.
References ctime_factor, LG, LG_CAL, lg_factor, lg_ped, MU, MU_CAL, n, TAGGER, TAGGER_CAL, TIME, TIME_CAL, TP, TP_CAL, VETO, and VETO_CAL.
Referenced by ReadNextEvent().
|
private |
|
virtual |
|
virtual |
|
virtual |
Implements ReadMainzProto60.
Definition at line 200 of file ReadMainzProto60v4.cxx.
References NumberOfEvents, ReadNextEvent(), and Reset().
|
virtual |
Implements ReadMainzProto60.
Definition at line 45 of file ReadMainzProto60v4.cxx.
Referenced by PrintEvent().
|
virtual |
Implements ReadMainzProto60.
Definition at line 39 of file ReadMainzProto60v4.cxx.
References n, and TAGGER_CAL.
|
virtual |
|
virtual |
Implements ReadMainzProto60.
Definition at line 108 of file ReadMainzProto60v4.cxx.
References col, Double_t, GetTaggerEnergies(), LG, LG_CAL, NumberOfEvents, printf(), row, TAGGER_CAL, and TIME_CAL.
|
private |
Definition at line 65 of file ReadMainzProto60v4.cxx.
References exit(), i, lg_factor, lg_ped, n, and printf().
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 258 of file ReadMainzProto60v4.cxx.
References geo_to_bnr, geos, in, n, no_of_boards, noe_of_board, printf(), rawdata, ResetToFirstEvent, versionsstr, and what.
Referenced by ReadNextEvent().
|
virtual |
Implements ReadMainzProto60.
Definition at line 189 of file ReadMainzProto60v4.cxx.
References calibrate_60(), convert_60(), NumberOfEvents, and read_one_event().
Referenced by GetNumberOfEvents().
|
virtual |
Implements ReadMainzProto60.
Definition at line 209 of file ReadMainzProto60v4.cxx.
References NumberOfEvents, and ResetToFirstEvent.
Referenced by GetNumberOfEvents().
|
private |
Definition at line 62 of file ReadMainzProto60v4.h.
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 63 of file ReadMainzProto60v4.h.
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 63 of file ReadMainzProto60v4.h.
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 64 of file ReadMainzProto60v4.h.
Referenced by convert_60(), and ReadMainzProto60v4().
|
private |
Definition at line 68 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and ReadMainzProto60v4().
|
private |
Definition at line 59 of file ReadMainzProto60v4.h.
Referenced by read_one_event().
|
private |
Definition at line 58 of file ReadMainzProto60v4.h.
Referenced by read_one_event().
|
private |
Definition at line 34 of file ReadMainzProto60v4.h.
Referenced by read_one_event(), ReadMainzProto60v4(), and ~ReadMainzProto60v4().
|
private |
Definition at line 69 of file ReadMainzProto60v4.h.
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 42 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), convert_60(), GetADCValues(), and PrintEvent().
|
private |
Definition at line 49 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), GetEnergies(), and PrintEvent().
|
private |
Definition at line 66 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and read_energy_factor().
|
private |
Definition at line 67 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and read_energy_factor().
|
private |
Definition at line 46 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and convert_60().
|
private |
Definition at line 53 of file ReadMainzProto60v4.h.
Referenced by calibrate_60().
|
private |
Definition at line 58 of file ReadMainzProto60v4.h.
Referenced by read_one_event().
|
private |
Definition at line 57 of file ReadMainzProto60v4.h.
Referenced by read_one_event().
|
private |
Definition at line 40 of file ReadMainzProto60v4.h.
Referenced by GetNumberOfEvents(), PrintEvent(), ReadMainzProto60v4(), ReadNextEvent(), and Reset().
|
private |
Definition at line 62 of file ReadMainzProto60v4.h.
Referenced by ReadMainzProto60v4().
|
private |
Definition at line 56 of file ReadMainzProto60v4.h.
Referenced by convert_60(), and read_one_event().
|
private |
Definition at line 36 of file ReadMainzProto60v4.h.
Referenced by read_one_event(), ReadMainzProto60v4(), and Reset().
|
private |
Definition at line 44 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and convert_60().
|
private |
Definition at line 51 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), GetTaggerTimes(), and PrintEvent().
|
private |
Definition at line 43 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), convert_60(), and GetTimes().
|
private |
Definition at line 50 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and PrintEvent().
|
private |
Definition at line 45 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and convert_60().
|
private |
Definition at line 52 of file ReadMainzProto60v4.h.
Referenced by calibrate_60().
|
private |
Definition at line 60 of file ReadMainzProto60v4.h.
Referenced by read_one_event(), and ReadMainzProto60v4().
|
private |
Definition at line 47 of file ReadMainzProto60v4.h.
Referenced by calibrate_60(), and convert_60().
|
private |
Definition at line 54 of file ReadMainzProto60v4.h.
Referenced by calibrate_60().
|
private |
Definition at line 58 of file ReadMainzProto60v4.h.
Referenced by read_one_event().