I have made a DemoAnalyzer package using mkedanlzr command and I am compiling the files using scram b.
Here’s the error/warning I am getting. I am unable to access any root file because of this.
/code/CMSSW_10_6_30/src/Demo/DemoAnalyzer/plugins/DemoAnalyzer.cc:103:20: warning: unused variable ‘track’ [-Wunused-variable]
for(const auto& track : iEvent.get(tracksToken_) ) {