15 {
16 m_pGeom = pGeom;
17 char hname[200];
18 m_fdcom = new TFolder("mCommon", "mCommon");
19 hlist->Add(m_fdcom);
20
21 m_fdTmap = new TFolder("mThitmap", "mThitmap");
22 hlist->Add(m_fdTmap);
23
24 m_fdTraw = new TFolder("mTraw", "mTraw");
25 hlist->Add(m_fdTraw);
26
27 m_fdTrawCel = new TFolder("mTrawCell", "mTrawCell");
28 hlist->Add(m_fdTrawCel);
29
30 m_fdQmap = new TFolder("mQhitmap", "mQhitmap");
31 hlist->Add(m_fdQmap);
32
33 m_fdQraw = new TFolder("mQraw", "mQraw");
34 hlist->Add(m_fdQraw);
35
36 m_fdQrawCel = new TFolder("mQrawCell", "mQrawCell");
37 hlist->Add(m_fdQrawCel);
38
39 m_hLayerHitmapT = new TH1F("mT_Hitmap_Layer", "", 43, -0.5, 42.5);
40 m_fdcom->Add(m_hLayerHitmapT);
41
42 m_hWireHitMapT = new TH1F("mT_Hitmap_Wire", "", 6796, -0.5, 6795.5);
43 m_fdcom->Add(m_hWireHitMapT);
44
45 m_hLayerHitmapQ = new TH1F("mQ_Hitmap_Layer", "", 43, -0.5, 42.5);
46 m_fdcom->Add(m_hLayerHitmapQ);
47
48 m_hWireHitMapQ = new TH1F("mQ_Hitmap_Wire", "", 6796, -0.5, 6795.5);
49 m_fdcom->Add(m_hWireHitMapQ);
50
51 m_hTesAll = new TH1F("mTesAll", "", 750, 0, 1500);
52 m_fdcom->Add(m_hTesAll);
53
54 m_hTesCal = new TH1F("mTesCal", "", 750, 0, 1500);
55 m_fdcom->Add(m_hTesCal);
56
57 m_hTesFlag = new TH1F("mTes_Flag", "", 300, -0.5, 299.5);
58 m_fdcom->Add(m_hTesFlag);
59
60 for(
int lay=0; lay<
NLAYER; lay++){
62
63 sprintf(hname, "mT_hitmap_Lay%02d", lay);
64 m_hlaymapT[lay] = new TH1F(hname, "", ncel, -0.5, (float)ncel-0.5);
65 m_fdTmap -> Add(m_hlaymapT[lay]);
66
67 sprintf(hname, "mTDC_Lay%02d", lay);
68 m_htdc[lay] = new TH1F(hname, "", 800, 0, 20000);
69 m_fdTraw -> Add(m_htdc[lay]);
70
71 sprintf(hname, "mTraw_Lay%02d", lay);
72 m_htraw[lay] = new TH1F(hname, "", 500, 0, 1000);
73 m_fdTraw -> Add(m_htraw[lay]);
74
75 sprintf(hname, "mQ_hitmap_Lay%02d", lay);
76 m_hlaymapQ[lay] = new TH1F(hname, "", ncel, -0.5, (float)ncel-0.5);
77 m_fdQmap -> Add(m_hlaymapQ[lay]);
78
79 sprintf(hname, "mQraw_Lay%02d", lay);
80 m_hqraw[lay] = new TH1F(hname, "", 2000, 0, 4000);
81 m_fdQraw -> Add(m_hqraw[lay]);
82 }
83
84 for(
int wir=0; wir<
NWIRE; wir++){
85 int lay = m_pGeom -> getWire(wir) -> getLayerId();
86 int cel = m_pGeom -> getWire(wir) -> getCellId();
87
88 sprintf(hname, "mTraw_%02d_%03d_%04d", lay, cel, wir);
89 m_htrawCel[wir] = new TH1F(hname, "", 300, 0, 600);
90 m_fdTrawCel -> Add(m_htrawCel[wir]);
91
92 sprintf(hname, "mQraw_%02d_%03d_%04d", lay, cel, wir);
93 m_hqrawCel[wir] = new TH1F(hname, "", 2000, 0, 4000);
94 m_fdQrawCel -> Add(m_hqrawCel[wir]);
95 }
96}
const MdcCosLayer * getLayer(int ilay) const