]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/macros/PeakFinder/readpf.C
suggestion by Chiara to add TestPreprocessor macro to svn
[u/mrichter/AliRoot.git] / EMCAL / macros / PeakFinder / readpf.C
CommitLineData
a6a61f43 1
2void readpf()
3{
4 cout << "HELLO WORLD" << endl;
5 TFile *f = new TFile("peakfindervectors2.root", "read");
6
7 // f->ls();
8 // f->Print();
9 // AliCaloRawAnalyzerPeakFinder *p = (AliCaloRawAnalyzerPeakFinder*)f->GetKey("AliCaloRawAnalyzerPeakFinder");
10
11 AliCaloPeakFinderVectors *p = f->Get("AliCaloPeakFinderVectors");
12
13 if ( p == 0 )
14 {
15 cout << "ERROR, P == 0" << endl;
16 }
17 else
18 {
19 cout << "INFO, p = "<< p << endl;
20 p->PrintVectors();
21 }
22
23 cout << endl << "********** !!!!!!!!!!!!!! " << endl;
24
25
26 // AliCaloRawAnalyzerPeakFinder *p2 = new AliCaloRawAnalyzerPeakFinder();
27 // p2->PrintVectors();
28}
29
30