#ifndef __S800ROOTGLOBALS_H
#define __S800ROOTGLOBALS_H 1
#endif
#ifndef __TS800CRDCPADS_H
#define __TS800CRDCPADS_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 <TRandom3.h>
#include "TString.h"
#include "TTree.h"
using namespace std;
class TS800Crdc;
class TS800CrdcPads : public TObject{
private:
TRandom3 fRandom;
public:
TS800CrdcPads* fCon;
TS800Crdc* parent;
Double_t cal[TS800_FP_CRDC_CHANNELS];
Double_t sum[256];
Double_t ped[TS800_FP_CRDC_CHANNELS];
Double_t slope[TS800_FP_CRDC_CHANNELS];
Double_t thresh[TS800_FP_CRDC_CHANNELS];
Short_t sampleWidth;
TString name;
TBranch *b_cal;
TBranch *b_sum;
TTree *fChain;
Int_t fCurrent;
public:
TS800CrdcPads() {fRandom.SetSeed(0);}
virtual ~TS800CrdcPads() {}
TS800CrdcPads(const TS800CrdcPads &);
Int_t Calibrate(Long64_t entry);
void Clear(Option_t *option="");
void Copy(TObject &pads) const;
void GetEntry(Int_t i);
void InitClass(TString iname);
void InitTree(TTree *tree);
void LoadCalibration(Char_t *filename);
ClassDef(TS800CrdcPads,6)
};
#endif
Last change: Sun Dec 21 12:38:55 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.