Changeset 13658
- Timestamp:
- 05/11/12 23:14:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.h
r13645 r13658 1 /** A one line description of the class.1 /** container with all attributes and histograms of a pixel. 2 2 * 3 3 * #include "XX.h" <BR> … … 13 13 14 14 // SYSTEM INCLUDES 15 // 15 16 17 // PROJECT INCLUDES 16 18 #include <TROOT.h> 17 19 #include <TProfile.h> … … 20 22 #include <TH1F.h> 21 23 #include <TString.h> 22 24 #include "TCanvas.h" 25 #include "TObjArray.h" 23 26 // 24 27 25 // PROJECT INCLUDES26 //27 28 //#include "rootfilehandler.h" 28 29 //#include "rootfilehandler.C" … … 44 45 Pixel( 45 46 int pixelID, 46 int maxPulsorder,47 int verbosityLevel,48 bool stats,49 TFile* filename50 );51 52 Pixel(53 TString pixelname,54 47 int maxPulsorder, 55 48 int verbosityLevel, … … 96 89 97 90 //Histogram Booking 91 protected: 98 92 void BookPixelHistos(); 99 93 void BookDistributionHistos(); … … 101 95 void BookEdgeTemplateHistos(); 102 96 97 //Histogram deletion 98 void DeletePixelHistos(); 99 void DeleteDistributionHistos(); 100 void DeleteTemplateHistos(); 101 void DeleteEdgeTemplateHistos(); 102 103 void 104 MakeTH1Pretty( 105 TH1* histo, 106 TString histName, 107 TString histTitle, 108 int order 109 ); 110 void 111 MakeTH2Pretty( 112 TH2* histo, 113 TString histName, 114 TString histTitle, 115 int order 116 ); 117 void 118 MakeTProfilePretty( 119 TProfile* histo, 120 TString histName, 121 TString histTitle, 122 int order 123 ); 124 125 public: 103 126 //Histogram Drawing 104 127 void DrawOverlayHistograms( … … 119 142 ); 120 143 121 //Histogram deletion122 void DeletePixelHistos();123 void DeleteDistributionHistos();124 void DeleteTemplateHistos();125 void DeleteEdgeTemplateHistos();126 127 144 //File Handling 128 145 void SavePixelHistograms(TString loc_fname, bool); 146 protected: 129 147 void LoadPulseHistos( ); 130 148 149 public: 131 150 //File Handling Service Functions 132 151 TString HistoTitle(TString, int ); … … 137 156 // INQUIRY 138 157 int mChid; 139 TString mName;140 158 bool mStats; 141 159 int mMaxPulseOrder; … … 172 190 173 191 protected: 192 int mConstructorType; //0 delete distributions, 1 delete TemplateHistos 174 193 private: 175 int mConstructorType; //0 delete distributions, 1 delete TemplateHistos176 194 }; 177 195 178 // INLINE METHODS179 //180 196 181 // EXTERNAL REFERENCES182 //183 197 184 198 #endif // _PIXEL_H_
Note:
See TracChangeset
for help on using the changeset viewer.