47 #ifndef _ST_FGT_COSMIC_TRACK_PLOTS_
48 #define _ST_FGT_COSMIC_TRACK_PLOTS_
54 #include <TProfile2D.h>
56 #include "StRoot/StFgtPool/StFgtCosmicTrackMaker/StFgtCosmicTrack.h"
62 const Char_t* cosmicTrackerName =
"fgtCosmicTrackMaker",
65 const Char_t* quadName =
"000" );
77 void Clear( Option_t *opt =
"" );
80 void setDisc( Short_t discId );
81 void setQuad( Short_t quadId );
82 void setQuadName(
const Char_t* quadName );
83 void setXbins( Int_t nbins );
84 void setXrange( Float_t low, Float_t high );
85 void setBinFactors( Int_t factorX );
86 void setFilenameBase(
const Char_t* filenameBase );
87 void setFilenameKey(
const Char_t* filenameKey );
88 void setPath(
const Char_t* path );
89 void setRand( Float_t rndm=1 );
92 TH1F* getHistX(
int,
int);
93 TH1F* getHistY(
int,
int);
94 TH1F* getHist1Dcluster(
int);
95 TH1F* getHist1Dclusters();
96 TH2F* getHistTracks();
97 TH2F* getHistRealTracks();
98 TProfile2D* getProfileEfficiency();
99 TH2F* getHist2Dcluster();
100 TProfile2D* getProfileChi2();
101 TProfile* getProfileX();
102 TProfile* getProfileY();
106 std::string mFgtTrackMakerName;
107 StFgtCosmicTrackVec* mTrackVecPtr;
110 Short_t mDiscId, mQuadId;
112 Float_t mXmin, mXmax;
116 std::string mQuadName;
119 std::string mPath, mFileNameBase, mFileNameKey;
124 TH1F *mHist1Dcluster[2];
125 TH1F *mHist1Dclusters;
127 TH2F *mHistRealTracks;
129 TProfile2D *mProfileEfficiency;
130 TH2F *mHist2Dcluster;
131 TProfile2D *mProfileChi2;
143 inline void StFgtCosmicTrackPlots::setDisc( Short_t discId ){ mDiscId = discId; };
144 inline void StFgtCosmicTrackPlots::setQuad( Short_t quadId ){ mQuadId = quadId; };
145 inline void StFgtCosmicTrackPlots::setQuadName(
const Char_t* quadName ){ mQuadName = quadName; };
146 inline void StFgtCosmicTrackPlots::setXbins( Int_t nbins ){ mXbins = nbins; };
147 inline void StFgtCosmicTrackPlots::setXrange( Float_t low, Float_t high ){ mXmin = low; mXmax = high; };
148 inline void StFgtCosmicTrackPlots::setBinFactors( Int_t factorX ){
149 mBinFactorX = factorX;
151 inline void StFgtCosmicTrackPlots::setFilenameBase(
const Char_t* filenameBase ){ mFileNameBase = filenameBase; };
152 inline void StFgtCosmicTrackPlots::setFilenameKey(
const Char_t* filenameKey ){ mFileNameKey = filenameKey; };
153 inline void StFgtCosmicTrackPlots::setPath(
const Char_t* path ){ mPath = path; };
156 inline TH1F* StFgtCosmicTrackPlots::getHistX(
int i,
int j){
159 inline TH1F* StFgtCosmicTrackPlots::getHistY(
int i,
int j){
162 inline TH1F* StFgtCosmicTrackPlots::getHist1Dcluster(
int i ){
163 return mHist1Dcluster[i];
165 inline TH1F* StFgtCosmicTrackPlots::getHist1Dclusters(){
166 return mHist1Dclusters;
168 inline TH2F* StFgtCosmicTrackPlots::getHistTracks(){
171 inline TH2F* StFgtCosmicTrackPlots::getHistRealTracks(){
172 return mHistRealTracks;
174 inline TProfile2D* StFgtCosmicTrackPlots::getProfileEfficiency(){
175 return mProfileEfficiency;
177 inline TH2F* StFgtCosmicTrackPlots::getHist2Dcluster(){
178 return mHist2Dcluster;
180 inline TProfile2D* StFgtCosmicTrackPlots::getProfileChi2(){
183 inline TProfile* StFgtCosmicTrackPlots::getProfileX(){
186 inline TProfile* StFgtCosmicTrackPlots::getProfileY(){
void Clear(Option_t *opt="")
User defined functions.