Skip to content

Commit

Permalink
Fix includes of ESDaqInfoTask.h
Browse files Browse the repository at this point in the history
We need to include ESElectronicsMapper.h because we access the
ESElectronicsMapper in the `getFedNumber` method of this file.

We also forward declare DQMStore and MonitorElement because we
have pointers to those classes as member variables.
  • Loading branch information
Teemperor committed Jun 16, 2017
1 parent ede1923 commit ec6e3b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DQM/EcalPreshowerMonitorModule/interface/ESDaqInfoTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"

//class ESElectronicsMapper;
#include "Geometry/EcalMapping/interface/ESElectronicsMapper.h" // definition in line 75

class DQMStore;
class MonitorElement;

class ESDaqInfoTask: public edm::EDAnalyzer{

public:
Expand Down

0 comments on commit ec6e3b4

Please sign in to comment.