#ifndef __THIRAASIC_H
#define __THIRAASIC_H
#include <iostream>
#include <vector>
#include <TROOT.h>
#include <TBranch.h>
#include <TTree.h>
#include <TObject.h>
#ifndef __ROOTDEFINE_H
#define __ROOTDEFINE_H
#include "rootDefine.h"
#endif
using namespace std;
class THiRAChip
{
private:
TString name;
public:
Short_t ene[32];
Short_t time[32];
THiRAChip() {};
~THiRAChip() {};
};
class THiRASlot
{
private:
TString name;
public:
THiRAChip chip[2];
Short_t chipNum[2];
Short_t telenum;
Short_t facenum;
THiRASlot() {};
~THiRASlot() {};
};
class THiRATower
{
private:
TString name;
const static Int_t nSlots = 34;
public:
vector<Short_t> slotList;
THiRASlot slot[nSlots];
Short_t slotNum[nSlots];
Short_t chipNum[nSlots];
THiRATower() {};
~THiRATower() {};
};
class THiRAAsic : public TObject {
private:
TString name;
public:
Char_t *chipMapPath;
THiRATower tower[THIRA_NMBS];
TBranch *b_Tower;
TTree *fChain;
Int_t fCurrent;
public:
THiRAAsic() {}
~THiRAAsic() {}
void Initialize(TString iName, Int_t iNum);
void InitTree(TTree *tree);
void InitBranch(TTree *tree);
Bool_t LoadMap();
void Clear(Option_t *option="");
ClassDef(THiRAAsic,3)
};
#endif
Last change: Sun Dec 21 12:38:48 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.