Go to the documentation of this file.00001 #ifndef TreeMatrixCalib_h
00002 #define TreeMatrixCalib_h
00003
00004
00005 #include "TROOT.h"
00006 #include "TSystem.h"
00007 #include "TFile.h"
00008 #include "TTree.h"
00009
00010 class TFile;
00011 class TTree;
00012
00013 class G3EventProxy;
00014
00015 class TreeMatrixCalib {
00016 public:
00017 TreeMatrixCalib(const char * filename = "tb.root");
00018 ~TreeMatrixCalib();
00019
00020 void fillInfo( int run, int eve, int xnum, int maxX, int nomX, int nextX, int xeta, int xphi, int tbm, double xx, double yy, double ecalx, double ecaly, double sx, double sy, double qx, double qy, double tdcoff, int allm, double amp[], int cry[]);
00021
00022 void store();
00023
00024
00025 private:
00026
00027 TFile* myFile;
00028 TTree* myTree;
00029
00030
00031 int myEvent, myRun;
00032 int myXtalSM, myXtalEta, myXtalPhi;
00033 int myNominalXtalSM, myNextXtalSM;
00034 int myTbMoving;
00035 int myMaxEneXtal;
00036
00037
00038 double myAmplit[49];
00039
00040
00041 int myCrystal[49];
00042
00043
00044 double myHodoX, myHodoY;
00045 double myHodoSlopeX, myHodoSlopeY;
00046 double myHodoQualityX, myHodoQualityY;
00047
00048
00049 double myCaloX, myCaloY;
00050
00051
00052 double myTdcOffset;
00053
00054
00055 int myAllMatrix;
00056
00057 };
00058
00059 #endif