StAnalysisMaker - a template
1. Rename StAnalysisMaker (e.g. MyTriggerAnalysis)
mv StAnalysisMaker.cxx MyTriggerAnalysis.cxx
mv StAnalysisMaker.h MyTriggerAnalysis.h
change all appearances of the string StAnalysisMaker in the .cxx and .h files to MyTriggerAnalysis.
change also all appearances of StAnalysisMaker in the macro doEvents.C
2. You might also want to rename doEvents.C in something which reflects the fact that it’s now setup to run specifically your stuff.
mv doEvents.C doMyTrigger.C
change all appearances of the name doEvents in the macro to doMyTrigger
And you surely want to plug in your analysis!!!