Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with AngularCorrelation Helper #1509

Closed
Abi-12308 opened this issue Feb 7, 2025 · 14 comments
Closed

Issue with AngularCorrelation Helper #1509

Abi-12308 opened this issue Feb 7, 2025 · 14 comments

Comments

@Abi-12308
Copy link

Hi Vinzenz,
I trying to make angular distribution histograms so I wanted to use "AngularCorrelationHelper.cxx" but when I run it using this command"

"grsiframe /data3/aavaa/S1750/S1750Analysis/Efficiency-cal/analysis12695_000.root /data3/aavaa/S1750/S1750Analysis/Histograms/AngularCorrelationHelper.cxx /data3/SourceCalFile.cal --max-workers=2"

I got the following error message:

/data3/aavaa/S1750/S1750Analysis/Histograms/AngularCorrelationHelper.hh:6:10: fatal error: TGriffinAngles.h: No such file or directory
6 | #include "TGriffinAngles.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to compile source file /data3/aavaa/S1750/S1750Analysis/Histograms/AngularCorrelationHelper.cxx using 'g++ -c -fPIC -g grsi-config --cflags --GRSIData-cflags root-config --cflags --glibs -I/data3/aavaa/S1750/S1750Analysis/Histograms -o /data3/aavaa/S1750/S1750Analysis/Histograms/AngularCorrelationHelper.o /data3/aavaa/S1750/S1750Analysis/Histograms/AngularCorrelationHelper.cxx
'

Aborted (core dumped)
I will appreciate your help so I that I can proceed.

@VinzenzBildstein
Copy link
Member

VinzenzBildstein commented Feb 7, 2025

What is the output of running ls $GRSISYS/GRSIData/include/TGriffinAngles.h?

@Abi-12308
Copy link
Author

What is the output of running ls $GRSISYS/GRSIData/include/TGriffinAngles.h?

aavaa@cryptodon:~/GRSISort$ ls $GRSISYS/GRSIData/include/TGriffinAngles.h
ls: cannot access '/data3/GRSISort/GRSIData/include/TGriffinAngles.h': No such file or directory

@VinzenzBildstein
Copy link
Member

Well, there's your problem. You don't seem to have a current installation of GRSIData.

@Abi-12308
Copy link
Author

I ran into another error when trying to "make" in GRSIDate

