HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Protected Attributes | Private Attributes
HarpoAnalyseWriter Class Reference

A class which write harpo events to ROOT Tree. More...

#include <HarpoAnalyseWriter.h>

Public Member Functions

 HarpoAnalyseWriter ()
 
void Init ()
 
void InitFile (const char *name)
 
void Save (char *mode=NULL)
 
void ProcessEvent (HarpoEvent *event)
 
void process ()
 
void print ()
 Mast be implemented, This method which do all job. More...
 
void Set (HarpoEvent *event)
 
void SetRunHeader (HarpoRunHeader *hdr)
 
TFile * OpenHistFile (const char *ananame)
 
virtual void DisplayAnalysis (TRootEmbeddedCanvas *, TGListBox *)
 
virtual void ConfigFrame (TGMainFrame *, Int_t)
 
virtual void SetConfig ()
 

Data Fields

HarpoEventfEvt
 

Protected Attributes

ULong_t nEvents
 
HarpoRunHeaderfRunHeader
 

Private Attributes

Bool_t fDoAna
 Redefine empty default. More...
 
TFile * fNewFile
 
TTree * fNewTree
 
TBranch * fRawBranch
 
Int_t fNewNb
 
Int_t fNfiles
 
HarpoEventHeaderfEvtHdr
 
HarpoDetEventfDetEvt [gkNDetectors]
 
HarpoDetEventfDetEvtRead [gkNDetectors]
 
HarpoRecoEventfRecoEvent
 
TString * rootFile
 

Detailed Description

A class which write harpo events to ROOT Tree.

Definition at line 20 of file HarpoAnalyseWriter.h.

Constructor & Destructor Documentation

HarpoAnalyseWriter::HarpoAnalyseWriter ( )

Definition at line 36 of file HarpoAnalyseWriter.cxx.

Member Function Documentation

virtual void HarpoAnalyse::ConfigFrame ( TGMainFrame *  ,
Int_t   
)
inlinevirtualinherited
virtual void HarpoAnalyse::DisplayAnalysis ( TRootEmbeddedCanvas *  ,
TGListBox *   
)
inlinevirtualinherited
void HarpoAnalyseWriter::Init ( )
virtual

Reimplemented from HarpoAnalyse.

Definition at line 142 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoAnalyseWriter::InitFile ( const char *  name)

Definition at line 171 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TFile * HarpoAnalyse::OpenHistFile ( const char *  ananame)
inherited

Definition at line 150 of file HarpoAnalyse.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoAnalyseWriter::print ( )
virtual

Mast be implemented, This method which do all job.

Reimplemented from HarpoAnalyse.

Definition at line 52 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

void HarpoAnalyseWriter::process ( )
virtual

Implements HarpoAnalyse.

Definition at line 83 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoAnalyseWriter::ProcessEvent ( HarpoEvent event)
virtual

Set pointer to new event for analyse, anlyse event , and delete This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Reimplemented from HarpoAnalyse.

Definition at line 73 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

void HarpoAnalyseWriter::Save ( char *  mode = NULL)
virtual

Reimplemented from HarpoAnalyse.

Definition at line 260 of file HarpoAnalyseWriter.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoAnalyse::Set ( HarpoEvent event)
inherited

Definition at line 124 of file HarpoAnalyse.cxx.

Here is the caller graph for this function:

virtual void HarpoAnalyse::SetConfig ( )
inlinevirtualinherited
void HarpoAnalyse::SetRunHeader ( HarpoRunHeader hdr)
inlineinherited

Definition at line 60 of file HarpoAnalyse.h.

Here is the caller graph for this function:

Field Documentation

HarpoDetEvent* HarpoAnalyseWriter::fDetEvt[gkNDetectors]
private

Definition at line 46 of file HarpoAnalyseWriter.h.

HarpoDetEvent* HarpoAnalyseWriter::fDetEvtRead[gkNDetectors]
private

Definition at line 47 of file HarpoAnalyseWriter.h.

Bool_t HarpoAnalyseWriter::fDoAna
private

Redefine empty default.

Definition at line 37 of file HarpoAnalyseWriter.h.

HarpoEvent* HarpoAnalyse::fEvt
inherited

Definition at line 70 of file HarpoAnalyse.h.

HarpoEventHeader* HarpoAnalyseWriter::fEvtHdr
private

Definition at line 45 of file HarpoAnalyseWriter.h.

TFile* HarpoAnalyseWriter::fNewFile
private

Definition at line 38 of file HarpoAnalyseWriter.h.

Int_t HarpoAnalyseWriter::fNewNb
private

Definition at line 41 of file HarpoAnalyseWriter.h.

TTree* HarpoAnalyseWriter::fNewTree
private

Definition at line 39 of file HarpoAnalyseWriter.h.

Int_t HarpoAnalyseWriter::fNfiles
private

Definition at line 42 of file HarpoAnalyseWriter.h.

TBranch* HarpoAnalyseWriter::fRawBranch
private

Definition at line 40 of file HarpoAnalyseWriter.h.

HarpoRecoEvent* HarpoAnalyseWriter::fRecoEvent
private

Definition at line 48 of file HarpoAnalyseWriter.h.

HarpoRunHeader* HarpoAnalyse::fRunHeader
protectedinherited

Definition at line 76 of file HarpoAnalyse.h.

ULong_t HarpoAnalyse::nEvents
protectedinherited

Definition at line 75 of file HarpoAnalyse.h.

TString* HarpoAnalyseWriter::rootFile
private

Definition at line 50 of file HarpoAnalyseWriter.h.


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