Hi All,
I have been trying to read a TCutG object from a root file and then apply it as a condition in the member function Process() for each entry. However, I found that in the function Begin(), the TCutG pointer is recognized while in Process() it is not (it is always a null ponter here). Can someone help solve this problem? Thanks a lot!
The associated files are attached below. The TCutG object I wanted to use is blob53 which is saved in XBlobs.root .
XSelector.C (3.5 KB)
XSelector.h (29.5 KB)