Changeset 13646 for fact/tools/rootmacros/PulseTemplates/pixel.C
- Timestamp:
- 05/11/12 10:57:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.C
r13636 r13646 10 10 11 11 //============================= LIFECYCLE ==================================== 12 13 Pixel::Pixel( 14 TString pixelname, 15 int maxPulsorder, 16 int verbosityLevel, 17 bool stats, 18 TFile* filename 19 ) 20 { 21 mConstructorType = 1; //important for deletion 0 delete distribution 1 delete TemplateHistos 22 mChid = -1; 23 mName = pixelname; 24 mStats = stats; 25 mMaxPulseOrder = maxPulsorder; 26 mVerbosityLevel = verbosityLevel; 27 mRootFile = filename; 28 29 hMaxOverlay = new TH2F*[mMaxPulseOrder]; 30 hEdgeOverlay = new TH2F*[mMaxPulseOrder]; 31 hMaxProfile = new TProfile*[mMaxPulseOrder]; 32 hEdgeProfile = new TProfile*[mMaxPulseOrder]; 33 34 hPixelMax = new TH1F*[mMaxPulseOrder]; 35 hPixelMedian = new TH1F*[mMaxPulseOrder]; 36 hPixelMean = new TH1F*[mMaxPulseOrder]; 37 38 hPixelEdgeMax = new TH1F*[mMaxPulseOrder]; 39 hPixelEdgeMedian = new TH1F*[mMaxPulseOrder]; 40 hPixelEdgeMean = new TH1F*[mMaxPulseOrder]; 41 42 hList = new TObjArray; 43 44 BookPixelHistos(); 45 BookTemplateHistos(); 46 } 12 47 13 48 Pixel::Pixel( … … 19 54 ) 20 55 { 21 mConstructorType = 1; 56 mConstructorType = 1; //important for deletion 0 delete distribution 1 delete TemplateHistos 22 57 mChid = pixelID; 23 58 mStats = stats;
Note:
See TracChangeset
for help on using the changeset viewer.