diff --git a/dataClasses/AEvent.cpp b/dataClasses/AEvent.cpp index 0f8949fcf121de377bbda0302a5de6d1e8c5d652..71bf043bc278cf9a20e891657c2320989dceb2a9 100644 --- a/dataClasses/AEvent.cpp +++ b/dataClasses/AEvent.cpp @@ -198,10 +198,14 @@ void AEvent::FindFrontProperties() { fTime90 = time; time = time - timeStep; } +// cout << "Found time90 " << fTime90 << endl; + +// cout<< "Time90 - time10 "<< fTime90 - fTime10 << endl; +// if(fTime90 - fTime10 == 0.25 ) { cout<< "Zero !!"<SetRange(fTime10,fTime90); - fGraphSignal->Fit(fit1,"RQN","goff"); + fGraphSignal->Fit(fit1,"RQ","goff"); fEdgeSlope = fit1->GetParameter(1); delete fit1; diff --git a/macros/analyse.C b/macros/analyse.C index 02d13c606c53fb1015ddb2376d565ea1d418294f..62b79d7d6b027702d07138d334de492bfc6ac966 100644 --- a/macros/analyse.C +++ b/macros/analyse.C @@ -1,3 +1,8 @@ +// now raw .root to analyzed .root conversion +// is taking place in +// ./convertRawToAnalyzed/analyse.cpp +// it is compiled within makefile + void analyse() { gSystem->Load("../libData.so"); diff --git a/macros/testShowGraphs.cxx b/macros/testShowGraphs.cxx index 44c781f06cd9784bbc2c6db2feb93befe42b7de6..270b6e7e927102fcc2990781d4222a50ee1532dc 100644 --- a/macros/testShowGraphs.cxx +++ b/macros/testShowGraphs.cxx @@ -3,11 +3,11 @@ void testShowGraphs() gSystem->Load("../libData.so"); - const Long64_t kFirstEvent = 128; + const Long64_t kFirstEvent = 50; // TFile fr("../data/dataDSR4/analysis_07_1.root"); -// TFile fr("../data/dataDSR4/analysis_07_8.root"); - TFile fr("../data/dataTektronix/analysisExp7.root"); + TFile fr("../data/dataDSR4/analysis_07_8.root"); +// TFile fr("../data/dataTektronix/analysisExp7.root"); TTree *tr = (TTree*)fr.Get("atree"); AEvent *revent = new AEvent(); @@ -15,22 +15,22 @@ void testShowGraphs() TGraph *gr[10]; - cout << "warning" << endl; +// cout << "warning" << endl; cout << tr->GetEntries() << endl; //loop over events for (Long64_t i = 0; i < 10; i++) { gr[i] = 0; - cout << "warning 1" << endl; +// cout << "warning 1" << endl; cout << i+kFirstEvent << endl; -// tr->GetEntry(i+kFirstEvent); - tr->GetEntry(i); - cout << "warning 2" << endl; + tr->GetEntry(i+kFirstEvent); +// tr->GetEntry(i); +// cout << "warning 2" << endl; gr[i] = new TGraph(*revent->GetGraphSignal()); }//for over events - cout << "warning 3" << endl; +// cout << "warning 3" << endl; TCanvas *c1 = new TCanvas("c1","test",10,10,1000,600); c1->Divide(3,2);