Error during compilation

Closing this as a duplicate of post: Error in EventAction.cc during compilation of code where discussions is ongoing.