|
BrRawDataOutputclass description - source file - inheritance tree class BrRawDataOutput : public BrIOModuleprivate: Data Membersprivate: Class DescriptionBrRawDataOutput provides an interface to generate raw data format starting with digitized data The class is derived from the general input/output class and falls natural into the hierachi of module classes. BrRawDataOutput() Constructor. Set fFilePointer and fEventCounter to NULL In root environment use the named constructor normally. BrRawDataOutput(Char_t *Name) : BrIOModule(Name, Name) Constructor. Set fFilePointer and fEventCounter to NULL name becomes Name and Title for the Module. No data file is opened this has to be done in the Open() method. ~BrRawDataOutput() Destructor for BrRawDataOutput. Close the file if open. void Init() Initialize variables Set the default value of unpack everything Bool_t Open(const Char_t *fname, const Option_t *option) Open the input digitized file with fname".root" Open the output raw data file with fname.lmd Bool_t Close() Close the file Opened by the object. Return kFALSE if no file was open. void SkipEvent(Int_t numevt) Skip numevent events in the input file. This is done by simply doing a read over the number of events specified. Check if End of file found before void Event(BrEvent* event) Reads one event from the digitized data file and generate the BrRawEvent Finally, write the BrRawEvent void ZeroNodesAndTables() Zero all nodes and table pointers. void BuildRawEvent(BrEvent *event) void BuildEventHeader(const Int_t recordId, BrEvent *event) Routine to transfer raw event header to BrEventHeader from event void DecodeFS(const Int_t recordId,BrEvent *event) void DecodeFFS(const Int_t recordId) void DecodeBFS(const Int_t recordId) void DecodeMRS(const Int_t recordId,BrEvent *event) MTP1 (tpc) MTP2 (tpc) WM1 320 TDC L1879 - x TDC 111xx WM2 320 TDC L1879 - x TDC 112xx TOFW 240 TDC P7186 x x ADC+TDC 113xx ADC L1885F TOFW-2 240 TDC P7186 x x ADC+TDC 114xx ADC L1885F Get MTP1 Get MTP2 Get WM1 Get WM2 Get TOFW Get TOFW-2 void DecodeGlobal(const Int_t recordId,BrEvent *event) ZDC Left 3-4 ADC L2249 x ? ADC+TDC 10010 ZDC Right 3-4 ADC L2249 x ? ADC+TDC 10011 BBC Left 45 ADC L1885F x x ADC+TDC 10012 TDC P7186 BBC Right 36 ADC L1885F x x ADC+TDC 10013 TDC P7186 MultSI 192 ADC L4300 x - ADCBLK 10014 MultTiles 40 ADC L1885F x ? ADC+TDC 10015 Inline Functionsvoid SetAllOn(const Bool_t val = kTRUE) void SetAllOff() void SetFSOn(const Bool_t val = kTRUE) void SetFSOff() void SetFFSOn(const Bool_t val = kTRUE) void SetT1On(const Bool_t val = kTRUE) void SetT2On(const Bool_t val = kTRUE) void SetC1On(const Bool_t val = kTRUE) void SetH1On(const Bool_t val = kTRUE) void SetFFSOff() void SetT1Off() void SetT2Off() void SetC1Off() void SetH1Off() void SetBFSOn(const Bool_t val = kTRUE) void SetT3On(const Bool_t val = kTRUE) void SetT4On(const Bool_t val = kTRUE) void SetT5On(const Bool_t val = kTRUE) void SetH2On(const Bool_t val = kTRUE) void SetBFSOff() void SetT3Off() void SetT4Off() void SetT5Off() void SetH2Off() void SetMRSOn(const Bool_t val = kTRUE) void SetMTP1On(const Bool_t val = kTRUE) void SetMTP2On(const Bool_t val = kTRUE) void SetTOFWOn(const Bool_t val = kTRUE) void SetMRSOff() void SetMTP1Off() void SetMTP2Off() void SetTOFWOff() void SetGlobalOn(const Bool_t val = kTRUE) void SetMultOn(const Bool_t val = kTRUE) void SetBBOn(const Bool_t val = kTRUE) void SetZDCOn(const Bool_t val = kTRUE) void SetGlobalOff() void SetMultOff() void SetBBOff() void SetZDCOff() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrRawDataOutput BrRawDataOutput(BrRawDataOutput&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|