#ifndef __S800ROOTGLOBALS_H
#define __S800ROOTGLOBALS_H 1
#endif
#ifndef __TS800SCINTILLATOR_H
#define __TS800SCINTILLATOR_H
#ifndef __S800PACKETS_H
#include "S800Packets.h"
#define __S8000PACKETS_H
#endif
#ifndef __S800DEFINE_H
#include "S800define.h"
#define __S800DEFINE_H
#endif
#ifndef __ROOTDEFINE_H
#define __ROOTDEFINE_H
#include "rootDefine.h"
#endif
#include "TBranch.h"
#include "TObject.h"
#include <TRandom3.h>
#include "TSpline.h"
#include "TString.h"
#include "TTree.h"
using namespace std;
class TS800;
class TS800Scintillator : public TObject{
private:
TRandom3 fRandom;
TSpline3 *e1Spline;
public:
Bool_t fE1SplineCorr;
public:
TS800Scintillator *fCon;
TS800* parent;
TString name;
Double_t avgTimeOffset;
Double_t timeUpSlope;
Double_t timeDownSlope;
Double_t timeSlope;
UShort_t de_up;
UShort_t de_down;
UShort_t time_up;
UShort_t time_down;
Double_t de;
Double_t tup;
Double_t tdown;
Double_t time;
TBranch *b_de_up;
TBranch *b_de_down;
TBranch *b_time_up;
TBranch *b_time_down;
TBranch *b_de;
TBranch *b_tup;
TBranch *b_tdown;
TBranch *b_time;
TTree *fChain;
Int_t fCurrent;
public:
TS800Scintillator() {fRandom.SetSeed(0);}
virtual ~TS800Scintillator() {}
TS800Scintillator(const TS800Scintillator &);
void Calculate(Long64_t entry);
void Calibrate(Long64_t entry);
void Clear(Option_t *option="");
void Copy(TObject &eN) const;
void Correct(TSpline3 *e1Spline);
void Correct(Double_t Mean, Double_t Sigma,void *func);
void GetEntry(Int_t i);
void InitClass(TString iname, TS800* itop);
void InitTree(TTree *tree);
Bool_t LoadSpline(Char_t *splineFile);
UShort_t* Unpack(UShort_t *p, UShort_t ID);
ClassDef(TS800Scintillator,6)
};
#endif
Last change: Sun Dec 21 12:38:57 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.