#ifndef __S800ROOTGLOBALS_H
#define __S800ROOTGLOBALS_H 1
#endif
#ifndef __TS800CRDCCALC_H
#define __TS800CRDCCALC_H
#ifndef __S800PACKETS_H
#include "S800Packets.h"
#define __S8000PACKETS_H
#endif
#ifndef __S800DEFINE_H
#include "S800define.h"
#define __S800DEFINE_H
#endif
#ifndef __ROOTDEFINE_H
#include "rootDefine.h"
#define __ROOTDEFINE_H
#endif
#include "TBranch.h"
#include "TObject.h"
#include "TString.h"
#include "TTree.h"
using namespace std;
class TS800CrdcPads;
class TS800Crdc;
class TS800CrdcCalc : public TObject{
public:
Int_t InterpSnap[2];
public:
TS800CrdcCalc* fCon;
TS800Crdc* parent;
TS800CrdcPads* pad;
Bool_t fInterpGaus;
Bool_t fInterpPoly;
Bool_t fInterpSnap;
Bool_t fInterpSpline3;
Bool_t fSatFlat;
public:
Double_t maxpad;
Short_t padmax;
Double_t padsum;
Short_t padDist;
Double_t x_gravity;
Double_t x_fit;
Double_t x_chi2;
Short_t gravity_width;
Short_t fit_width;
Short_t method;
Short_t badpads;
Short_t badpad[30];
Short_t badList[TS800_FP_CRDC_CHANNELS];
Double_t saturationFlat;
TString name;
TBranch *b_maxpad;
TBranch *b_padmax;
TBranch *b_padsum;
TBranch *b_padDist;
TBranch *b_x_gravity;
TBranch *b_x_fit;
TBranch *b_x_chi2;
TTree *fChain;
Int_t fCurrent;
private:
public:
TS800CrdcCalc() {}
virtual ~TS800CrdcCalc() {}
TS800CrdcCalc(const TS800CrdcCalc &);
void CalculateFit();
void CalculateGravity();
void Clear(Option_t *option="");
void ClearBadList(){memset(badList,'\0',sizeof(badList));};
void Copy(TObject &calc) const;
void GetEntry(Int_t i);
void InitClass(TString iname);
void InitTree(TTree *tree);
void SetBadPad(Int_t pad){badList[pad]=1;};
void UseInterpolation(Bool_t inter){};
ClassDef(TS800CrdcCalc,5)
};
#endif
Last change: Sun Dec 21 12:38:54 2008
Last generated: 2008-12-21 12:38
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.