#include "LegsMakerSlrFlux.h"

LegsMakerSlrFlux


class description - source file - inheritance tree (.pdf)

class LegsMakerSlrFlux : public LegsMaker

Inheritance Chart:
TObject
<-
LegsMaker
<-
LegsMakerSlrFlux

    public:
LegsMakerSlrFlux(Int_t add = 1) LegsMakerSlrFlux(const LegsMakerSlrFlux&) virtual ~LegsMakerSlrFlux() static TClass* Class() virtual void Init() virtual TClass* IsA() const virtual bool Make() LegsMakerSlrFlux& operator=(const LegsMakerSlrFlux&) virtual void RunEnd() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    public:
Double_t fAcidHit[8][65] Double_t fTrueHit[8][65] Long64_t fFluxCG3[8] Long64_t fFluxEv32[8] Double_t fAcidHit_CG4[8][65] Double_t fTrueHit_CG4[8][65] Long64_t fFluxCG4[8] Long64_t fFluxEv32_CG4[8] Int_t fRunNumber Double_t fNumEv11 Double_t fNumEv32 Double_t fNumEv32_CG4 TH1F* fHistTrueFlux[8] TH1F* fHistAcidFlux[8] TH1F* fHistTrueFlux_CG4[8] TH1F* fHistAcidFlux_CG4[8] TH1F* fHistFeraReg TH1F* fHistTagTof TH1F* fHistTagTof_CG4 TH2D* fHistPCVadc TH2D* fHistPCCadc TH2D* fHistPCHadc Int_t fNumPerChan

Class Description

The class is used to calculate flux and generate cg3_xxxx.dat file
for ONE run.  if one run is split into several files they all must
be processed together.  One may delete everything from data_dir and
then put links to parts of the same run. They should have some
common prefix because the program will look for common prefix in
these files and read in all files with this prefix. SasySoft will
calculate flux and cg3_XXXX.dat file will be written into
$SasyHomeDir. It has to be then looked at to see if it looks OK and
copied into subdirectory flux.
 One run at a time.
 When cg3 files are available for all runs that are processed SasySoft
 reads and adds up fluxes for all tagger bins and polarization states and keeps them in private arrays.
 To use calculated fluxes all you have to do is to call member functions of LegsEvent class:
  Stat_t  GetFluxPolTagBin(Int_t pol,Int_t tagbin) const
 Stat_t GetFluxPolTagGroup(Int_t pol,Int_t tagGroup) const

LegsMakerSlrFlux(Int_t add) : LegsMaker("SlrFlux","Scalers flux calculations", add)

void Init()
 user initialization, create histos  etc

bool Make()
 called by LegsRun every event when LegsRun::Loop() is called.
 this is the main function from which other functions can be called.
 calculates fluxes
  cout << "KUKU"<< endl;

void RunEnd()
 writing out flux into ascii file



Inline Functions


                     void ~LegsMakerSlrFlux()
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
         LegsMakerSlrFlux LegsMakerSlrFlux(const LegsMakerSlrFlux&)
        LegsMakerSlrFlux& operator=(const LegsMakerSlrFlux&)


Last update: Wed May 18 13:33:58 2005


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.