avaa@cryptodon:~/GRSISort/GRSIData$ make
Compiling GRSIDataVersion.h [OK]
Compiling .build/libraries/TGRSIAnalysis/TSceptar/TSceptarHit.o[ERROR]
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘bool TSceptarHit::AnalyzeWaveform()’:
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:116:35: error: ‘WaveSize’ was not declared in this scope
116 | for(size_t i = 0; i < 8 && i < WaveSize(); ++i) {
| ^~~~~~~~
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:119:36: error: ‘WaveSize’ was not declared in this scope
119 | for(size_t i = 8; i < 16 && i < WaveSize(); ++i) {
| ^~~~~~~~
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:124:26: error: ‘WaveSize’ was not declared in this scope
124 | for(size_t i = 0; i < WaveSize(); ++i) {
| ^~~~~~~~
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘Int_t TSceptarHit::CalculateCfdAndMonitor(double, unsigned int, int, unsigned int, std::vector&)’:
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:160:33: error: ‘WaveSize’ was not declared in this scope
160 | if(static_cast(WaveSize()) > delay + 1) {
| ^~~~~~~~
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘std::vector TSceptarHit::CalculateSmoothedWaveform(unsigned int)’:
libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:209:75: error: ‘WaveSize’ was not declared in this scope
209 | std::vector<Short_t> smoothedWaveform(std::max(static_cast<size_t>(0), WaveSize() - 2 * halfsmoothingwindow),
| ^~~~~~~~
make: *** [makefile:178: .build/libraries/TGRSIAnalysis/TSceptar/TSceptarHit.o] Error 1

@dayates
Copy link
Contributor

dayates commented Feb 7, 2025

What is the output of running ls $GRSISYS/GRSIData/include/TGriffinAngles.h?

I think this is an issue with how everything is constructed now using cmake. Now with cmake you never get a "GRSIData" directory built within $GRSISYS. Instead you get $GRSISYS/_deps/grsidata-build. But the libraries are still there. If I run your command for instance, I get no such file found either even though GRSIData is installed. But I can load a TGriffinAngles variable within GRSISort just fine:

dyates@dionysus:/data2/dyates/S1750$ ls $GRSISYS/GRSIData/include/TGriffinAngles.h
ls: cannot access '/opt/GRSISort-build/GRSIData/include/TGriffinAngles.h': No such file or directory
dyates@dionysus:/data2/dyates/S1750$ grsisort
	grsisort version 4.0.0.5
	Using library /opt/GRSISort-build/lib/libGRSIData.so version 0.1.1.2


GRSI [0] TGriffinAngles *angles = new TGriffinAngles()
Creating angles for detectors 145 mm from center of array, using addback, not using folding, and not using grouping. Any angles less than 0.001 degrees apart will be considered the same.
(TGriffinAngles *) 0x55ca6bcb9520

@Abi-12308
Copy link
Author

I ran into another error when trying to "make" in GRSIDate

avaa@cryptodon:~/GRSISort/GRSIData$ make Compiling GRSIDataVersion.h [OK] Compiling .build/libraries/TGRSIAnalysis/TSceptar/TSceptarHit.o[ERROR] libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘bool TSceptarHit::AnalyzeWaveform()’: libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:116:35: error: ‘WaveSize’ was not declared in this scope 116 | for(size_t i = 0; i < 8 && i < WaveSize(); ++i) { | ^~~~~~~~ libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:119:36: error: ‘WaveSize’ was not declared in this scope 119 | for(size_t i = 8; i < 16 && i < WaveSize(); ++i) { | ^~~~~~~~ libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:124:26: error: ‘WaveSize’ was not declared in this scope 124 | for(size_t i = 0; i < WaveSize(); ++i) { | ^~~~~~~~ libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘Int_t TSceptarHit::CalculateCfdAndMonitor(double, unsigned int, int, unsigned int, std::vector&)’: libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:160:33: error: ‘WaveSize’ was not declared in this scope 160 | if(static_cast(WaveSize()) > delay + 1) { | ^~~~~~~~ libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx: In member function ‘std::vector TSceptarHit::CalculateSmoothedWaveform(unsigned int)’: libraries/TGRSIAnalysis/TSceptar/TSceptarHit.cxx:209:75: error: ‘WaveSize’ was not declared in this scope 209 | std::vector<Short_t> smoothedWaveform(std::max(static_cast<size_t>(0), WaveSize() - 2 * halfsmoothingwindow), | ^~~~~~~~ make: *** [makefile:178: .build/libraries/TGRSIAnalysis/TSceptar/TSceptarHit.o] Error 1

Could this error be connected to the version of GRSISort (version 4.0.0.3) I am using?

@VinzenzBildstein
Copy link
Member

The include statement for TGriffinAngles.h was added in January 2024. GRSISort 4.0.0.3 is from 2022. It looks like you are mixing different versions of the code. That won't work.

@dayates, if cmake is used, all header files are in $GRSISYS/include, which is always listed as include directory. So TGriffinAngles.h should be found with cmake as well.

@Abi-12308
Copy link
Author

I am still stuck with GRSIData compilation.
Newest version of GRSISort (version 4.0.0.5) has been installed and sources successfully but when I tried to make GRSIData (version 0.1.1.2), I got this error:

aavaa@cryptodon:/data3/GRSISort/GRSIData$ make -j4
Compiling TGriffinBgoHit.o [OK]
Compiling TGriffinBgo.o [OK]
Compiling .build/libraries/TGRSIAnalysis/TGriffin/TGriffin.o[ERROR]
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx: In member function ‘virtual void TGriffin::Print(std::ostream&) const’:
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:249:26: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
249 | for(const auto& hit : Hits()) {
| ^~~~
| fHits
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx: In member function ‘const std::vector<TDetectorHit*>& TGriffin::GetHitVector(const TGriffin::EGainBits&) const’:
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:308:37: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
308 | case EGainBits::kLowGain: return Hits();
| ^~~~
| fHits
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:311:11: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
311 | return Hits();
| ^~~~
| fHits
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx: In member function ‘std::vector<TDetectorHit*>& TGriffin::GetHitVector(const TGriffin::EGainBits&)’:
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:317:37: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
317 | case EGainBits::kLowGain: return Hits();
| ^~~~
| fHits
libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:320:11: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
320 | return Hits();
| ^~~~
| fHits
make: *** [makefile:178: .build/libraries/TGRSIAnalysis/TGriffin/TGriffin.o] Error 1
make: *** Waiting for unfinished jobs....
Compiling .build/libraries/TGRSIAnalysis/TSharc/TSharc.o[ERROR]
libraries/TGRSIAnalysis/TSharc/TSharc.cxx: In member function ‘virtual void TSharc::BuildHits()’:
libraries/TGRSIAnalysis/TSharc/TSharc.cxx:135:26: error: ‘Hits’ was not declared in this scope; did you mean ‘fHits’?
135 | for(auto& fSharcHit : Hits()) {
| ^~~~
| fHits
make: *** [makefile:178: .build/libraries/TGRSIAnalysis/TSharc/TSharc.o] Error 1
Compiling TGriffinAngles.o [OK]
Compiling TGriffinHit.o [OK]

@Abi-12308
Copy link
Author

I should have mentioned that I am using root version "root-6.28.00" , could this be related the version of root I am using?

@VinzenzBildstein
Copy link
Member

This has nothing to do with the ROOT version, but with the GRSISort version you're compiling GRSIData against. Check the output of

grsi-config --incdir

and

grep "Hits()" $GRSISYS/include/TDetector.h

The first command should list the right include directory (if it's the include directory of the old version you haven't source the thisgrsi.sh script of the new version). And the second command should give this output:

   virtual void BuildHits() { AbstractMethod("BuildHits()"); }   //!<!
   virtual bool                              NoHits() const { return fHits.empty(); }
   std::vector<TDetectorHit*>&       Hits() { return fHits; }
   const std::vector<TDetectorHit*>& Hits() const { return fHits; }

If it doesn't, check that you actually have the newest version installed.

@Abi-12308
Copy link
Author

Thank you, Vinzenz.
I have installed the newest version of GRSISort with GRSIData, all seems to be working fine now. But when I tried making histograms with the angular correlation helper using my old analysis trees, I got errors. So I decide to unpacked the midas files again. However, I still got the same error. The ExampleEventHelper worked perfectly well, though.

See the error below:

aavaa@cryptodon:/data3/aavaa/S1750/S1750Analysis/Histograms$ grsiframe analysis12630_000.root /data3/GRSISort/examples/AngularCorrelationHelper.cxx /data3/GRSISort/examples/AngularCorrelation.par --max-workers=2
Using library /data3/GRSISort/GRSIData/lib/libGRSIData.so version 0.1.1.2
redirecting stdout to AngularCorrelation12630_000.log

*** Break *** segmentation violation

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

Thread 2 (Thread 0x738035e00640 (LWP 1116675) "grsiframe"):
#0 0x00007385aefe6dcd in ?? () from /usr/lib/x86_64-linux-gnu/libz.so.1
#1 0x00007385aeff12ef in inflate () from /usr/lib/x86_64-linux-gnu/libz.so.1
#2 0x00007385b17c2032 in R__unzip () from /home/aavaa/root/root-6.28.04-install/lib/libCore.so
#3 0x00007385b06f4a24 in TBasket::ReadBasketBuffers(long long, int, TFile*) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#4 0x00007385b06ffbbc in TBranch::GetBasketImpl(int, TBuffer*) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#5 0x00007385b070131d in TBranch::GetBasketAndFirst(TBasket*&, long long&, TBuffer*) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#6 0x00007385b070152d in TBranch::GetEntry(long long, int) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#7 0x00007385b0714485 in TBranchElement::GetEntry(long long, int) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#8 0x00007385b0714438 in TBranchElement::GetEntry(long long, int) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#9 0x00007385b0714438 in TBranchElement::GetEntry(long long, int) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#10 0x00007385b0714438 in TBranchElement::GetEntry(long long, int) () from /home/aavaa/root/root-6.28.04-install/lib/libTree.so
#11 0x00007385b05b0695 in ROOT::Internal::TTreeReaderValueBase::EReadStatus ROOT::Internal::TTreeReaderValueBase::ProxyReadTemplate<&ROOT::Detail::TBranchProxy::ReadNoParentNoBranchCountNoCollection>() () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#12 0x00007385b05ac987 in ROOT::Internal::TTreeReaderValueBase::GetAddress() () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#13 0x000073858ebdb44e in TTreeReaderValue::Get (this=0x73803002d130) at /home/aavaa/root/root-6.28.04-install/include/TTreeReaderValue.h:168
#14 0x000073858ebda7c2 in ROOT::Internal::RDF::RTreeColumnReader::GetImpl (this=0x73803002d110) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RTreeColumnReader.hxx:33
#15 0x000073858ebd2e76 in ROOT::Detail::RDF::RColumnReaderBase::Get (this=0x73803002d110, entry=998181) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RColumnReaderBase.hxx:38
#16 0x000073858ebd1fe5 in ROOT::Internal::RDF::RAction<AngularCorrelationHelper, ROOT::Detail::RDF::RLoopManager, ROOT::TypeTraits::TypeList<TGriffin, TGriffinBgo> >::CallExec<TGriffin, TGriffinBgo, 0ul, 1ul> (this=0x5fe2abf4f910, slot=0, entry=998181) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RAction.hxx:105
#17 0x000073858ebd13b0 in ROOT::Internal::RDF::RAction<AngularCorrelationHelper, ROOT::Detail::RDF::RLoopManager, ROOT::TypeTraits::TypeList<TGriffin, TGriffinBgo> >::Run (this=0x5fe2abf4f910, slot=0, entry=998181) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RAction.hxx:113
#18 0x00007385afee7132 in ROOT::Detail::RDF::RLoopManager::RunAndCheckFilters(unsigned int, long long) () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#19 0x00007385afeedebc in ROOT::Detail::RDF::RLoopManager::RunTreeProcessorMT()::{lambda(TTreeReader&)#1}::operator()(TTreeReader&) const () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#20 0x00007385b05bd987 in std::_Function_handler<void (unsigned int), ROOT::TThreadExecutor::Foreach<ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}::operator()(unsigned long) const::{lambda(std::pair<long long, long long> const&)#1}, std::pair<long long, long long> >(ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}::operator()(unsigned long) const::{lambda(std::pair<long long, long long> const&)#1}, std::vector<std::pair<long long, long long>, std::allocator<std::pair<long long, long long> > > const&, unsigned int)::{lambda(unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&) () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#21 0x00007385b1514284 in tbb::interface9::internal::start_for<tbb::blocked_range, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>::execute() () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#22 0x00007385aeefac15 in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::process_bypass_loop (this=this
entry=0x73858efd3e00, context_guard=..., t=0x73858efdb640, isolation=isolation
entry=0) at ../../src/tbb/custom_scheduler.h:469
#23 0x00007385aeefaf5c in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::local_wait_for_all (this=0x73858efd3e00, parent=..., child=) at ../../src/tbb/custom_scheduler.h:631
#24 0x00007385aeef4b37 in tbb::internal::arena::process (this=0x73858efefa00, s=...) at ../../src/tbb/arena.cpp:152
#25 0x00007385aeef3388 in tbb::internal::market::process (this=0x73858eff7580, j=...) at ../../src/tbb/market.cpp:667
#26 0x00007385aeeefa10 in tbb::internal::rml::private_worker::run (this=0x7385a5b14100) at ../../src/tbb/private_server.cpp:266
#27 0x00007385aeeefc7d in tbb::internal::rml::private_worker::thread_routine (arg=) at ../../src/tbb/private_server.cpp:219
#28 0x00007385aec94ac3 in start_thread (arg=) at ./nptl/pthread_create.c:442
#29 0x00007385aed26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7385ae2e32c0 (LWP 1116564) "grsiframe"):
#0 0x00007385aecea42f in __GI___wait4 (pid=1116678, stat_loc=stat_loc
entry=0x7fff2bd92758, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1 0x00007385aecea3ab in __GI___waitpid (pid=, stat_loc=stat_loc
entry=0x7fff2bd92758, options=options
entry=0) at ./posix/waitpid.c:38
#2 0x00007385aec50bdb in do_system (line=) at ../sysdeps/posix/system.c:171
#3 0x00007385b1833284 in TUnixSystem::StackTrace() () from /home/aavaa/root/root-6.28.04-install/lib/libCore.so
#4 0x00007385b18305b5 in TUnixSystem::DispatchSignals(ESignals) () from /home/aavaa/root/root-6.28.04-install/lib/libCore.so
#5
#6 0x00007385aeca53fe in __GI___libc_free (mem=0x9999999999999999) at ./malloc/malloc.c:3368
#7 0x000073858f238b27 in __gnu_cxx::new_allocator<TDetectorHit*>::deallocate (__t=, __p=, this=0x5fe2b028db18) at /usr/include/c++/11/ext/new_allocator.h:132
#8 std::allocator_traits<std::allocator<TDetectorHit*> >::deallocate (__n=, __p=, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:496
#9 std::_Vector_base<TDetectorHit*, std::allocator<TDetectorHit*> >::_M_deallocate (__n=, __p=, this=0x5fe2b028db18) at /usr/include/c++/11/bits/stl_vector.h:354
#10 std::vector<TDetectorHit*, std::allocator<TDetectorHit*> >::_M_fill_insert (this=this
entry=0x5fe2b028db18, __position=<error reading variable: Cannot access memory at address 0x9999999999999999>, __n=, __x=
0x7fff2bd953b0: 0x0) at /usr/include/c++/11/bits/vector.tcc:598
#11 0x000073858f2374ca in std::vector<TDetectorHit*, std::allocator<TDetectorHit*> >::resize (__x=
0x7fff2bd953b0: 0x0, __new_size=, this=0x5fe2b028db18) at /usr/include/c++/11/bits/stl_vector.h:960
#12 TGriffin::Copy (this=0x5fe2af17bbe0, rhs=...) at libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:131
#13 0x00007385b20e3df4 in TDetector::TDetector (this=this
entry=0x5fe2b028daf0, rhs=...) at libraries/TFormat/TDetector.cxx:7
#14 0x000073858f234976 in TSuppressed::TSuppressed (this=0x5fe2b028daf0) at /data3/GRSISort/include/TSuppressed.h:24
#15 TGriffin::TGriffin (this=0x5fe2b028daf0, rhs=...) at libraries/TGRSIAnalysis/TGriffin/TGriffin.cxx:119
#16 0x000073858ebb56a5 in AngularCorrelationHelper::Exec (this=0x5fe2abf4f9a8, slot=1, fGriffin=..., fGriffinBgo=...) at /data3/GRSISort/examples/AngularCorrelationHelper.cxx:94
#17 0x000073858ebd2033 in ROOT::Internal::RDF::RAction<AngularCorrelationHelper, ROOT::Detail::RDF::RLoopManager, ROOT::TypeTraits::TypeList<TGriffin, TGriffinBgo> >::CallExec<TGriffin, TGriffinBgo, 0ul, 1ul> (this=0x5fe2abf4f910, slot=1, entry=0) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RAction.hxx:105
#18 0x000073858ebd13b0 in ROOT::Internal::RDF::RAction<AngularCorrelationHelper, ROOT::Detail::RDF::RLoopManager, ROOT::TypeTraits::TypeList<TGriffin, TGriffinBgo> >::Run (this=0x5fe2abf4f910, slot=1, entry=0) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RDF/RAction.hxx:113
#19 0x00007385afee7132 in ROOT::Detail::RDF::RLoopManager::RunAndCheckFilters(unsigned int, long long) () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#20 0x00007385afeedebc in ROOT::Detail::RDF::RLoopManager::RunTreeProcessorMT()::{lambda(TTreeReader&)#1}::operator()(TTreeReader&) const () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#21 0x00007385b05bd987 in std::_Function_handler<void (unsigned int), ROOT::TThreadExecutor::Foreach<ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}::operator()(unsigned long) const::{lambda(std::pair<long long, long long> const&)#1}, std::pair<long long, long long> >(ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}::operator()(unsigned long) const::{lambda(std::pair<long long, long long> const&)#1}, std::vector<std::pair<long long, long long>, std::allocator<std::pair<long long, long long> > > const&, unsigned int)::{lambda(unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&) () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#22 0x00007385b1514284 in tbb::interface9::internal::start_for<tbb::blocked_range, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>::execute() () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#23 0x00007385aeefac15 in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::process_bypass_loop (this=this
entry=0x73858efe7200, context_guard=..., t=0x73858efdb940, isolation=isolation
entry=140733929053728) at ../../src/tbb/custom_scheduler.h:469
#24 0x00007385aeefaf5c in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::local_wait_for_all (this=0x73858efe7200, parent=..., child=) at ../../src/tbb/custom_scheduler.h:631
#25 0x00007385aeef8828 in tbb::internal::generic_scheduler::local_spawn_root_and_wait (this=0x73858efe7200, first=0x73858efdb940, next=
0x73858efdb938: 0x0) at ../../src/tbb/scheduler.cpp:734
#26 0x00007385b151248e in void tbb::strict_ppl::parallel_for_impl<unsigned int, std::function<void (unsigned int)>, tbb::auto_partitioner const>(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&, tbb::auto_partitioner const&) [clone .part.0] [clone .isra.0] () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#27 0x00007385aeef4e39 in tbb::interface7::internal::isolate_within_arena (d=warning: RTTI symbol not found for class 'tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1}::operator()() const::{lambda()#1} const, void>'
#28 0x00007385b1511f45 in tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1} const, void>::operator()() const () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#29 0x00007385aeef60be in tbb::interface7::internal::task_arena_base::internal_execute (this=0x5fe2ae3a21b0, d=warning: RTTI symbol not found for class 'tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1} const, void>'
#30 0x00007385b15137df in ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&) () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#31 0x00007385b05c0ab8 in std::_Function_handler<void (unsigned int), ROOT::TThreadExecutor::Foreach<ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}, unsigned long>(ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>)::{lambda(unsigned long)#2}, std::vector<unsigned long, std::allocator >&, unsigned int)::{lambda(unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&) () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#32 0x00007385b1513f63 in tbb::interface9::internal::start_for<tbb::blocked_range, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>::execute() () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#33 0x00007385aeefac15 in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::process_bypass_loop (this=this
entry=0x73858efe7200, context_guard=..., t=0x73858efdbb40, isolation=isolation
entry=140733929055744) at ../../src/tbb/custom_scheduler.h:469
#34 0x00007385aeefaf5c in tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::local_wait_for_all (this=0x73858efe7200, parent=..., child=) at ../../src/tbb/custom_scheduler.h:631
#35 0x00007385aeef8828 in tbb::internal::generic_scheduler::local_spawn_root_and_wait (this=0x73858efe7200, first=0x73858efdbb40, next=
0x73858efdbb38: 0x0) at ../../src/tbb/scheduler.cpp:734
#36 0x00007385b151248e in void tbb::strict_ppl::parallel_for_impl<unsigned int, std::function<void (unsigned int)>, tbb::auto_partitioner const>(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&, tbb::auto_partitioner const&) [clone .part.0] [clone .isra.0] () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#37 0x00007385aeef4e39 in tbb::interface7::internal::isolate_within_arena (d=warning: RTTI symbol not found for class 'tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1}::operator()() const::{lambda()#1} const, void>'
#38 0x00007385b1511f45 in tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1} const, void>::operator()() const () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#39 0x00007385aeef60be in tbb::interface7::internal::task_arena_base::internal_execute (this=0x5fe2ae3a21b0, d=warning: RTTI symbol not found for class 'tbb::interface7::internal::delegated_function<ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&)::{lambda()#1} const, void>'
#40 0x00007385b15137df in ROOT::TThreadExecutor::ParallelFor(unsigned int, unsigned int, unsigned int, std::function<void (unsigned int)> const&) () from /home/aavaa/root/root-6.28.04-install/lib/libImt.so
#41 0x00007385b05c1698 in ROOT::TTreeProcessorMT::Process(std::function<void (TTreeReader&)>) () from /home/aavaa/root/root-6.28.04-install/lib/libTreePlayer.so
#42 0x00007385afef350a in ROOT::Detail::RDF::RLoopManager::RunTreeProcessorMT() () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#43 0x00007385afef4335 in ROOT::Detail::RDF::RLoopManager::Run(bool) () from /home/aavaa/root/root-6.28.04-install/lib/libROOTDataFrame.so
#44 0x00007385b2120a15 in ROOT::RDF::RResultPtr<std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, TList, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, TList> > > >::TriggerRun (this=0x7fff2bd97600) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RResultPtr.hxx:360
#45 ROOT::RDF::RResultPtr<std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, TList, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, TList> > > >::Get (this=0x7fff2bd97600) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RResultPtr.hxx:154
#46 ROOT::RDF::RResultPtr<std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, TList, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, TList> > > >::operator* (this=0x7fff2bd97600) at /home/aavaa/root/root-6.28.04-install/include/ROOT/RResultPtr.hxx:208
#47 TGRSIFrame::Run (this=this
entry=0x7fff2bd975e0, redirect=
0x7fff2bd97558: 0x0) at libraries/TFormat/TGRSIFrame.cxx:160
#48 0x00005fe273e31030 in main (argc=, argv=) at util/grsiframe.cxx:97

@Abi-12308
Copy link
Author

AngularCorrelation12632_000.log

Here is the log file.

@VinzenzBildstein
Copy link
Member

That looks exactly like the error in #1501. I've just merged the changes removing the high gain hits from TGriffin into GRSIData.

@Abi-12308
Copy link
Author

That looks exactly like the error in #1501. I've just merged the changes removing the high gain hits from TGriffin into GRSIData.

Thank you Vinzenz, I re-installed the GRSIData again and all seems to work fine now. The only thing is that I will have to create new analysis trees because when I tried with the ones I made with the old version of GRSISort, it gave me some errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants