Changeset 13855 for fact/tools
- Timestamp:
- 05/24/12 02:24:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.C
r13784 r13855 20 20 float bSLMean, 21 21 float gainMean, 22 TFile* filename 22 TFile* filename, 23 TFile* outfilename 23 24 ) 24 25 { … … 35 36 mGainMean = gainMean; 36 37 mRootFile = filename; 38 mOutRootFile = outfilename; 37 39 38 40 hMaxOverlay = new TH2F*[mMaxPulseOrder]; … … 165 167 pixelCanvas[pulse_order]->cd( histoFrameNr[2] ); 166 168 hMaxProfile[pulse_order]->Draw(); 167 hEdgeProfile[pulse_order]->Draw("SAME");168 169 169 170 pixelCanvas[pulse_order]->cd( histoFrameNr[1] ); 170 171 hEdgeOverlay[pulse_order]->Draw("COLZ"); 172 pixelCanvas[pulse_order]->cd( histoFrameNr[3] ); 173 hEdgeProfile[pulse_order]->Draw(); 171 174 } 172 175 } … … 265 268 void 266 269 Pixel::SavePixelHistograms( 267 TString outRootFileName,270 TString outRootFileName, 268 271 bool saveResults 269 272 ) … … 281 284 // end of SavePixelHistograms 282 285 //---------------------------------------------------------------------------- 283 284 285 286 286 287 TString … … 683 684 Pixel::LoadPulseHistos() 684 685 { 685 if (mVerbosityLevel > 1) 686 { 687 mRootFile->ls(); 688 cout << "Current File: " ; 686 mRootFile->cd(); 687 688 if (mVerbosityLevel > 2) 689 { 690 if (mVerbosityLevel > 3) 691 { 692 mRootFile->ls(); 693 } 694 cout << "loading current File: " ; 689 695 gFile->pwd(); 690 696 } … … 693 699 mDirectory = gDirectory; 694 700 695 if (mVerbosityLevel > 1) 696 { 701 if (mVerbosityLevel > 2) 702 { 703 if (mVerbosityLevel > 3) 704 { 705 gDirectory->ls(); 706 } 697 707 cout << "Current Directory: " ; 698 gDirectory-> ls();708 gDirectory->pwd(); 699 709 } 700 710 … … 717 727 if (mVerbosityLevel > 3) cout << "\t...loading " << HistoName("hMaxProfile", order) << endl; 718 728 hMaxProfile[order] = (TProfile*)mDirectory->Get( ChooseCycleNumber( HistoName("hMaxProfile", order), 1) ); 719 cout << "histoname: " << HistoName("hMaxProfile", order) 720 << "histoname: " << ChooseCycleNumber( HistoName("hMaxProfile", order), 1) 721 << "histoname: " << hMaxProfile[order]; 729 722 730 if (mVerbosityLevel > 3) cout << "\t...loading " << HistoName("hEdgeProfile", order) << endl; 723 731 hEdgeProfile[order] = (TProfile*)mDirectory->Get( ChooseCycleNumber( HistoName("hEdgeProfile", order), 1) ); … … 912 920 if (mVerbosityLevel > 3) 913 921 cout << endl << "\t\t...deleting hPixelEdgeMax" 914 << mChid << "_" << order 915 << " hPixelEdgeMax[order] adr " << hPixelEdgeMax[order] 916 << " hPixelEdgeMax adr " << hPixelEdgeMax 917 ; 922 << mChid << "_" << order; 918 923 919 924 delete hPixelEdgeMax[order];
Note:
See TracChangeset
for help on using the changeset viewer.