1 #ifndef __StEEmcDisplay_h__
2 #define __StEEmcDisplay_h__
5 #include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
7 #include "StEEmcPool/StEEmcA2EMaker/StEEmcTower.h"
8 #include "StEEmcPool/StEEmcClusterMaker/StEEmcCluster.h"
9 #include "StEEmcPool/StEEmcClusterMaker/StEEmcSmdCluster.h"
10 #include "StEEmcPool/StEEmcPointMaker/StEEmcPointMaker.h"
24 StEEmcDisplay(
const Char_t *name=
"aname",
const Char_t *atitle=
"atitle" );
42 TH2F *
DrawLayer(Int_t layer, Option_t *opts=
"box,text");
43 TH1F *
DrawSmd( Int_t sector, Int_t plane, Option_t *opts=
"" );
44 TH1F *
DrawClusters( Int_t sector, Int_t plane, Option_t *opts=
"");
46 TH1F *
DrawCluster( Int_t cluster, Option_t *opts=
"" );
85 Float_t mTowerEnergy[ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ];
86 Int_t mTowerStat [ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ];
87 Int_t mTowerFail [ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ];
90 Float_t mStripEnergy[ kEEmcNumSectors ][ kEEmcNumSmdPlanes ][ kEEmcNumStrips ];
91 Int_t mStripStat [ kEEmcNumSectors ][ kEEmcNumSmdPlanes ][ kEEmcNumStrips ];
92 Int_t mStripFail [ kEEmcNumSectors ][ kEEmcNumSmdPlanes ][ kEEmcNumStrips ];
93 TH1F *hSmds[ kEEmcNumSectors ][ kEEmcNumSmdPlanes ];
95 Float_t mPrepostEnergy[ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ][3];
96 Int_t mPrepostStat [ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ][3];
97 Int_t mPrepostFail [ kEEmcNumSectors ][ kEEmcNumSubSectors ][ kEEmcNumEtas ][3];
102 std::vector< Int_t > mClusterKey;
103 std::vector< Float_t > mClusterEnergy;
104 std::vector< Int_t > mClusterSector;
105 std::vector< Int_t > mClusterPlane;
106 std::vector< std::vector < Int_t > > mClusterStrips;
107 std::vector< Float_t > mClusterMean;
108 std::vector< Float_t > mClusterSigma;
109 std::vector< TPaveText * > mClusterStats;
110 std::vector< Bool_t > mClusterSplit;
112 std::vector< TH1F* > mClusterHisto;
113 std::vector< Int_t > mClusterColor;
114 std::vector< Int_t > mClusterFill;
116 std::vector< Int_t > mPointKey;
117 std::vector< Float_t > mPointEnergy;
118 std::vector< Float_t > mPointX;
119 std::vector< Float_t > mPointY;
121 std::vector< TMarker* > mPointMarker;
122 std::vector< Int_t > mPointColor;
123 std::vector< Int_t > mPointStyle;
125 std::vector< Int_t > mPointUkey;
126 std::vector< Int_t > mPointVkey;
128 void failTower( Int_t sec, Int_t sub, Int_t eta, TH2F *histo );
void clear()
clears all storage arrays, deletes all canvases and histograms
TH1F * DrawClusters(Int_t sector, Int_t plane, Option_t *opts="")
Base class for representing EEMC points.
TH2F * DrawPoints(Option_t *opts="box")
Float_t sumEnergy(Int_t layer)
Base class for representing tower, preshower and postshower elements.
void add(StEEmcTower tower)
Add a tower to the display.
TH2F * DrawTowers(Option_t *opts="box,text")
TH2F * DrawLayer(Int_t layer, Option_t *opts="box,text")
A base class for representing clusters of EEMC smd strips.
TH1F * DrawCluster(Int_t cluster, Option_t *opts="")
TH1F * DrawSmd(Int_t sector, Int_t plane, Option_t *opts="")
Base class for describing an endcap SMD strip.
Int_t hitMultiplicity(Int_t layer, Float_t threshold=0.0)
Returns the number of hit elements in the spcified layer above threshold.