#ifndef __TCSI_H
#define __TCSI_H
#include <iostream>
#include <bitset>
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include <TObject.h>
#include <TVector3.h>
#ifndef __ROOTDEFINE_H
#include "rootDefine.h"
#define __ROOTDEFINE_H
#endif
#ifndef __PACKETID_H
#include "packetID.h"
#define __PACKETID_H
#endif
using namespace std;
class TCsI : public TObject {
protected:
TString fName;
TString fTitle;
public:
bitset<THIRA_CSI_CHANNELS> fBadSegs;
Bool_t fAddRndm;
Int_t fPos[THIRA_CSI_CHANNELS];
TVector3 fSegVec[THIRA_CSI_CHANNELS];
Short_t ERaw[THIRA_CSI_CHANNELS];
Double_t E[THIRA_CSI_CHANNELS];
Double_t E2[THIRA_CSI_CHANNELS];
Double_t Emax;
Double_t E2max;
Short_t Emaxch;
Short_t E2maxch;
Short_t rawMult;
TBranch *b_ERaw;
TBranch *b_E;
TBranch *b_E2;
TBranch *b_Emax;
TBranch *b_E2max;
TBranch *b_Emaxch;
TBranch *b_E2maxch;
TBranch *b_rawMult;
TTree *fChain;
Int_t fCurrent;
public:
TCsI(): fName(), fTitle() {}
~TCsI() {}
TCsI(const TCsI &);
const Char_t *GetName() const { return fName; }
const Char_t *GetTitle() const { return fTitle; }
void SetName(const Char_t *name);
void SetNameTitle(const Char_t *name, const Char_t *title);
void SetTitle(const Char_t *title="");
void Calculate();
void Calibrate();
void Clear(Option_t *option="");
void Copy(TObject &CsI) const;
Int_t GetEntry(Long64_t entry=0,Int_t getall=0);
void InitClass(TString name);
void InitTree(TTree *tree);
Bool_t IsBad(Int_t segment);
void SetBad(Int_t segment, Int_t bitValue=1);
ClassDef(TCsI,4)
};
#endif
Last change: Sun Dec 21 12:38:45 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.