Skip to content

EDAnalyzer is deprecated

Happens at compiling with CMSSW_12_4_0:

>> Checking EDM Class Transients in libCoreObjects.so                                                                                        
/afs/desy.de/group/cms/pool/connorpa/pool/CMSSW_12_4_0/src/Core/Ntupliser/plugins/Ntupliser.cc: In constructor 'Ntupliser::Ntupliser(const edm::ParameterSet&)':
/afs/desy.de/group/cms/pool/connorpa/pool/CMSSW_12_4_0/src/Core/Ntupliser/plugins/Ntupliser.cc:46:43: warning: 'edm::EDAnalyzer::EDAnalyzer()' is deprecated [-Wdeprecated-declarations]
   46 |     primaryvertex_ (new DAS::PrimaryVertex)                                                                                          
      |                                           ^                                                                                          
In file included from /afs/desy.de/group/cms/pool/connorpa/pool/CMSSW_12_4_0/src/Core/Ntupliser/plugins/Ntupliser.h:4,   
                 from /afs/desy.de/group/cms/pool/connorpa/pool/CMSSW_12_4_0/src/Core/Ntupliser/plugins/Ntupliser.cc:6:
/cvmfs/cms.cern.ch/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_4_0/src/FWCore/Framework/interface/EDAnalyzer.h:43:20: note: declared here
   43 |     CMS_DEPRECATED EDAnalyzer();
      |                    ^~~~~~~~~~
@@@@ ----> OK  EDM Class Transients