| #include "LegsMakerSlrFluxCheck.h" |
LegsMakerSlrFluxCheck
class description - source file - inheritance tree (.pdf)
public:
LegsMakerSlrFluxCheck(Int_t add = 1)
LegsMakerSlrFluxCheck(const LegsMakerSlrFluxCheck&)
virtual ~LegsMakerSlrFluxCheck()
static TClass* Class()
void DataPortionEnd()
virtual void Init()
virtual TClass* IsA() const
virtual bool Make()
LegsMakerSlrFluxCheck& operator=(const LegsMakerSlrFluxCheck&)
virtual void RunEnd()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
public:
Double_t fAcidHit[8][65]
Double_t fTrueHit[8][65]
Double_t fFluxCG3[8]
Double_t fFluxEv32[8]
Double_t fAcidHit_CG4[8][65]
Double_t fTrueHit_CG4[8][65]
Double_t fFluxCG4[8]
Double_t fFluxEv32_CG4[8]
Int_t fRunNumber
Double_t fNumEv11
Double_t fNumEv32
Double_t fNumEv32_CG4
Int_t fPol
vector<vector<Double_t> > cg3
vector<vector<Double_t> > dcg3
vector<vector<Double_t> > cg4
vector<vector<Double_t> > dcg4
vector<vector<Double_t> > livslr3
vector<Double_t> fLivSlr3
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
LegsMakerSlrFluxCheck(Int_t add)
: LegsMaker("SlrFluxCheck","Scalers flux check", 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 DataPortionEnd()
void RunEnd()
Inline Functions
void ~LegsMakerSlrFluxCheck()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
LegsMakerSlrFluxCheck LegsMakerSlrFluxCheck(const LegsMakerSlrFluxCheck&)
LegsMakerSlrFluxCheck& operator=(const LegsMakerSlrFluxCheck&)
Last update: Wed May 18 13:33:59 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.